[INFO] fetching crate sgx_backtrace 1.1.1... [INFO] checking sgx_backtrace-1.1.1 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate sgx_backtrace 1.1.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sgx_backtrace 1.1.1 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01a0cdd78635a33453336d950e58304e0794c5511114cfcb449dd205fc17a58c [INFO] running `Command { std: "docker" "start" "-a" "01a0cdd78635a33453336d950e58304e0794c5511114cfcb449dd205fc17a58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a0cdd78635a33453336d950e58304e0794c5511114cfcb449dd205fc17a58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a0cdd78635a33453336d950e58304e0794c5511114cfcb449dd205fc17a58c", kill_on_drop: false }` [INFO] [stdout] 01a0cdd78635a33453336d950e58304e0794c5511114cfcb449dd205fc17a58c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 861c440dc8ff1a37916758af123e16df75c05502e0ea12e05e18fd4651c2c819 [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" "861c440dc8ff1a37916758af123e16df75c05502e0ea12e05e18fd4651c2c819", kill_on_drop: false }` [INFO] [stderr] Compiling sgx_build_helper v0.1.3 [INFO] [stderr] Checking sgx_types v1.1.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling sgx_tstd v1.1.1 [INFO] [stderr] Checking sgx_demangle v1.1.1 [INFO] [stderr] Checking sgx_alloc 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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result<(core::ptr::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] | |_____^ expected struct `core::ptr::NonNull`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 83 | / match (layout.size(), new_size) { [INFO] [stdout] 84 | | (0, 0) => Ok((layout.dangling(), 0)), [INFO] [stdout] | | -------------------------- this is found to be of type `core::result::Result<(core::ptr::NonNull, usize), core::alloc::AllocErr>` [INFO] [stdout] 85 | | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `core::ptr::NonNull` [INFO] [stdout] 86 | | (_, 0) => { [INFO] [stdout] ... | [INFO] [stdout] 92 | | .map(|p| (p, new_size)), [INFO] [stdout] 93 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] found enum `core::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::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 `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::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 `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::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 `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [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" "861c440dc8ff1a37916758af123e16df75c05502e0ea12e05e18fd4651c2c819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861c440dc8ff1a37916758af123e16df75c05502e0ea12e05e18fd4651c2c819", kill_on_drop: false }` [INFO] [stdout] 861c440dc8ff1a37916758af123e16df75c05502e0ea12e05e18fd4651c2c819