[INFO] cloning repository https://github.com/halfzebra/rust-env-replacer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/halfzebra/rust-env-replacer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfzebra%2Frust-env-replacer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfzebra%2Frust-env-replacer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38216ea00ca6b7bf780d35cc86c7ebe238e0124f [INFO] testing halfzebra/rust-env-replacer against master#0e21a27075a8c508f00d1a4430497f17ce93d5c9 for pr-98839 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalfzebra%2Frust-env-replacer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/halfzebra/rust-env-replacer on toolchain 0e21a27075a8c508f00d1a4430497f17ce93d5c9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/halfzebra/rust-env-replacer [INFO] finished tweaking git repo https://github.com/halfzebra/rust-env-replacer [INFO] tweaked toml for git repo https://github.com/halfzebra/rust-env-replacer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/halfzebra/rust-env-replacer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905ed756f3eb79d0d28a9c91fa1e23448ee9c1a5f7c4b9b79b16c5caadc67c06 [INFO] running `Command { std: "docker" "start" "-a" "905ed756f3eb79d0d28a9c91fa1e23448ee9c1a5f7c4b9b79b16c5caadc67c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905ed756f3eb79d0d28a9c91fa1e23448ee9c1a5f7c4b9b79b16c5caadc67c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905ed756f3eb79d0d28a9c91fa1e23448ee9c1a5f7c4b9b79b16c5caadc67c06", kill_on_drop: false }` [INFO] [stdout] 905ed756f3eb79d0d28a9c91fa1e23448ee9c1a5f7c4b9b79b16c5caadc67c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 059f9f791871022c15de2d12807e46e2524bbeae066063dea6cc1278025108c8 [INFO] running `Command { std: "docker" "start" "-a" "059f9f791871022c15de2d12807e46e2524bbeae066063dea6cc1278025108c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#9c8f9e20) [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#9c8f9e20) [INFO] [stderr] Compiling rust-env-replacer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | #[clap(short, long)] [INFO] [stdout] 16 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.97s [INFO] running `Command { std: "docker" "inspect" "059f9f791871022c15de2d12807e46e2524bbeae066063dea6cc1278025108c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059f9f791871022c15de2d12807e46e2524bbeae066063dea6cc1278025108c8", kill_on_drop: false }` [INFO] [stdout] 059f9f791871022c15de2d12807e46e2524bbeae066063dea6cc1278025108c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8041929f94eb3be92ab1377e14e898bf2987a2573d6e830d7d411273cfe83caf [INFO] running `Command { std: "docker" "start" "-a" "8041929f94eb3be92ab1377e14e898bf2987a2573d6e830d7d411273cfe83caf", kill_on_drop: false }` [INFO] [stderr] Compiling rust-env-replacer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Opts { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | #[clap(short, long)] [INFO] [stdout] 16 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "8041929f94eb3be92ab1377e14e898bf2987a2573d6e830d7d411273cfe83caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8041929f94eb3be92ab1377e14e898bf2987a2573d6e830d7d411273cfe83caf", kill_on_drop: false }` [INFO] [stdout] 8041929f94eb3be92ab1377e14e898bf2987a2573d6e830d7d411273cfe83caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f8022de92d10f922cda19fcc5a6a0a05f3bca935d8e73b844d753d33cea0267 [INFO] running `Command { std: "docker" "start" "-a" "4f8022de92d10f922cda19fcc5a6a0a05f3bca935d8e73b844d753d33cea0267", kill_on_drop: false }` [INFO] [stderr] warning: field `debug` is never read [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct Opts { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 15 | #[clap(short, long)] [INFO] [stderr] 16 | debug: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rust-env-replacer` (bin "rust-env-replacer" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_env_replacer-61109f1cc50d9b2d) [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" "4f8022de92d10f922cda19fcc5a6a0a05f3bca935d8e73b844d753d33cea0267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8022de92d10f922cda19fcc5a6a0a05f3bca935d8e73b844d753d33cea0267", kill_on_drop: false }` [INFO] [stdout] 4f8022de92d10f922cda19fcc5a6a0a05f3bca935d8e73b844d753d33cea0267