wee_alloc 0.4.2

wee_alloc: The Wasm-Enabled, Elfin Allocator
Build #108866 2018-07-16T22:46:43.598526+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 wee_alloc v0.4.2
Fresh libc v0.2.42
Fresh cfg-if v0.1.4
Fresh void v1.0.2
Fresh memory_units v0.4.0
Compiling wee_alloc v0.4.2
Fresh unreachable v1.0.0
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.2/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="size_classes"' --cfg 'feature="default"' -C metadata=1b85eed29a0a73e3 -C extra-filename=-1b85eed29a0a73e3 --out-dir /home/cratesfyi/cratesfyi/debug/build/wee_alloc-1b85eed29a0a73e3 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/wee_alloc-1b85eed29a0a73e3/build-script-build`
Documenting wee_alloc v0.4.2
Running `rustdoc --crate-name wee_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="size_classes"' --cfg 'feature="default"' -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern unreachable=/home/cratesfyi/cratesfyi/debug/deps/libunreachable-b9c7c97cb1bf6717.rlib --extern-version unreachable=unreachable,1.0.0 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-fbdcb682eae2cb1f.rlib --extern-version libc=libc,0.2.42 --extern cfg_if=/home/cratesfyi/cratesfyi/debug/deps/libcfg_if-b5c999fa6e33056f.rlib --extern-version cfg_if=cfg-if,0.1.4 --extern memory_units=/home/cratesfyi/cratesfyi/debug/deps/libmemory_units-4e938f499b65b6d2.rlib --extern-version memory_units=memory_units,0.4.0`
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.2/src/lib.rs:1078:5
|
1078 |     unsafe fn alloc(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocErr> {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&mut &'b WeeAlloc<'a>, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut &'b WeeAlloc<'a>, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<u8>, core::alloc::AllocErr>`

error[E0053]: method `dealloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.2/src/lib.rs:1101:5
|
1101 |     unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: Layout) {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&mut &'b WeeAlloc<'a>, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout)`
found type `unsafe fn(&mut &'b WeeAlloc<'a>, core::ptr::NonNull<u8>, core::alloc::Layout)`

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

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

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `wee_alloc`.,
cause: process didn't exit successfully: `rustdoc --crate-name wee_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg feature="size_classes" --cfg feature="default" -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern unreachable=/home/cratesfyi/cratesfyi/debug/deps/libunreachable-b9c7c97cb1bf6717.rlib --extern-version unreachable=unreachable,1.0.0 --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-fbdcb682eae2cb1f.rlib --extern-version libc=libc,0.2.42 --extern cfg_if=/home/cratesfyi/cratesfyi/debug/deps/libcfg_if-b5c999fa6e33056f.rlib --extern-version cfg_if=cfg-if,0.1.4 --extern memory_units=/home/cratesfyi/cratesfyi/debug/deps/libmemory_units-4e938f499b65b6d2.rlib --extern-version memory_units=memory_units,0.4.0` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.