[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 c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[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 c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author
[INFO] [stderr] warning: `rust-decompress` (manifest) generated 1 warning
[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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272
[INFO] running `Command { std: "docker" "start" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author
[INFO] [stderr] warning: `rust-decompress` (manifest) generated 1 warning
[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[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<T> = std::env::args().collect();
[INFO] [stdout]   |                  +++
[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<T> = 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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-decompress` (bin "rust-decompress" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272", kill_on_drop: false }`
[INFO] [stdout] f855c0711a1e7e4e2f9e35e80d44eefb03224faa28c0626ac2cdebdd04924272
