[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] testing fisiognomico/run_in_ns against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffisiognomico%2Frun_in_ns" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fisiognomico/run_in_ns on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c [INFO] running `Command { std: "docker" "start" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.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 thiserror v1.0.61 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 18.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Handle` [INFO] [stderr] --> src/main.rs:11:40 [INFO] [stderr] | [INFO] [stderr] 11 | use rtnetlink::{new_connection, Error, Handle, NetworkNamespace}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenOptions` [INFO] [stderr] --> src/main.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | use std::fs::{File, OpenOptions}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::io::RawFd` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::os::unix::io::RawFd; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:151:16 [INFO] [stderr] | [INFO] [stderr] 151 | if let Err(e) = mount::(None, &PathBuf::from("/"), None, mount_flags, None) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection` [INFO] [stderr] --> src/main.rs:185:10 [INFO] [stderr] | [INFO] [stderr] 185 | let (connection, handle, _) = new_connection().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `signal` [INFO] [stderr] --> src/main.rs:81:37 [INFO] [stderr] | [INFO] [stderr] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `coredump` [INFO] [stderr] --> src/main.rs:81:45 [INFO] [stderr] | [INFO] [stderr] 81 | WaitStatus::Signaled(_, signal, coredump) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coredump` [INFO] [stderr] [INFO] [stderr] warning: `run_in_ns` (bin "run_in_ns" test) generated 7 warnings (run `cargo fix --bin "run_in_ns" -p run_in_ns --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/run_in_ns/22cc7715788920d0/out/run_in_ns-22cc7715788920d0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c", kill_on_drop: false }` [INFO] [stdout] 9b0f25b03c6fd011ff773652cbbb3d453db98206f9b05fa6214204d18b27fb9c