alloc-cortex-m 0.3.5

A heap allocator for Cortex-M processors
Build #106047 2018-06-20 00:34:13

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# 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 alloc-cortex-m v0.3.5 Compiling linked_list_allocator v0.6.2 Fresh volatile-register v0.1.2 Fresh cortex-m v0.1.7 Running `rustc --crate-name linked_list_allocator .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ae8d85787bcaed96 -C extra-filename=-ae8d85787bcaed96 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` error[E0053]: method `alloc` has an incompatible type for trait --> .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.2/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.2/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: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0053`. thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not compile `linked_list_allocator`., cause: process didn't exit successfully: `rustc --crate-name linked_list_allocator .cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ae8d85787bcaed96 -C extra-filename=-ae8d85787bcaed96 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.