[INFO] cloning repository https://github.com/pollputty/intercept [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pollputty/intercept" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpollputty%2Fintercept", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpollputty%2Fintercept'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f4626e7b257d0dcdd631e12f7b5ef06ef770119 [INFO] testing pollputty/intercept/2f4626e7b257d0dcdd631e12f7b5ef06ef770119 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpollputty%2Fintercept" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pollputty/intercept [INFO] finished tweaking git repo https://github.com/pollputty/intercept [INFO] tweaked toml for git repo https://github.com/pollputty/intercept written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pollputty/intercept on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pollputty/intercept 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.9.33 [INFO] [stderr] Downloaded clap v4.5.3 [INFO] [stderr] Downloaded clap_derive v4.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef81e6607ddc6f86d455c9bc9008b56cedf46cbd726ecdfa73c74df03b19806c [INFO] running `Command { std: "docker" "start" "-a" "ef81e6607ddc6f86d455c9bc9008b56cedf46cbd726ecdfa73c74df03b19806c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef81e6607ddc6f86d455c9bc9008b56cedf46cbd726ecdfa73c74df03b19806c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef81e6607ddc6f86d455c9bc9008b56cedf46cbd726ecdfa73c74df03b19806c", kill_on_drop: false }` [INFO] [stdout] ef81e6607ddc6f86d455c9bc9008b56cedf46cbd726ecdfa73c74df03b19806c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16b9a189ef05bfe447bb34f3020b99457cb99f3ce8c6adb246c902d87762e3d [INFO] running `Command { std: "docker" "start" "-a" "f16b9a189ef05bfe447bb34f3020b99457cb99f3ce8c6adb246c902d87762e3d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_yaml v0.9.33 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling intercept v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/modules/time.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] 23 + let time = timestamp.map(|secs| SystemTime::UNIX_EPOCH + Duration::from_secs(secs) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/tracer/operation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | Fork { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 12 | num: SysNum, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.26s [INFO] running `Command { std: "docker" "inspect" "f16b9a189ef05bfe447bb34f3020b99457cb99f3ce8c6adb246c902d87762e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16b9a189ef05bfe447bb34f3020b99457cb99f3ce8c6adb246c902d87762e3d", kill_on_drop: false }` [INFO] [stdout] f16b9a189ef05bfe447bb34f3020b99457cb99f3ce8c6adb246c902d87762e3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc8992573ebacd4c3d98c7479eeecc50a149faaac32513e3ba178a1eaff88c08 [INFO] running `Command { std: "docker" "start" "-a" "dc8992573ebacd4c3d98c7479eeecc50a149faaac32513e3ba178a1eaff88c08", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling intercept v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/modules/time.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] 23 + let time = timestamp.map(|secs| SystemTime::UNIX_EPOCH + Duration::from_secs(secs) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/tracer/operation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | Fork { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 12 | num: SysNum, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/modules/time.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stdout] 23 + let time = timestamp.map(|secs| SystemTime::UNIX_EPOCH + Duration::from_secs(secs) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/tracer/operation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | Fork { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 12 | num: SysNum, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "dc8992573ebacd4c3d98c7479eeecc50a149faaac32513e3ba178a1eaff88c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8992573ebacd4c3d98c7479eeecc50a149faaac32513e3ba178a1eaff88c08", kill_on_drop: false }` [INFO] [stdout] dc8992573ebacd4c3d98c7479eeecc50a149faaac32513e3ba178a1eaff88c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c83f2272e577b6f8738cebe97f34dd4d13a801bd68a38967e258dc58c80e6cc [INFO] running `Command { std: "docker" "start" "-a" "6c83f2272e577b6f8738cebe97f34dd4d13a801bd68a38967e258dc58c80e6cc", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/modules/time.rs:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stderr] 23 + let time = timestamp.map(|secs| SystemTime::UNIX_EPOCH + Duration::from_secs(secs) ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `num` is never read [INFO] [stderr] --> src/tracer/operation.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | Fork { [INFO] [stderr] | ---- field in this variant [INFO] [stderr] 12 | num: SysNum, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `intercept` (lib) generated 2 warnings (run `cargo fix --lib -p intercept` to apply 1 suggestion) [INFO] [stderr] warning: `intercept` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/intercept-f7954f43ae610431) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/intercept-a821ba5801b98a7e) [INFO] [stdout] [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] [stderr] Running tests/commands.rs (/opt/rustwide/target/debug/deps/commands-66d50f368b431099) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::echo ... ok [INFO] [stdout] test tests::cat ... ok [INFO] [stdout] test tests::subcommand ... ok [INFO] [stdout] test tests::intercepted_cat ... ok [INFO] [stdout] test tests::python3 ... ok [INFO] [stderr] Doc-tests intercept [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/modules/time.rs:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - let time = timestamp.map(|secs| (SystemTime::UNIX_EPOCH + Duration::from_secs(secs))); [INFO] [stderr] 23 + let time = timestamp.map(|secs| SystemTime::UNIX_EPOCH + Duration::from_secs(secs) ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "6c83f2272e577b6f8738cebe97f34dd4d13a801bd68a38967e258dc58c80e6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c83f2272e577b6f8738cebe97f34dd4d13a801bd68a38967e258dc58c80e6cc", kill_on_drop: false }` [INFO] [stdout] 6c83f2272e577b6f8738cebe97f34dd4d13a801bd68a38967e258dc58c80e6cc