[INFO] cloning repository https://github.com/TayKaunda/zipfile-extractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TayKaunda/zipfile-extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTayKaunda%2Fzipfile-extractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTayKaunda%2Fzipfile-extractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 369429df8f6441a8d0e1095f4e0c3d866e706d12 [INFO] testing TayKaunda/zipfile-extractor against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTayKaunda%2Fzipfile-extractor" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TayKaunda/zipfile-extractor [INFO] finished tweaking git repo https://github.com/TayKaunda/zipfile-extractor [INFO] tweaked toml for git repo https://github.com/TayKaunda/zipfile-extractor written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TayKaunda/zipfile-extractor on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TayKaunda/zipfile-extractor 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60af860e751d2c1544c0dc48ea93b9b1d69719e905a71ac0ba47b6560febe357 [INFO] running `Command { std: "docker" "start" "-a" "60af860e751d2c1544c0dc48ea93b9b1d69719e905a71ac0ba47b6560febe357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60af860e751d2c1544c0dc48ea93b9b1d69719e905a71ac0ba47b6560febe357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60af860e751d2c1544c0dc48ea93b9b1d69719e905a71ac0ba47b6560febe357", kill_on_drop: false }` [INFO] [stdout] 60af860e751d2c1544c0dc48ea93b9b1d69719e905a71ac0ba47b6560febe357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c2c9af487473731b54deac613c4d17c0e07f3f1762987ef2aa5d5ea58f63c22 [INFO] running `Command { std: "docker" "start" "-a" "9c2c9af487473731b54deac613c4d17c0e07f3f1762987ef2aa5d5ea58f63c22", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling filezip-extractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `fname` in this scope [INFO] [stdout] --> src/main.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let file = fs::File::open(&fname).unwrap(); [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64::_CMP_LE_OQ` [INFO] [stdout] --> src/main.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | use std::arch::x86_64::_CMP_LE_OQ; [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: `std::path` [INFO] [stdout] --> src/main.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn real_main() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 30 | / for i in 0..archive.len() { [INFO] [stdout] 31 | | let mut file = archive.by_index(i).unwrap(); [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | let outpath = match file.enclosed_name() { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 73 ~ } [INFO] [stdout] 74 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filezip-extractor` (bin "filezip-extractor") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c2c9af487473731b54deac613c4d17c0e07f3f1762987ef2aa5d5ea58f63c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c2c9af487473731b54deac613c4d17c0e07f3f1762987ef2aa5d5ea58f63c22", kill_on_drop: false }` [INFO] [stdout] 9c2c9af487473731b54deac613c4d17c0e07f3f1762987ef2aa5d5ea58f63c22