[INFO] fetching crate sgx_backtrace 1.1.1... [INFO] checking sgx_backtrace-1.1.1 against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] extracting crate sgx_backtrace 1.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sgx_backtrace 1.1.1 on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sgx_backtrace 1.1.1 [INFO] finished tweaking crates.io crate sgx_backtrace 1.1.1 [INFO] tweaked toml for crates.io crate sgx_backtrace 1.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sgx_serialize v1.1.1 [INFO] [stderr] Downloaded sgx_serialize_derive v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4240f66919f64d835a0bb4d51e4ecd1edfe8edbbeb5acdf2c367178cda4ebd8c [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" "4240f66919f64d835a0bb4d51e4ecd1edfe8edbbeb5acdf2c367178cda4ebd8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4240f66919f64d835a0bb4d51e4ecd1edfe8edbbeb5acdf2c367178cda4ebd8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4240f66919f64d835a0bb4d51e4ecd1edfe8edbbeb5acdf2c367178cda4ebd8c", kill_on_drop: false }` [INFO] [stdout] 4240f66919f64d835a0bb4d51e4ecd1edfe8edbbeb5acdf2c367178cda4ebd8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 719d929e572b5c66237c94f585a0aeb3fff752bad5c695e632d9ddf224f3490d [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" "719d929e572b5c66237c94f585a0aeb3fff752bad5c695e632d9ddf224f3490d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking sgx_alloc v1.1.1 [INFO] [stderr] Compiling sgx_unwind v0.1.1 [INFO] [stderr] Compiling hashbrown_tstd v0.7.1 [INFO] [stderr] Compiling sgx_backtrace_sys v1.1.1 [INFO] [stderr] Compiling sgx_tstd v1.1.1 [INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] [stderr] Compiling synom v0.11.3 [INFO] [stdout] error[E0053]: method `alloc` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&system::System, Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull, usize), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_zeroed` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn alloc_zeroed(&mut self, layout: Layout) [INFO] [stdout] 57 | | -> Result<(NonNull, usize), AllocErr> [INFO] [stdout] 58 | | { [INFO] [stdout] 59 | | if layout.size() == 0 { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&system::System, Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull, usize), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0053, E0277, E0407. [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "719d929e572b5c66237c94f585a0aeb3fff752bad5c695e632d9ddf224f3490d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719d929e572b5c66237c94f585a0aeb3fff752bad5c695e632d9ddf224f3490d", kill_on_drop: false }` [INFO] [stdout] 719d929e572b5c66237c94f585a0aeb3fff752bad5c695e632d9ddf224f3490d