[INFO] cloning repository https://github.com/PlastMan420/tzar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PlastMan420/tzar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlastMan420%2Ftzar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlastMan420%2Ftzar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dbc65fc70ecef95f502358cbae120b7f99b8786 [INFO] testing PlastMan420/tzar against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlastMan420%2Ftzar" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlastMan420/tzar on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PlastMan420/tzar [INFO] finished tweaking git repo https://github.com/PlastMan420/tzar [INFO] tweaked toml for git repo https://github.com/PlastMan420/tzar written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/PlastMan420/tzar already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c487e9eee422728f4fc1b6452a13ce85963bd9b51746aa543dcf29646295661c [INFO] running `Command { std: "docker" "start" "-a" "c487e9eee422728f4fc1b6452a13ce85963bd9b51746aa543dcf29646295661c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c487e9eee422728f4fc1b6452a13ce85963bd9b51746aa543dcf29646295661c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c487e9eee422728f4fc1b6452a13ce85963bd9b51746aa543dcf29646295661c", kill_on_drop: false }` [INFO] [stdout] c487e9eee422728f4fc1b6452a13ce85963bd9b51746aa543dcf29646295661c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4950cdaf57999b1d9961600adc38061824ca5ff28efc107849ae897ab8adf4 [INFO] running `Command { std: "docker" "start" "-a" "2f4950cdaf57999b1d9961600adc38061824ca5ff28efc107849ae897ab8adf4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling tzar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 64 | for i in files.iter() [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | const signature: u32 = 0x04034b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | const extraSignature: u32 = 0x08064b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | const centralHeaderSignature: u32 = 0x02014b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | const headerSiggnature: u32 = 0x05054b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | const zip64EOCRSignature: u32 = 0x06064b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | const signature: u32 = 0x07064b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `const` [INFO] [stdout] --> src/zip.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | const signature: u32 = 0x06054b50, [INFO] [stdout] | ^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | lfh: zip::LocalFileHeader, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | eh: zip::EncryptionHeader, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | cdh: zip::CentralDirectoryHeader, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | ds: zip::DigitalSignature, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | z64eocdr: zip::Zip64EOCDRecordV1, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | z64eocdl: zip::Zip64EOCDLocator, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/zip.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | eocdr: zip::EOCDRecord, [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zip` [INFO] [stdout] --> src/archiver.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn archive(input: String) -> zip::ziplog { [INFO] [stdout] | ^^^ use of undeclared crate or module `zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/archiver.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut file = File::open(input)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 39 | use crate::archiver::File; [INFO] [stdout] | [INFO] [stdout] 39 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `zipfile` in module `zip` [INFO] [stdout] --> src/main.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | let ziparchive = zip::zipfile [INFO] [stdout] | ^^^^^^^ not found in `zip` [INFO] [stdout] | [INFO] [stdout] note: these structs exist but are inaccessible [INFO] [stdout] --> src/zip.rs:210:2 [INFO] [stdout] | [INFO] [stdout] 210 | struct zipfile [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `crate::archiver::zip::zip::zipfile`: not accessible [INFO] [stdout] | `crate::zip::zip::zipfile`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `archive` in module `archiver` [INFO] [stdout] --> src/main.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | ziparchive.ziptape.push(archiver::archive(i): Vec); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] note: function `crate::archiver::archiver::archive` exists but is inaccessible [INFO] [stdout] --> src/archiver.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | fn archive(input: String) -> zip::ziplog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ziplog` should have an upper camel case name [INFO] [stdout] --> src/zip.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | struct ziplog [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ziplog` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `zipfile` should have an upper camel case name [INFO] [stdout] --> src/zip.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | struct zipfile [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Zipfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/archiver.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/archiver.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tzar` due to 20 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f4950cdaf57999b1d9961600adc38061824ca5ff28efc107849ae897ab8adf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4950cdaf57999b1d9961600adc38061824ca5ff28efc107849ae897ab8adf4", kill_on_drop: false }` [INFO] [stdout] 2f4950cdaf57999b1d9961600adc38061824ca5ff28efc107849ae897ab8adf4