[INFO] cloning repository https://github.com/lnxs-prsn/rust_unzip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lnxs-prsn/rust_unzip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flnxs-prsn%2Frust_unzip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flnxs-prsn%2Frust_unzip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23846d78533a97857927f4bd628428a70c3d1c4a [INFO] building lnxs-prsn/rust_unzip against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flnxs-prsn%2Frust_unzip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lnxs-prsn/rust_unzip on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lnxs-prsn/rust_unzip [INFO] finished tweaking git repo https://github.com/lnxs-prsn/rust_unzip [INFO] tweaked toml for git repo https://github.com/lnxs-prsn/rust_unzip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lnxs-prsn/rust_unzip 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0264bf22ceb476d3050f6c364cbad2982cfcffe9bf23ebd2852c452c79f9a88e [INFO] running `Command { std: "docker" "start" "-a" "0264bf22ceb476d3050f6c364cbad2982cfcffe9bf23ebd2852c452c79f9a88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0264bf22ceb476d3050f6c364cbad2982cfcffe9bf23ebd2852c452c79f9a88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0264bf22ceb476d3050f6c364cbad2982cfcffe9bf23ebd2852c452c79f9a88e", kill_on_drop: false }` [INFO] [stdout] 0264bf22ceb476d3050f6c364cbad2982cfcffe9bf23ebd2852c452c79f9a88e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaaa97a81cc6f4c0e26ad5b9d8bcfff791c09fedf2ff1534bc29f3b7d7f1ac12 [INFO] running `Command { std: "docker" "start" "-a" "aaaa97a81cc6f4c0e26ad5b9d8bcfff791c09fedf2ff1534bc29f3b7d7f1ac12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling time v0.3.31 [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 digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [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 rust_test2_unzip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn real_main() -> i32{ [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 27 | / for i in 0..archive.len() { [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | let mut file = archive.by_index(i).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [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] 81 ~ } [INFO] [stdout] 82 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_test2_unzip` (bin "rust_test2_unzip") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "aaaa97a81cc6f4c0e26ad5b9d8bcfff791c09fedf2ff1534bc29f3b7d7f1ac12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaaa97a81cc6f4c0e26ad5b9d8bcfff791c09fedf2ff1534bc29f3b7d7f1ac12", kill_on_drop: false }` [INFO] [stdout] aaaa97a81cc6f4c0e26ad5b9d8bcfff791c09fedf2ff1534bc29f3b7d7f1ac12