[INFO] fetching crate enclave-runner 0.5.1...
[INFO] checking enclave-runner-0.5.1 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate enclave-runner 0.5.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate enclave-runner 0.5.1 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate enclave-runner 0.5.1
[INFO] finished tweaking crates.io crate enclave-runner 0.5.1
[INFO] tweaked toml for crates.io crate enclave-runner 0.5.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ipc-queue v0.2.0
[INFO] [stderr]   Downloaded fortanix-sgx-abi v0.4.1
[INFO] [stderr]   Downloaded sgxs v0.7.4
[INFO] [stderr]   Downloaded sgx-isa v0.4.0
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fdd2bcdd1c177be6884c021cc2d25a980172b3328451892b182dd0fb8de27cb
[INFO] running `Command { std: "docker" "start" "-a" "6fdd2bcdd1c177be6884c021cc2d25a980172b3328451892b182dd0fb8de27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fdd2bcdd1c177be6884c021cc2d25a980172b3328451892b182dd0fb8de27cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fdd2bcdd1c177be6884c021cc2d25a980172b3328451892b182dd0fb8de27cb", kill_on_drop: false }`
[INFO] [stdout] 6fdd2bcdd1c177be6884c021cc2d25a980172b3328451892b182dd0fb8de27cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab873c527cc278a282b10e1f1e55a375db9d58997602809e3ce24150dc2cc20a
[INFO] running `Command { std: "docker" "start" "-a" "ab873c527cc278a282b10e1f1e55a375db9d58997602809e3ce24150dc2cc20a", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking sgx-isa v0.4.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling enclave-runner v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking fortanix-sgx-abi v0.4.1
[INFO] [stderr]     Checking ipc-queue v0.2.0
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking sgxs v0.7.4
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stdout] error: the item `std` is imported redundantly
[INFO] [stdout]  --> src/tcs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already defined here
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `failure` is imported redundantly
[INFO] [stdout]   --> src/usercalls/mod.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 | use failure::{self, bail};
[INFO] [stdout]    |               ^^^^ the item `failure` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `ipc_queue` is imported redundantly
[INFO] [stdout]   --> src/usercalls/mod.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 | use ipc_queue::{self, DescriptorGuard, Identified, QueueEvent};
[INFO] [stdout]    |                 ^^^^ the item `ipc_queue` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `std` is imported redundantly
[INFO] [stdout]  --> src/tcs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std;
[INFO] [stdout]   |     ^^^ the item `std` is already defined here
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![deny(warnings)]
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `failure` is imported redundantly
[INFO] [stdout]   --> src/usercalls/mod.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 | use failure::{self, bail};
[INFO] [stdout]    |               ^^^^ the item `failure` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `ipc_queue` is imported redundantly
[INFO] [stdout]   --> src/usercalls/mod.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 | use ipc_queue::{self, DescriptorGuard, Identified, QueueEvent};
[INFO] [stdout]    |                 ^^^^ the item `ipc_queue` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait `AsIoResult` is never used
[INFO] [stdout]    --> src/usercalls/mod.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |         trait AsIoResult<T> {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/loader.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_EnclavePanic`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/loader.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_EnclavePanic`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait `AsIoResult` is never used
[INFO] [stdout]    --> src/usercalls/mod.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |         trait AsIoResult<T> {
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/loader.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_EnclavePanic`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/loader.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_EnclavePanic`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enclave-runner` (lib) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `enclave-runner` (lib test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "ab873c527cc278a282b10e1f1e55a375db9d58997602809e3ce24150dc2cc20a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab873c527cc278a282b10e1f1e55a375db9d58997602809e3ce24150dc2cc20a", kill_on_drop: false }`
[INFO] [stdout] ab873c527cc278a282b10e1f1e55a375db9d58997602809e3ce24150dc2cc20a
