libreal 0.14.1

Utility library for programmers working in the real world, where heap allocation can fail
Build #103835 2018-06-06T07:42:28.574735+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
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Fresh heap v0.1.0
Compiling rel v0.1.2
Fresh void v1.0.2
Compiling typenum v1.10.0
Fresh rel v0.2.0
Fresh siphasher v0.2.2
Compiling loca v0.5.4
Running `rustc --crate-name rel .cargo/registry/src/github.com-1ecc6299db9ec823/rel-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=24d5c1245e0643ff -C extra-filename=-24d5c1245e0643ff --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name loca .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2f84c5ec8e1ae7a0 -C extra-filename=-2f84c5ec8e1ae7a0 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_main .cargo/registry/src/github.com-1ecc6299db9ec823/typenum-1.10.0/build/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="no_std"' -C metadata=37d461688bf5be2c -C extra-filename=-37d461688bf5be2c --out-dir /home/cratesfyi/cratesfyi/debug/build/typenum-37d461688bf5be2c -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:24:5
|
24 | use core::ptr::Unique;
|     ^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:857:42
|
857 |     fn alloc_one<T>(&mut self) -> Result<Unique<T>, AllocErr> {
|                                          ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44
|
860 |             unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) }
|                                            ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:883:46
|
883 |     unsafe fn dealloc_one<T>(&mut self, ptr: Unique<T>) {
|                                              ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:921:54
|
921 |     fn alloc_array<T>(&mut self, n: usize) -> Result<Unique<T>, AllocErr> {
|                                                      ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56
|
925 |                     self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T))
|                                                        ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:965:37
|
965 |                                ptr: Unique<T>,
|                                     ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:967:56
|
967 |                                n_new: usize) -> Result<Unique<T>, AllocErr> {
|                                                        ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29
|
971 |                     .map(|p|Unique::new_unchecked(p as *mut T))
|                             ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:999:48
|
999 |     unsafe fn dealloc_array<T>(&mut self, ptr: Unique<T>, n: usize) -> Result<(), AllocErr> {
|                                                ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1031:42
|
1031 |     fn alloc_one<T>(&mut self) -> Result<Unique<T>, AllocErr> { self.deref_mut().alloc_one() }
|                                          ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1032:46
|
1032 |     unsafe fn dealloc_one<T>(&mut self, ptr: Unique<T>) { self.deref_mut().dealloc_one(ptr) }
|                                              ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1033:54
|
1033 |     fn alloc_array<T>(&mut self, n: usize) -> Result<Unique<T>, AllocErr> { self.deref_mut().alloc_array(n) }
|                                                      ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:48
|
1034 |     unsafe fn realloc_array<T>(&mut self, ptr: Unique<T>, old_n: usize, new_n: usize) -> Result<Unique<T>, AllocErr> { self.deref_mut().realloc_array(ptr, old_n, new_n) }
|                                                ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:97
|
1034 |     unsafe fn realloc_array<T>(&mut self, ptr: Unique<T>, old_n: usize, new_n: usize) -> Result<Unique<T>, AllocErr> { self.deref_mut().realloc_array(ptr, old_n, new_n) }
|                                                                                                 ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals': use NonNull instead and consider PhantomData<T> (if you also use #[may_dangle]), Send, and/or Sync
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1035:48
|
1035 |     unsafe fn dealloc_array<T>(&mut self, ptr: Unique<T>, n: usize) -> Result<(), AllocErr> { self.deref_mut().dealloc_array(ptr, n) }
|                                                ^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44
|
860 |             unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) }
|                                            ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:884:27
|
884 |         let raw_ptr = ptr.as_ptr() as *mut u8;
|                           ^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56
|
925 |                     self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T))
|                                                        ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:968:74
|
968 |         match (Layout::array::<T>(n_old), Layout::array::<T>(n_new), ptr.as_ptr()) {
|                                                                          ^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29
|
971 |                     .map(|p|Unique::new_unchecked(p as *mut T))
|                             ^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error[E0658]: use of unstable library feature 'ptr_internals'
--> .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1000:27
|
1000 |         let raw_ptr = ptr.as_ptr() as *mut u8;
|                           ^^^^^^
|
= help: add #![feature(ptr_internals)] to the crate attributes to enable

error: aborting due to 22 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `loca`.

Caused by:
process didn't exit successfully: `rustc --crate-name loca .cargo/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2f84c5ec8e1ae7a0 -C extra-filename=-2f84c5ec8e1ae7a0 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
thread 'main' panicked at 'Error(
CargoError(
build failed
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.