linked_list_allocator 0.6.3

Simple allocator usable for no_std systems. It builds a linked list from the freed blocks and thus needs no additional data structures.
Build #108041 2018-07-09T09:46:08.265836+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 linked_list_allocator v0.6.3
Fresh spin v0.4.8
Documenting linked_list_allocator v0.6.3
Running `rustdoc --crate-name linked_list_allocator .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.3/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="default"' --cfg 'feature="spin"' --cfg 'feature="use_spin"' -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern spin=/home/cratesfyi/cratesfyi/debug/deps/libspin-e32c438fac4f2071.rlib --extern-version spin=spin,0.4.8`
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.3/src/lib.rs:134:5
|
134 |     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 Heap, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut Heap, 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/linked_list_allocator-0.6.3/src/lib.rs:138:5
|
138 |     unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: Layout) {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&mut Heap, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout)`
found type `unsafe fn(&mut Heap, core::ptr::NonNull<u8>, core::alloc::Layout)`

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

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

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `linked_list_allocator`.,
cause: process didn't exit successfully: `rustdoc --crate-name linked_list_allocator .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.3/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg feature="default" --cfg feature="spin" --cfg feature="use_spin" -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern spin=/home/cratesfyi/cratesfyi/debug/deps/libspin-e32c438fac4f2071.rlib --extern-version spin=spin,0.4.8` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.