[INFO] cloning repository https://github.com/blindLightning/crust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blindLightning/crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FblindLightning%2Fcrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FblindLightning%2Fcrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7383ab0c085247a233c6fcc5ceada76a722e7fe [INFO] checking blindLightning/crust against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FblindLightning%2Fcrust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blindLightning/crust [INFO] finished tweaking git repo https://github.com/blindLightning/crust [INFO] tweaked toml for git repo https://github.com/blindLightning/crust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blindLightning/crust on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blindLightning/crust 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5abd3898f8854d01b8990a40ef922f67ae60f1571b37f687263bf09f758f11a3 [INFO] running `Command { std: "docker" "start" "-a" "5abd3898f8854d01b8990a40ef922f67ae60f1571b37f687263bf09f758f11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5abd3898f8854d01b8990a40ef922f67ae60f1571b37f687263bf09f758f11a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abd3898f8854d01b8990a40ef922f67ae60f1571b37f687263bf09f758f11a3", kill_on_drop: false }` [INFO] [stdout] 5abd3898f8854d01b8990a40ef922f67ae60f1571b37f687263bf09f758f11a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aca512a9acba41826cfa1b8ddf7f5e82cd37b2e7f753e96f46e3ae791b50d2d [INFO] running `Command { std: "docker" "start" "-a" "1aca512a9acba41826cfa1b8ddf7f5e82cd37b2e7f753e96f46e3ae791b50d2d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking crust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/assembler/instruction_parser.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let result = res.unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/assembler/instruction_parser.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let result = res.unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_byte` is never used [INFO] [stdout] --> src/vm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl VM { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_byte(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/instruction.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instruction.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(opcode: Opcode) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hex` is never used [INFO] [stdout] --> src/repl/mod.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 13 | impl Repl { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn parse_hex(&mut self, hex: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Result` should have a snake case name [INFO] [stdout] --> src/repl/mod.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(_Result) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assembler/parse.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ws(i: Input) -> Result<&str> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ws(i: Input<'_>) -> Result<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Program` should have a snake case name [INFO] [stdout] --> src/assembler/program_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Program(i: parse::Input) -> parse::Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_byte` is never used [INFO] [stdout] --> src/vm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl VM { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_byte(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/instruction.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instruction.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(opcode: Opcode) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hex` is never used [INFO] [stdout] --> src/repl/mod.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 13 | impl Repl { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn parse_hex(&mut self, hex: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Result` should have a snake case name [INFO] [stdout] --> src/repl/mod.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(_Result) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/assembler/parse.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ws(i: Input) -> Result<&str> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ws(i: Input<'_>) -> Result<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Program` should have a snake case name [INFO] [stdout] --> src/assembler/program_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Program(i: parse::Input) -> parse::Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `program` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "1aca512a9acba41826cfa1b8ddf7f5e82cd37b2e7f753e96f46e3ae791b50d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aca512a9acba41826cfa1b8ddf7f5e82cd37b2e7f753e96f46e3ae791b50d2d", kill_on_drop: false }` [INFO] [stdout] 1aca512a9acba41826cfa1b8ddf7f5e82cd37b2e7f753e96f46e3ae791b50d2d