[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 master#ce36a966c79e109dabeef7a47fe68e5294c6d71e 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fisiognomico/run_in_ns on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "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-tc1/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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtnetlink v0.14.1 [INFO] [stderr] Downloaded futures v0.3.30 [INFO] [stderr] Downloaded netlink-proto v0.11.3 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded netlink-packet-utils v0.5.2 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded netlink-sys v0.8.6 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] [stderr] Downloaded nix v0.28.0 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded netlink-packet-route v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a1de20b78c0d69666ad51207bad98df5ed809f0a420f4468df4214a0e5ba82 [INFO] running `Command { std: "docker" "start" "-a" "13a1de20b78c0d69666ad51207bad98df5ed809f0a420f4468df4214a0e5ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a1de20b78c0d69666ad51207bad98df5ed809f0a420f4468df4214a0e5ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a1de20b78c0d69666ad51207bad98df5ed809f0a420f4468df4214a0e5ba82", kill_on_drop: false }` [INFO] [stdout] 13a1de20b78c0d69666ad51207bad98df5ed809f0a420f4468df4214a0e5ba82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b85e3a598bba39305e3b52ead736f3ca639124ae61e0e4e337ec9b76f79bada1 [INFO] running `Command { std: "docker" "start" "-a" "b85e3a598bba39305e3b52ead736f3ca639124ae61e0e4e337ec9b76f79bada1", 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 pin-project-lite v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [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 log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [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.34s [INFO] running `Command { std: "docker" "inspect" "b85e3a598bba39305e3b52ead736f3ca639124ae61e0e4e337ec9b76f79bada1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85e3a598bba39305e3b52ead736f3ca639124ae61e0e4e337ec9b76f79bada1", kill_on_drop: false }` [INFO] [stdout] b85e3a598bba39305e3b52ead736f3ca639124ae61e0e4e337ec9b76f79bada1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f6187724faee4c1f4d13be0ddbc65f4b24b11c72b141a6ccae9cfe17d58d33 [INFO] running `Command { std: "docker" "start" "-a" "88f6187724faee4c1f4d13be0ddbc65f4b24b11c72b141a6ccae9cfe17d58d33", 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.55s [INFO] running `Command { std: "docker" "inspect" "88f6187724faee4c1f4d13be0ddbc65f4b24b11c72b141a6ccae9cfe17d58d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f6187724faee4c1f4d13be0ddbc65f4b24b11c72b141a6ccae9cfe17d58d33", kill_on_drop: false }` [INFO] [stdout] 88f6187724faee4c1f4d13be0ddbc65f4b24b11c72b141a6ccae9cfe17d58d33