[INFO] cloning repository https://github.com/jmutton2/monkey_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmutton2/monkey_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmutton2%2Fmonkey_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmutton2%2Fmonkey_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4daf8121cd42e58361d0ae350fa133d4ae618c2 [INFO] checking jmutton2/monkey_interpreter against master#65cd843ae06ad00123c131a431ed5304e4cd577a for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmutton2%2Fmonkey_interpreter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmutton2/monkey_interpreter on toolchain 65cd843ae06ad00123c131a431ed5304e4cd577a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] finished tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/jmutton2/monkey_interpreter written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmutton2/monkey_interpreter 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" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jmutton2/monkey_interpreter against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmutton2%2Fmonkey_interpreter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmutton2/monkey_interpreter on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] finished tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/jmutton2/monkey_interpreter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jmutton2/monkey_interpreter 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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking jmutton2/monkey_interpreter against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmutton2%2Fmonkey_interpreter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmutton2/monkey_interpreter on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] finished tweaking git repo https://github.com/jmutton2/monkey_interpreter [INFO] tweaked toml for git repo https://github.com/jmutton2/monkey_interpreter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jmutton2/monkey_interpreter 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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42b8c65fb185c1310602c95358a5afdd7b271d8a0828cf21f340525523daab7c [INFO] running `Command { std: "docker" "start" "-a" "42b8c65fb185c1310602c95358a5afdd7b271d8a0828cf21f340525523daab7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42b8c65fb185c1310602c95358a5afdd7b271d8a0828cf21f340525523daab7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b8c65fb185c1310602c95358a5afdd7b271d8a0828cf21f340525523daab7c", kill_on_drop: false }` [INFO] [stdout] 42b8c65fb185c1310602c95358a5afdd7b271d8a0828cf21f340525523daab7c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d17b6f446a6cd10dc146037c15f4f73aac813b19af8323e0431cbaf338054ed [INFO] running `Command { std: "docker" "start" "-a" "8d17b6f446a6cd10dc146037c15f4f73aac813b19af8323e0431cbaf338054ed", kill_on_drop: false }` [INFO] [stderr] Checking monkey_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ident1` [INFO] [stdout] --> src/token/token.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | (Token::Ident(ident1), Token::Ident(ident2)) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident2` [INFO] [stdout] --> src/token/token.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | (Token::Ident(ident1), Token::Ident(ident2)) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast/ast.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn eq(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast/ast.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | _ => "idk".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/ast.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut parsed_string = "".to_owned(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident1` [INFO] [stdout] --> src/token/token.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | (Token::Ident(ident1), Token::Ident(ident2)) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident2` [INFO] [stdout] --> src/token/token.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | (Token::Ident(ident1), Token::Ident(ident2)) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_token_ident` is never used [INFO] [stdout] --> src/token/token.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_token_ident(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LetStatement`, `ReturnStatement`, `ExpressionStatement`, and `NilStatement` are never constructed [INFO] [stdout] --> src/ast/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StatementType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 19 | LetStatement(LetStatement), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | ReturnStatement(ReturnStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | ExpressionStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | NilStatement, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StatementTrait` is never used [INFO] [stdout] --> src/ast/ast.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | trait StatementTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExpressionTrait` is never used [INFO] [stdout] --> src/ast/ast.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | trait ExpressionTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/parser.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(l: Lexer) -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn errors(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn parse_program(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn parse_statement(&mut self) -> StatementType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn parse_let_statement(&mut self) -> StatementType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn parse_return_statement(&mut self) -> StatementType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn current_token_is(&mut self, t: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn peek_token_is(&mut self, t: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn expect_peek(&mut self, t: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn peek_error(&mut self, t: Token) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn check_parse_errors(p: Parser) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_let_statement` is never used [INFO] [stdout] --> src/parser/parser.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn test_let_statement(s: &StatementType, name: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast/ast.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn eq(&self, other: &Node) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast/ast.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | _ => "idk".to_string(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/ast.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut parsed_string = "".to_owned(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpressionStatement` is never constructed [INFO] [stdout] --> src/ast/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StatementType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | ExpressionStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatementType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StatementTrait` is never used [INFO] [stdout] --> src/ast/ast.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | trait StatementTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExpressionTrait` is never used [INFO] [stdout] --> src/ast/ast.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | trait ExpressionTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `errors` is never used [INFO] [stdout] --> src/parser/parser.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | fn errors(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "8d17b6f446a6cd10dc146037c15f4f73aac813b19af8323e0431cbaf338054ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d17b6f446a6cd10dc146037c15f4f73aac813b19af8323e0431cbaf338054ed", kill_on_drop: false }` [INFO] [stdout] 8d17b6f446a6cd10dc146037c15f4f73aac813b19af8323e0431cbaf338054ed