[INFO] cloning repository https://github.com/christian-the-brewer/rust_decompress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christian-the-brewer/rust_decompress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-the-brewer%2Frust_decompress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-the-brewer%2Frust_decompress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce418cd8c95f8d6741b7af111437b2c0f29204d9 [INFO] checking christian-the-brewer/rust_decompress against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristian-the-brewer%2Frust_decompress" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/christian-the-brewer/rust_decompress [INFO] finished tweaking git repo https://github.com/christian-the-brewer/rust_decompress [INFO] tweaked toml for git repo https://github.com/christian-the-brewer/rust_decompress written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/christian-the-brewer/rust_decompress on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/christian-the-brewer/rust_decompress 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38989982ef3a6a62bba7226e706051e07f3929b04987f9d4ec04dd0cd554ba57 [INFO] running `Command { std: "docker" "start" "-a" "38989982ef3a6a62bba7226e706051e07f3929b04987f9d4ec04dd0cd554ba57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38989982ef3a6a62bba7226e706051e07f3929b04987f9d4ec04dd0cd554ba57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38989982ef3a6a62bba7226e706051e07f3929b04987f9d4ec04dd0cd554ba57", kill_on_drop: false }` [INFO] [stdout] 38989982ef3a6a62bba7226e706051e07f3929b04987f9d4ec04dd0cd554ba57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b417892d5801683d3e1c9fb8f036063357617d4ba7c185a096daeebfae94b33a [INFO] running `Command { std: "docker" "start" "-a" "b417892d5801683d3e1c9fb8f036063357617d4ba7c185a096daeebfae94b33a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Checking rust-decompress v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `zip` in this scope [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let mut archive = zip::ZipArchive::new(file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Vec` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | ^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn decomp() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 21 | / for i in 0..archive.len() { [INFO] [stdout] 22 | | let mut file = archive.by_index(i).unwrap(); [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let outpath = match file.enclosed_name() {}; [INFO] [stdout] 25 | | } [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] 25 ~ } [INFO] [stdout] 26 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-decompress` (bin "rust-decompress" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `zip` in this scope [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let mut archive = zip::ZipArchive::new(file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Vec` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | ^^^ expected at least 1 generic argument [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | let args: Vec = std::env::args().collect(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn decomp() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 21 | / for i in 0..archive.len() { [INFO] [stdout] 22 | | let mut file = archive.by_index(i).unwrap(); [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | let outpath = match file.enclosed_name() {}; [INFO] [stdout] 25 | | } [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] 25 ~ } [INFO] [stdout] 26 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-decompress` (bin "rust-decompress") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b417892d5801683d3e1c9fb8f036063357617d4ba7c185a096daeebfae94b33a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b417892d5801683d3e1c9fb8f036063357617d4ba7c185a096daeebfae94b33a", kill_on_drop: false }` [INFO] [stdout] b417892d5801683d3e1c9fb8f036063357617d4ba7c185a096daeebfae94b33a