[INFO] cloning repository https://github.com/vivainio/zipget-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivainio/zipget-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Fzipget-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Fzipget-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ead98f445fcce71e630ce1aca8af85097ffd8f64 [INFO] testing vivainio/zipget-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivainio%2Fzipget-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vivainio/zipget-rs [INFO] finished tweaking git repo https://github.com/vivainio/zipget-rs [INFO] tweaked toml for git repo https://github.com/vivainio/zipget-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vivainio/zipget-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vivainio/zipget-rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glob-match v0.2.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aca725cb531c2d6b97b3c90145943cb7383964cf70a948350d52f8f767a100e [INFO] running `Command { std: "docker" "start" "-a" "6aca725cb531c2d6b97b3c90145943cb7383964cf70a948350d52f8f767a100e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aca725cb531c2d6b97b3c90145943cb7383964cf70a948350d52f8f767a100e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aca725cb531c2d6b97b3c90145943cb7383964cf70a948350d52f8f767a100e", kill_on_drop: false }` [INFO] [stdout] 6aca725cb531c2d6b97b3c90145943cb7383964cf70a948350d52f8f767a100e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0d20508547ff44904c7d80073e642d11c06fea35b5dab5e0244d3e60215ad22 [INFO] running `Command { std: "docker" "start" "-a" "c0d20508547ff44904c7d80073e642d11c06fea35b5dab5e0244d3e60215ad22", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling glob-match v0.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling zipget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:2334:5 [INFO] [stdout] | [INFO] [stdout] 2328 | / return Err(anyhow::anyhow!( [INFO] [stdout] 2329 | | "The shim command is only available on Windows. On other platforms, create a symbolic link or shell script instead." [INFO] [stdout] 2330 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 2334 | let target_path = std::path::Path::new(target_executable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_executable` [INFO] [stdout] --> src/main.rs:2324:16 [INFO] [stdout] | [INFO] [stdout] 2324 | fn create_shim(target_executable: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_executable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.64s [INFO] running `Command { std: "docker" "inspect" "c0d20508547ff44904c7d80073e642d11c06fea35b5dab5e0244d3e60215ad22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d20508547ff44904c7d80073e642d11c06fea35b5dab5e0244d3e60215ad22", kill_on_drop: false }` [INFO] [stdout] c0d20508547ff44904c7d80073e642d11c06fea35b5dab5e0244d3e60215ad22 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4868f58e15a13b5d827706e36d56aa71ba42a67c8da6eb99e07326c525a8d916 [INFO] running `Command { std: "docker" "start" "-a" "4868f58e15a13b5d827706e36d56aa71ba42a67c8da6eb99e07326c525a8d916", kill_on_drop: false }` [INFO] [stderr] Compiling zipget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:2334:5 [INFO] [stdout] | [INFO] [stdout] 2328 | / return Err(anyhow::anyhow!( [INFO] [stdout] 2329 | | "The shim command is only available on Windows. On other platforms, create a symbolic link or shell script instead." [INFO] [stdout] 2330 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 2334 | let target_path = std::path::Path::new(target_executable); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_executable` [INFO] [stdout] --> src/main.rs:2324:16 [INFO] [stdout] | [INFO] [stdout] 2324 | fn create_shim(target_executable: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_executable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "4868f58e15a13b5d827706e36d56aa71ba42a67c8da6eb99e07326c525a8d916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4868f58e15a13b5d827706e36d56aa71ba42a67c8da6eb99e07326c525a8d916", kill_on_drop: false }` [INFO] [stdout] 4868f58e15a13b5d827706e36d56aa71ba42a67c8da6eb99e07326c525a8d916 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9095845a5f93415f3c73a6d092303733ce031073572a998d16368b9e4ab47215 [INFO] running `Command { std: "docker" "start" "-a" "9095845a5f93415f3c73a6d092303733ce031073572a998d16368b9e4ab47215", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stdout] [INFO] [stderr] --> src/main.rs:2334:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 2328 | / return Err(anyhow::anyhow!( [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 2329 | | "The shim command is only available on Windows. On other platforms, create a symbolic link or shell script instead." [INFO] [stdout] [INFO] [stderr] 2330 | | )); [INFO] [stderr] | |__________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 2334 | let target_path = std::path::Path::new(target_executable); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target_executable` [INFO] [stderr] --> src/main.rs:2324:16 [INFO] [stderr] | [INFO] [stderr] 2324 | fn create_shim(target_executable: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_executable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zipget` (bin "zipget" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zipget-14f3a38d62c278c3) [INFO] running `Command { std: "docker" "inspect" "9095845a5f93415f3c73a6d092303733ce031073572a998d16368b9e4ab47215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9095845a5f93415f3c73a6d092303733ce031073572a998d16368b9e4ab47215", kill_on_drop: false }` [INFO] [stdout] 9095845a5f93415f3c73a6d092303733ce031073572a998d16368b9e4ab47215