Build #106279 2018-06-21T20:42:23.329812+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 sgx_serialize v1.0.0
Fresh sgx_types v1.0.0
Fresh libc v0.2.42
Fresh cfg-if v0.1.3
Fresh sgx_trts v1.0.0
Fresh filetime v0.1.15
Fresh sgx_tprotected_fs v1.0.0
Compiling sgx_alloc v1.0.0
Fresh sgx_build_helper v0.1.0
Running `rustc --crate-name sgx_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs --crate-type rlib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=ec728cb507a2b4ce -C extra-filename=-ec728cb507a2b4ce --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern sgx_trts=/home/cratesfyi/cratesfyi/debug/deps/libsgx_trts-ad5d6387fbed25d3.rlib --extern-version sgx_trts=sgx_trts,1.0.0 --cap-lints allow`
Fresh sgx_unwind v0.0.1
error[E0407]: method `oom` is not a member of trait `Alloc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:80:5
|
80 | / fn oom(&mut self, err: AllocErr) -> ! {
81 | | (&*self).oom(err)
82 | | }
| |_____^ not a member of trait `Alloc`
error[E0407]: method `oom` is not a member of trait `Alloc`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:198:9
|
198 | / fn oom(&mut self, err: AllocErr) -> ! {
199 | |
200 | | use sgx_trts::oom;
201 | | oom::rsgx_oom(err)
202 | | }
| |_________^ not a member of trait `Alloc`
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:56:5
|
56 | unsafe fn alloc(&mut self, layout: Layout) -> Result<*mut u8, AllocErr> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut System, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error[E0053]: method `alloc_zeroed` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:61:5
|
61 | / unsafe fn alloc_zeroed(&mut self, layout: Layout)
62 | | -> Result<*mut u8, AllocErr>
63 | | {
64 | | (&*self).alloc_zeroed(layout)
65 | | }
| |_____^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut System, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error[E0053]: method `dealloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:68:5
|
68 | unsafe fn dealloc(&mut self, ptr: *mut u8, layout: Layout) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout)`
found type `unsafe fn(&mut System, *mut u8, core::alloc::Layout)`
error[E0053]: method `realloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:73:5
|
73 | / unsafe fn realloc(&mut self,
74 | | ptr: *mut u8,
75 | | old_layout: Layout,
76 | | new_layout: Layout) -> Result<*mut u8, AllocErr> {
77 | | (&*self).realloc(ptr, old_layout, new_layout)
78 | | }
| |_____^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout, usize) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut System, *mut u8, core::alloc::Layout, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error[E0053]: method `realloc_excess` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:95:5
|
95 | / unsafe fn realloc_excess(&mut self,
96 | | ptr: *mut u8,
97 | | layout: Layout,
98 | | new_layout: Layout) -> Result<Excess, AllocErr> {
99 | | (&*self).realloc_excess(ptr, layout, new_layout)
100 | | }
| |_____^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout, usize) -> core::result::Result<core::alloc::Excess, core::alloc::AllocErr>`
found type `unsafe fn(&mut System, *mut u8, core::alloc::Layout, core::alloc::Layout) -> core::result::Result<core::alloc::Excess, core::alloc::AllocErr>`
error[E0053]: method `grow_in_place` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:103:5
|
103 | / unsafe fn grow_in_place(&mut self,
104 | | ptr: *mut u8,
105 | | layout: Layout,
106 | | new_layout: Layout) -> Result<(), CannotReallocInPlace> {
107 | | (&*self).grow_in_place(ptr, layout, new_layout)
108 | | }
| |_____^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout, usize) -> core::result::Result<(), core::alloc::CannotReallocInPlace>`
found type `unsafe fn(&mut System, *mut u8, core::alloc::Layout, core::alloc::Layout) -> core::result::Result<(), core::alloc::CannotReallocInPlace>`
error[E0053]: method `shrink_in_place` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:111:5
|
111 | / unsafe fn shrink_in_place(&mut self,
112 | | ptr: *mut u8,
113 | | layout: Layout,
114 | | new_layout: Layout) -> Result<(), CannotReallocInPlace> {
115 | | (&*self).shrink_in_place(ptr, layout, new_layout)
116 | | }
| |_____^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout, usize) -> core::result::Result<(), core::alloc::CannotReallocInPlace>`
found type `unsafe fn(&mut System, *mut u8, core::alloc::Layout, core::alloc::Layout) -> core::result::Result<(), core::alloc::CannotReallocInPlace>`
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:131:9
|
131 | unsafe fn alloc(&mut self, layout: Layout) -> Result<*mut u8, AllocErr> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut &'a System, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut &'a System, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error[E0053]: method `alloc_zeroed` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:145:9
|
145 | / unsafe fn alloc_zeroed(&mut self, layout: Layout)
146 | | -> Result<*mut u8, AllocErr>
147 | | {
148 | | if layout.align() <= MIN_ALIGN && layout.align() <= layout.size() {
... |
161 | | }
162 | | }
| |_________^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut &'a System, core::alloc::Layout) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut &'a System, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error[E0053]: method `dealloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:165:9
|
165 | unsafe fn dealloc(&mut self, ptr: *mut u8, _layout: Layout) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut &'a System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout)`
found type `unsafe fn(&mut &'a System, *mut u8, core::alloc::Layout)`
error[E0053]: method `realloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs:170:9
|
170 | / unsafe fn realloc(&mut self,
171 | | ptr: *mut u8,
172 | | old_layout: Layout,
173 | | new_layout: Layout) -> Result<*mut u8, AllocErr> {
... |
195 | | }
196 | | }
| |_________^ expected struct `core::ptr::NonNull`, found *-ptr
|
= note: expected type `unsafe fn(&mut &'a System, core::ptr::NonNull<core::alloc::Opaque>, core::alloc::Layout, usize) -> core::result::Result<core::ptr::NonNull<core::alloc::Opaque>, core::alloc::AllocErr>`
found type `unsafe fn(&mut &'a System, *mut u8, core::alloc::Layout, core::alloc::Layout) -> core::result::Result<*mut u8, core::alloc::AllocErr>`
error: aborting due to 13 previous errors
Some errors occurred: E0053, E0407.
For more information about an error, try `rustc --explain E0053`.
thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not compile `sgx_alloc`.,
cause: process didn't exit successfully: `rustc --crate-name sgx_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.0.0/src/lib.rs --crate-type rlib --emit=dep-info,link -C debuginfo=2 --cfg feature="default" -C metadata=ec728cb507a2b4ce -C extra-filename=-ec728cb507a2b4ce --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern sgx_trts=/home/cratesfyi/cratesfyi/debug/deps/libsgx_trts-ad5d6387fbed25d3.rlib --extern-version sgx_trts=sgx_trts,1.0.0 --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.