vitallocator 0.1.1

A Rust allocator interface to the PS Vita kernel allocator
Build #116668 2018-09-12T10:30:12.234957+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 vitallocator v0.1.1
Compiling psp2-sys v0.2.2
Running `rustc --crate-name psp2_sys .cargo/registry/src/github.com-1ecc6299db9ec823/psp2-sys-0.2.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="dox"' --cfg 'feature="default"' -C metadata=f213561de20a63eb -C extra-filename=-f213561de20a63eb --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Documenting vitallocator v0.1.1
Running `rustdoc --crate-name vitallocator .cargo/registry/src/github.com-1ecc6299db9ec823/vitallocator-0.1.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="psp2-sys"' -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern psp2_sys=/home/cratesfyi/cratesfyi/debug/deps/libpsp2_sys-f213561de20a63eb.rlib --extern-version psp2_sys=psp2-sys,0.2.2`
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/vitallocator-0.1.1/src/lib.rs:74:5
|
74 |     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 Vitallocator, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut Vitallocator, 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/vitallocator-0.1.1/src/lib.rs:120:5
|
120 |     unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: Layout) {
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `core::alloc::Opaque`, found u8
|
= note: expected type `unsafe fn(&mut Vitallocator, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout)`
found type `unsafe fn(&mut Vitallocator, core::ptr::NonNull<u8>, core::alloc::Layout)`

error: Compilation failed, aborting rustdoc

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