jemallocator 0.1.9

A Rust allocator backed by jemalloc
Documentation
Build #107597 2018-07-04T14:48:56.822020+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading jemallocator v0.1.9
Fresh libc v0.2.42
Fresh cc v1.0.17
Fresh fs_extra v1.1.0
Compiling jemalloc-sys v0.1.7
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.1.7/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="bg_thread"' -C metadata=a16631661afc72fd -C extra-filename=-a16631661afc72fd --out-dir /home/cratesfyi/cratesfyi/debug/build/jemalloc-sys-a16631661afc72fd -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern fs_extra=/home/cratesfyi/cratesfyi/debug/deps/libfs_extra-f7ac1c0871015e9c.rlib --extern-version fs_extra=fs_extra,1.1.0 --extern cc=/home/cratesfyi/cratesfyi/debug/deps/libcc-afaa8787c790755d.rlib --extern-version cc=cc,1.0.17 --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/jemalloc-sys-a16631661afc72fd/build-script-build`
Running `rustc --crate-name jemalloc_sys .cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.1.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="bg_thread"' -C metadata=1d4be78aba6cca29 -C extra-filename=-1d4be78aba6cca29 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-20ec46e507fb9197.rlib --extern-version libc=libc,0.2.42 --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/jemalloc-sys-8d728bda951cf496/out/build/lib --cfg prefixed -l static=jemalloc_pic -l pthread`
Documenting jemallocator v0.1.9
Running `rustdoc --crate-name jemallocator .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="jemalloc-sys"' --cfg 'feature="default"' --cfg 'feature="bg_thread"' -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-20ec46e507fb9197.rlib --extern-version libc=libc,0.2.42 --extern jemalloc_sys=/home/cratesfyi/cratesfyi/debug/deps/libjemalloc_sys-1d4be78aba6cca29.rlib --extern-version jemalloc_sys=jemalloc-sys,0.1.7`
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:27:19
|
27 | use core::alloc::{GlobalAlloc, Layout};
|                   ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:27:32
|
27 | use core::alloc::{GlobalAlloc, Layout};
|                                ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:74:5
|
74 | /     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
75 | |         let flags = layout_to_flags(layout.align(), layout.size());
76 | |         let ptr = ffi::mallocx(layout.size(), flags);
77 | |         ptr as *mut u8
78 | |     }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:81:5
|
81 | /     unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
82 | |         let ptr = if layout.align() <= MIN_ALIGN && layout.align() <= layout.size() {
83 | |             ffi::calloc(1, layout.size())
84 | |         } else {
...  |
88 | |         ptr as *mut u8
89 | |     }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:92:5
|
92 | /     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
93 | |         let flags = layout_to_flags(layout.align(), layout.size());
94 | |         ffi::sdallocx(ptr as *mut c_void, layout.size(), flags)
95 | |     }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:98:5
|
98  | /     unsafe fn realloc(&self,
99  | |                       ptr: *mut u8,
100 | |                       layout: Layout,
101 | |                       new_size: usize) -> *mut u8 {
...   |
104 | |         ptr as *mut u8
105 | |     }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:72:13
|
72 | unsafe impl GlobalAlloc for Jemalloc {
|             ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:74:36
|
74 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
|                                    ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:81:43
|
81 |     unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
|                                           ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:92:52
|
92 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
|                                                    ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:100:31
|
100 |                       layout: Layout,
|                               ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable

error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:74:5
|
74 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&Jemalloc, core::alloc::Layout) -> *mut core::alloc::Opaque`
found type `unsafe fn(&Jemalloc, core::alloc::Layout) -> *mut u8`

error[E0053]: method `alloc_zeroed` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:81:5
|
81 |     unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&Jemalloc, core::alloc::Layout) -> *mut core::alloc::Opaque`
found type `unsafe fn(&Jemalloc, core::alloc::Layout) -> *mut u8`

error[E0053]: method `dealloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:92:5
|
92 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&Jemalloc, *mut core::alloc::Opaque, core::alloc::Layout)`
found type `unsafe fn(&Jemalloc, *mut u8, core::alloc::Layout)`

error[E0053]: method `realloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs:98:5
|
98  | /     unsafe fn realloc(&self,
99  | |                       ptr: *mut u8,
100 | |                       layout: Layout,
101 | |                       new_size: usize) -> *mut u8 {
...   |
104 | |         ptr as *mut u8
105 | |     }
| |_____^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&Jemalloc, *mut core::alloc::Opaque, core::alloc::Layout, usize) -> *mut core::alloc::Opaque`
found type `unsafe fn(&Jemalloc, *mut u8, core::alloc::Layout, usize) -> *mut u8`

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `jemallocator`.,
cause: process didn't exit successfully: `rustdoc --crate-name jemallocator .cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.1.9/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg feature="jemalloc-sys" --cfg feature="default" --cfg feature="bg_thread" -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-20ec46e507fb9197.rlib --extern-version libc=libc,0.2.42 --extern jemalloc_sys=/home/cratesfyi/cratesfyi/debug/deps/libjemalloc_sys-1d4be78aba6cca29.rlib --extern-version jemalloc_sys=jemalloc-sys,0.1.7` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.