[INFO] cloning repository https://github.com/knobby-tires/bfc.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knobby-tires/bfc.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknobby-tires%2Fbfc.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknobby-tires%2Fbfc.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28d84dec53fcdd7ce0a3520ee5e1254ac73fe94c [INFO] checking knobby-tires/bfc.rs/28d84dec53fcdd7ce0a3520ee5e1254ac73fe94c against master#01706e1a34c87656fcbfce198608f4cd2ac6461a for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknobby-tires%2Fbfc.rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knobby-tires/bfc.rs on toolchain 01706e1a34c87656fcbfce198608f4cd2ac6461a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/knobby-tires/bfc.rs [INFO] finished tweaking git repo https://github.com/knobby-tires/bfc.rs [INFO] tweaked toml for git repo https://github.com/knobby-tires/bfc.rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/knobby-tires/bfc.rs 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" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bedb1d254334c15a7b53e7d4a686836cfb4987a9050b04023e15c745c643336a [INFO] running `Command { std: "docker" "start" "-a" "bedb1d254334c15a7b53e7d4a686836cfb4987a9050b04023e15c745c643336a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bedb1d254334c15a7b53e7d4a686836cfb4987a9050b04023e15c745c643336a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedb1d254334c15a7b53e7d4a686836cfb4987a9050b04023e15c745c643336a", kill_on_drop: false }` [INFO] [stdout] bedb1d254334c15a7b53e7d4a686836cfb4987a9050b04023e15c745c643336a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+01706e1a34c87656fcbfce198608f4cd2ac6461a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c711c5c1a5bcf278c96631d760fd03b27e68517b43d0ca5ae4124612e514cfd [INFO] running `Command { std: "docker" "start" "-a" "4c711c5c1a5bcf278c96631d760fd03b27e68517b43d0ca5ae4124612e514cfd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking brainfuck_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/interpreter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/interpreter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add` and `Sub` are never constructed [INFO] [stdout] --> src/parser.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Add(usize), // optimized multiple increments [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Sub(usize), // optimized multiple decrements [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_instruction_breakpoint`, `set_memory_breakpoint`, and `set_loop_breakpoint` are never used [INFO] [stdout] --> src/interpreter.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_instruction_breakpoint(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_memory_breakpoint(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_loop_breakpoint(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeGenerator` is never constructed [INFO] [stdout] --> src/codegen.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CodeGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `generate_instruction` are never used [INFO] [stdout] --> src/codegen.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl CodeGenerator { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn generate(&mut self, ast: &AstNode) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn generate_instruction(&mut self, instruction: &AstNode) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Optimizer` is never constructed [INFO] [stdout] --> src/optimizer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Optimizer; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `optimize`, and `optimize_instructions` are never used [INFO] [stdout] --> src/optimizer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | impl Optimizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn optimize(&self, ast: &AstNode) -> AstNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn optimize_instructions(&self, instructions: &[AstNode]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Interpreter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_instruction_breakpoint`, `set_memory_breakpoint`, and `set_loop_breakpoint` are never used [INFO] [stdout] --> src/interpreter.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Interpreter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_instruction_breakpoint(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_memory_breakpoint(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_loop_breakpoint(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.17s [INFO] running `Command { std: "docker" "inspect" "4c711c5c1a5bcf278c96631d760fd03b27e68517b43d0ca5ae4124612e514cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c711c5c1a5bcf278c96631d760fd03b27e68517b43d0ca5ae4124612e514cfd", kill_on_drop: false }` [INFO] [stdout] 4c711c5c1a5bcf278c96631d760fd03b27e68517b43d0ca5ae4124612e514cfd