[INFO] cloning repository https://github.com/fisiognomico/run_in_ns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fisiognomico/run_in_ns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffisiognomico%2Frun_in_ns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffisiognomico%2Frun_in_ns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 240aecff7f404e589e1894678d7871c23f9e673b [INFO] building fisiognomico/run_in_ns against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffisiognomico%2Frun_in_ns" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fisiognomico/run_in_ns on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fisiognomico/run_in_ns [INFO] finished tweaking git repo https://github.com/fisiognomico/run_in_ns [INFO] tweaked toml for git repo https://github.com/fisiognomico/run_in_ns written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fisiognomico/run_in_ns already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4cbd20db0eeae934299bb84965533b9e5fe5e93a1a8fa5c561d3aeea59261b4 [INFO] running `Command { std: "docker" "start" "-a" "a4cbd20db0eeae934299bb84965533b9e5fe5e93a1a8fa5c561d3aeea59261b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4cbd20db0eeae934299bb84965533b9e5fe5e93a1a8fa5c561d3aeea59261b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4cbd20db0eeae934299bb84965533b9e5fe5e93a1a8fa5c561d3aeea59261b4", kill_on_drop: false }` [INFO] [stdout] a4cbd20db0eeae934299bb84965533b9e5fe5e93a1a8fa5c561d3aeea59261b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff0ef7b171be17c5bb9923becbc5368c88a53d31414fb50cf0b74f80c772a010 [INFO] running `Command { std: "docker" "start" "-a" "ff0ef7b171be17c5bb9923becbc5368c88a53d31414fb50cf0b74f80c772a010", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling netlink-packet-route v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling netlink-sys v0.8.6 [INFO] [stderr] Compiling netlink-proto v0.11.3 [INFO] [stderr] Compiling rtnetlink v0.14.1 [INFO] [stderr] Compiling run_in_ns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use rtnetlink::{new_connection, Error, Handle, NetworkNamespace}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::RawFd` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::unix::io::RawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Err(e) = mount::(None, &PathBuf::from("/"), None, mount_flags, None) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/main.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | let (connection, handle, _) = new_connection().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal` [INFO] [stdout] --> src/main.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredump` [INFO] [stdout] --> src/main.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredump` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.53s [INFO] running `Command { std: "docker" "inspect" "ff0ef7b171be17c5bb9923becbc5368c88a53d31414fb50cf0b74f80c772a010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0ef7b171be17c5bb9923becbc5368c88a53d31414fb50cf0b74f80c772a010", kill_on_drop: false }` [INFO] [stdout] ff0ef7b171be17c5bb9923becbc5368c88a53d31414fb50cf0b74f80c772a010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 656c4ad830a40f85c01c48697a40b7d0f83a41f7fb0ebd78bbb5b4413ea84a60 [INFO] running `Command { std: "docker" "start" "-a" "656c4ad830a40f85c01c48697a40b7d0f83a41f7fb0ebd78bbb5b4413ea84a60", kill_on_drop: false }` [INFO] [stderr] Compiling run_in_ns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/main.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use rtnetlink::{new_connection, Error, Handle, NetworkNamespace}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::RawFd` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::unix::io::RawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if let Err(e) = mount::(None, &PathBuf::from("/"), None, mount_flags, None) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/main.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | let (connection, handle, _) = new_connection().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal` [INFO] [stdout] --> src/main.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coredump` [INFO] [stdout] --> src/main.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredump` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "656c4ad830a40f85c01c48697a40b7d0f83a41f7fb0ebd78bbb5b4413ea84a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656c4ad830a40f85c01c48697a40b7d0f83a41f7fb0ebd78bbb5b4413ea84a60", kill_on_drop: false }` [INFO] [stdout] 656c4ad830a40f85c01c48697a40b7d0f83a41f7fb0ebd78bbb5b4413ea84a60