[INFO] fetching crate sgx_alloc 1.1.1... [INFO] checking sgx_alloc-1.1.1 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate sgx_alloc 1.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sgx_alloc 1.1.1 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sgx_alloc 1.1.1 [INFO] finished tweaking crates.io crate sgx_alloc 1.1.1 [INFO] tweaked toml for crates.io crate sgx_alloc 1.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf0ca82289766dbb852f62a2ef19527064420da7aca715382b218da57ddbcb2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ebf0ca82289766dbb852f62a2ef19527064420da7aca715382b218da57ddbcb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf0ca82289766dbb852f62a2ef19527064420da7aca715382b218da57ddbcb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf0ca82289766dbb852f62a2ef19527064420da7aca715382b218da57ddbcb2", kill_on_drop: false }` [INFO] [stdout] ebf0ca82289766dbb852f62a2ef19527064420da7aca715382b218da57ddbcb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ef07f3eb7015ab956436f7d262878bbb9df8f2b0a05b2f944abf62c7dc5911 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c8ef07f3eb7015ab956436f7d262878bbb9df8f2b0a05b2f944abf62c7dc5911", kill_on_drop: false }` [INFO] [stderr] Checking sgx_alloc v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/system.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | use core::alloc::{GlobalAlloc, AllocRef, AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/system.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | use core::alloc::{GlobalAlloc, AllocRef, AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef` [INFO] [stdout] --> src/system.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / unsafe fn realloc(&mut self, [INFO] [stdout] 79 | | ptr: core::ptr::NonNull, [INFO] [stdout] 80 | | layout: Layout, [INFO] [stdout] 81 | | new_size: usize) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `AllocRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef` [INFO] [stdout] --> src/system.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / unsafe fn realloc(&mut self, [INFO] [stdout] 79 | | ptr: core::ptr::NonNull, [INFO] [stdout] 80 | | layout: Layout, [INFO] [stdout] 81 | | new_size: usize) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `AllocRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/system.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn dealloc(&mut self, ptr: core::ptr::NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&system::System, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut system::System, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^ multiple `alloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => core::alloc::AllocRef::alloc(&mut self, Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => GlobalAlloc::alloc(&mut self, Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | self.dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^ multiple `dealloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn dealloc(&mut self, ptr: core::ptr::NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn dealloc(&self, ptr: *mut u8, _layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 87 | core::alloc::AllocRef::dealloc(&mut self, ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 87 | GlobalAlloc::dealloc(&mut self, ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = self.alloc(layout); [INFO] [stdout] | ^^^^^ multiple `alloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = core::alloc::AllocRef::alloc(&self, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = GlobalAlloc::alloc(&self, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/system.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn dealloc(&mut self, ptr: core::ptr::NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&system::System, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut system::System, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^ multiple `alloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => core::alloc::AllocRef::alloc(&mut self, Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => GlobalAlloc::alloc(&mut self, Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | self.dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^ multiple `dealloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn dealloc(&mut self, ptr: core::ptr::NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe fn dealloc(&self, ptr: *mut u8, _layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 87 | core::alloc::AllocRef::dealloc(&mut self, ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 87 | GlobalAlloc::dealloc(&mut self, ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/system.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = self.alloc(layout); [INFO] [stdout] | ^^^^^ multiple `alloc` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `core::alloc::AllocRef` for the type `system::System` [INFO] [stdout] --> src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl of the trait `GlobalAlloc` for the type `system::System` [INFO] [stdout] --> src/system.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = core::alloc::AllocRef::alloc(&self, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 143 | let ptr = GlobalAlloc::alloc(&self, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: ptr.cast().into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | self.ptr = ptr.cast().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | ptr: ptr.into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0053, E0277, E0407, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sgx_alloc` [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: ptr.cast().into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | self.ptr = ptr.cast().into(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Unique: From>` is not satisfied [INFO] [stdout] --> src/alignbox.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | ptr: ptr.into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0053, E0277, E0407, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8ef07f3eb7015ab956436f7d262878bbb9df8f2b0a05b2f944abf62c7dc5911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ef07f3eb7015ab956436f7d262878bbb9df8f2b0a05b2f944abf62c7dc5911", kill_on_drop: false }` [INFO] [stdout] c8ef07f3eb7015ab956436f7d262878bbb9df8f2b0a05b2f944abf62c7dc5911