[INFO] cloning repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vbe0201/protosnuff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbe0201%2Fprotosnuff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbe0201%2Fprotosnuff'... [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/vbe0201/protosnuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6d1da8442b500332838a35e84e23dc75f00d778 [INFO] checking vbe0201/protosnuff against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbe0201%2Fprotosnuff" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vbe0201/protosnuff on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vbe0201/protosnuff [INFO] finished tweaking git repo https://github.com/vbe0201/protosnuff [INFO] tweaked toml for git repo https://github.com/vbe0201/protosnuff written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/vbe0201/protosnuff already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa53c724748bedbaf7f9f460e4a7ac81d57f40b98697b6a353b5c5658cfa7ff9 [INFO] running `Command { std: "docker" "start" "-a" "aa53c724748bedbaf7f9f460e4a7ac81d57f40b98697b6a353b5c5658cfa7ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa53c724748bedbaf7f9f460e4a7ac81d57f40b98697b6a353b5c5658cfa7ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa53c724748bedbaf7f9f460e4a7ac81d57f40b98697b6a353b5c5658cfa7ff9", kill_on_drop: false }` [INFO] [stdout] aa53c724748bedbaf7f9f460e4a7ac81d57f40b98697b6a353b5c5658cfa7ff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c71968898d0738963673d9e5dd20ab86a7ab78aebbad5d389c946191efb322ab [INFO] running `Command { std: "docker" "start" "-a" "c71968898d0738963673d9e5dd20ab86a7ab78aebbad5d389c946191efb322ab", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.12.0 [INFO] [stderr] Checking getopts v0.2.19 [INFO] [stderr] Checking protosnuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `arguments` in this scope [INFO] [stdout] --> src/arguments.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(a) => { assert_eq!(arguments.input.to_str().unwrap(), file_name) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let arguments = match arguments::Arguments::parse(&args) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/io.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_file>(path: P) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_bytes` is never used [INFO] [stdout] --> src/io.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read_bytes(reader: &mut R, bytes_to_read: u64) -> Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_varint` is never used [INFO] [stdout] --> src/parser.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_varint(reader: &mut R) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_identifier` is never used [INFO] [stdout] --> src/parser.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_identifier(reader: &mut R) -> Result<(u8, u8), String> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arguments.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => { panic!(f.to_string()); } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => { panic!("{}", f.to_string()); } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arguments.rs:98:80 [INFO] [stdout] | [INFO] [stdout] 98 | let args: Vec = vec![String::from("test"), String::from("-i"), file_name]; [INFO] [stdout] | ^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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 `protosnuff` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c71968898d0738963673d9e5dd20ab86a7ab78aebbad5d389c946191efb322ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71968898d0738963673d9e5dd20ab86a7ab78aebbad5d389c946191efb322ab", kill_on_drop: false }` [INFO] [stdout] c71968898d0738963673d9e5dd20ab86a7ab78aebbad5d389c946191efb322ab