[INFO] fetching crate ia-sandbox 0.2.0... [INFO] testing ia-sandbox-0.2.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate ia-sandbox 0.2.0 into /workspace/builds/worker-118/source [INFO] validating manifest of crates.io crate ia-sandbox 0.2.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ia-sandbox 0.2.0 [INFO] finished tweaking crates.io crate ia-sandbox 0.2.0 [INFO] tweaked toml for crates.io crate ia-sandbox 0.2.0 written to /workspace/builds/worker-118/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--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-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 140a2ba72ac30c10f4d8881cd6cbe0ca4d9e4d2b492e4f3bf002843dc1e8436d [INFO] running `Command { std: "docker" "start" "-a" "140a2ba72ac30c10f4d8881cd6cbe0ca4d9e4d2b492e4f3bf002843dc1e8436d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "140a2ba72ac30c10f4d8881cd6cbe0ca4d9e4d2b492e4f3bf002843dc1e8436d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140a2ba72ac30c10f4d8881cd6cbe0ca4d9e4d2b492e4f3bf002843dc1e8436d", kill_on_drop: false }` [INFO] [stdout] 140a2ba72ac30c10f4d8881cd6cbe0ca4d9e4d2b492e4f3bf002843dc1e8436d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20de354c1a8a28f51d3e5c028c9a5cc7d839c38f8d6ed5270bc9a7b107f745cc [INFO] running `Command { std: "docker" "start" "-a" "20de354c1a8a28f51d3e5c028c9a5cc7d839c38f8d6ed5270bc9a7b107f745cc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ia-sandbox v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/ffi.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 144 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | unused_qualifications, unused_results, variant_size_differences, warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:91:56 [INFO] [stdout] | [INFO] [stdout] 91 | let mut sigaction: libc::sigaction = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | unused_qualifications, unused_results, variant_size_differences, warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:563:50 [INFO] [stdout] | [INFO] [stdout] 563 | let mut rlimit: libc::rlimit = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cgroups.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ffi.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | error: error.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ffi.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | error: error.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ffi.rs:379:24 [INFO] [stdout] | [INFO] [stdout] 379 | error: err.description().into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ffi.rs:646:56 [INFO] [stdout] | [INFO] [stdout] 646 | .map_err(|err| Error::DeserializeError(err.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ffi.rs:650:64 [INFO] [stdout] | [INFO] [stdout] 650 | .map_err(|err| Error::DeserializeError(err.description().into()))?, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi.rs:675:20 [INFO] [stdout] | [INFO] [stdout] 675 | if unsafe { libc::WIFEXITED(status) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | unused_qualifications, unused_results, variant_size_differences, warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_unsafe)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi.rs:676:37 [INFO] [stdout] | [INFO] [stdout] 676 | let exit_code = unsafe { libc::WEXITSTATUS(status) } as u32; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | if unsafe { libc::WIFSIGNALED(status) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi.rs:688:34 [INFO] [stdout] | [INFO] [stdout] 688 | let signal = unsafe { libc::WTERMSIG(status) } as u32; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi.rs:692:20 [INFO] [stdout] | [INFO] [stdout] 692 | if unsafe { libc::WIFSTOPPED(status) || libc::WIFCONTINUED(status) } { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ia-sandbox` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "20de354c1a8a28f51d3e5c028c9a5cc7d839c38f8d6ed5270bc9a7b107f745cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20de354c1a8a28f51d3e5c028c9a5cc7d839c38f8d6ed5270bc9a7b107f745cc", kill_on_drop: false }` [INFO] [stdout] 20de354c1a8a28f51d3e5c028c9a5cc7d839c38f8d6ed5270bc9a7b107f745cc