[INFO] fetching crate nswrap 0.1.0...
[INFO] building nswrap-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate nswrap 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate nswrap 0.1.0
[INFO] finished tweaking crates.io crate nswrap 0.1.0
[INFO] tweaked toml for crates.io crate nswrap 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nswrap 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 43 packages to latest compatible versions
[INFO] [stderr]       Adding derive_builder v0.12.0 (available: v0.20.2)
[INFO] [stderr]       Adding linux-raw-sys v0.4.15 (available: v0.11.0)
[INFO] [stderr]       Adding nix v0.26.4 (available: v0.30.1)
[INFO] [stderr]       Adding rustix v0.38.44 (available: v1.1.2)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding xdg v2.5.2 (available: v3.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getset v0.1.6
[INFO] [stderr]   Downloaded memoffset v0.7.1
[INFO] [stderr]   Downloaded derive_builder_macro v0.12.0
[INFO] [stderr]   Downloaded proc-macro-error2 v2.0.1
[INFO] [stderr]   Downloaded derive_builder_core v0.12.0
[INFO] [stderr]   Downloaded darling_macro v0.14.4
[INFO] [stderr]   Downloaded darling v0.14.4
[INFO] [stderr]   Downloaded derive_builder v0.12.0
[INFO] [stderr]   Downloaded darling_core v0.14.4
[INFO] [stderr]   Downloaded xdg v2.5.2
[INFO] [stderr]   Downloaded proc-macro-error-attr2 v2.0.0
[INFO] [stderr]   Downloaded nix v0.26.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d46e2d436bec2e17cfd501cc1e2351405a429ef5f9a65bd9135989576bfcf1d
[INFO] running `Command { std: "docker" "start" "-a" "8d46e2d436bec2e17cfd501cc1e2351405a429ef5f9a65bd9135989576bfcf1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d46e2d436bec2e17cfd501cc1e2351405a429ef5f9a65bd9135989576bfcf1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d46e2d436bec2e17cfd501cc1e2351405a429ef5f9a65bd9135989576bfcf1d", kill_on_drop: false }`
[INFO] [stdout] 8d46e2d436bec2e17cfd501cc1e2351405a429ef5f9a65bd9135989576bfcf1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f4f12eb69e0dc7061515cc070296b15a04eb87e9cfd303c8a92fdd145e74c61
[INFO] running `Command { std: "docker" "start" "-a" "2f4f12eb69e0dc7061515cc070296b15a04eb87e9cfd303c8a92fdd145e74c61", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling xdg v2.5.2
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling nswrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut set;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_root` and `add_mount` are never used
[INFO] [stdout]    --> src/lib.rs:349:8
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'a> Wrap<'_> {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     fn set_root(&mut self, root: config::Root) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn add_mount(&mut self, mnt: config::Mount) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `root` and `mounts` are never read
[INFO] [stdout]   --> src/core.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub(crate) struct WrapInner<'a> {
[INFO] [stdout]    |                   --------- fields in this struct
[INFO] [stdout] 46 |     pub(crate) process: config::Process,
[INFO] [stdout] 47 |     pub(crate) root: Option<config::Root>,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |     pub(crate) mounts: Vec<config::Mount>,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `exec` that must be used
[INFO] [stdout]    --> src/core.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         cmd.exec();
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let _ = cmd.exec();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.20s
[INFO] running `Command { std: "docker" "inspect" "2f4f12eb69e0dc7061515cc070296b15a04eb87e9cfd303c8a92fdd145e74c61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f4f12eb69e0dc7061515cc070296b15a04eb87e9cfd303c8a92fdd145e74c61", kill_on_drop: false }`
[INFO] [stdout] 2f4f12eb69e0dc7061515cc070296b15a04eb87e9cfd303c8a92fdd145e74c61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 980a3baa796b3cccb7cf0a6d7dcd463358348d5f570d3b142c5a7e24d64e0285
[INFO] running `Command { std: "docker" "start" "-a" "980a3baa796b3cccb7cf0a6d7dcd463358348d5f570d3b142c5a7e24d64e0285", kill_on_drop: false }`
[INFO] [stderr]    Compiling nswrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut set;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_root` and `add_mount` are never used
[INFO] [stdout]    --> src/lib.rs:349:8
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'a> Wrap<'_> {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     fn set_root(&mut self, root: config::Root) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn add_mount(&mut self, mnt: config::Mount) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `root` and `mounts` are never read
[INFO] [stdout]   --> src/core.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub(crate) struct WrapInner<'a> {
[INFO] [stdout]    |                   --------- fields in this struct
[INFO] [stdout] 46 |     pub(crate) process: config::Process,
[INFO] [stdout] 47 |     pub(crate) root: Option<config::Root>,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |     pub(crate) mounts: Vec<config::Mount>,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `exec` that must be used
[INFO] [stdout]    --> src/core.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         cmd.exec();
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let _ = cmd.exec();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> tests/basic.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fs::remove_dir_all(_TMP_DIR);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let _ = fs::remove_dir_all(_TMP_DIR);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut set;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_root` and `add_mount` are never used
[INFO] [stdout]    --> src/lib.rs:349:8
[INFO] [stdout]     |
[INFO] [stdout] 315 | impl<'a> Wrap<'_> {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     fn set_root(&mut self, root: config::Root) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn add_mount(&mut self, mnt: config::Mount) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `root` and `mounts` are never read
[INFO] [stdout]   --> src/core.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub(crate) struct WrapInner<'a> {
[INFO] [stdout]    |                   --------- fields in this struct
[INFO] [stdout] 46 |     pub(crate) process: config::Process,
[INFO] [stdout] 47 |     pub(crate) root: Option<config::Root>,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 48 |
[INFO] [stdout] 49 |     pub(crate) mounts: Vec<config::Mount>,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `exec` that must be used
[INFO] [stdout]    --> src/core.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         cmd.exec();
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let _ = cmd.exec();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "980a3baa796b3cccb7cf0a6d7dcd463358348d5f570d3b142c5a7e24d64e0285", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "980a3baa796b3cccb7cf0a6d7dcd463358348d5f570d3b142c5a7e24d64e0285", kill_on_drop: false }`
[INFO] [stdout] 980a3baa796b3cccb7cf0a6d7dcd463358348d5f570d3b142c5a7e24d64e0285
