[INFO] cloning repository https://github.com/jaredh159/rust-monkey-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaredh159/rust-monkey-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaredh159%2Frust-monkey-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaredh159%2Frust-monkey-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e423174e109594b07ae2ab25a4c620104a4ed49 [INFO] checking jaredh159/rust-monkey-starter against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaredh159%2Frust-monkey-starter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jaredh159/rust-monkey-starter [INFO] finished tweaking git repo https://github.com/jaredh159/rust-monkey-starter [INFO] tweaked toml for git repo https://github.com/jaredh159/rust-monkey-starter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jaredh159/rust-monkey-starter on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jaredh159/rust-monkey-starter 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1dde497e1a6630d61893c46d5e07d7db41be75698fb9b6a23d43afc971aa96 [INFO] running `Command { std: "docker" "start" "-a" "2e1dde497e1a6630d61893c46d5e07d7db41be75698fb9b6a23d43afc971aa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1dde497e1a6630d61893c46d5e07d7db41be75698fb9b6a23d43afc971aa96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1dde497e1a6630d61893c46d5e07d7db41be75698fb9b6a23d43afc971aa96", kill_on_drop: false }` [INFO] [stdout] 2e1dde497e1a6630d61893c46d5e07d7db41be75698fb9b6a23d43afc971aa96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c717de57d400fc72adfcd4b0915f64cf9c7ab3546f88c4c55076abdc4b3cff4 [INFO] running `Command { std: "docker" "start" "-a" "3c717de57d400fc72adfcd4b0915f64cf9c7ab3546f88c4c55076abdc4b3cff4", kill_on_drop: false }` [INFO] [stderr] Checking monkey-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_token`, and `read_char` are never used [INFO] [stdout] --> src/lexer.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(input: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn next_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn read_char(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/token.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/token.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/token.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub const fn new(token_type: TokenType, literal: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Plus` is never constructed [INFO] [stdout] --> src/token.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 3 | Assign, [INFO] [stdout] 4 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "3c717de57d400fc72adfcd4b0915f64cf9c7ab3546f88c4c55076abdc4b3cff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c717de57d400fc72adfcd4b0915f64cf9c7ab3546f88c4c55076abdc4b3cff4", kill_on_drop: false }` [INFO] [stdout] 3c717de57d400fc72adfcd4b0915f64cf9c7ab3546f88c4c55076abdc4b3cff4