[INFO] cloning repository https://github.com/p2mate/monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p2mate/monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fmonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fmonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd785bbb43c986a17a900b2be4340a4d877c50db [INFO] testing p2mate/monkey against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp2mate%2Fmonkey" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/p2mate/monkey on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/p2mate/monkey [INFO] finished tweaking git repo https://github.com/p2mate/monkey [INFO] tweaked toml for git repo https://github.com/p2mate/monkey written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/p2mate/monkey already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4291509a0decd7336fa4e6a2e361c8f0430ac34f2114aaa824fbf2b4afe10ed2 [INFO] running `Command { std: "docker" "start" "-a" "4291509a0decd7336fa4e6a2e361c8f0430ac34f2114aaa824fbf2b4afe10ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4291509a0decd7336fa4e6a2e361c8f0430ac34f2114aaa824fbf2b4afe10ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4291509a0decd7336fa4e6a2e361c8f0430ac34f2114aaa824fbf2b4afe10ed2", kill_on_drop: false }` [INFO] [stdout] 4291509a0decd7336fa4e6a2e361c8f0430ac34f2114aaa824fbf2b4afe10ed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fdb9c05885bedf92207a4566a2266e434abbc12e8064eb12d104e7ebb100d9 [INFO] running `Command { std: "docker" "start" "-a" "57fdb9c05885bedf92207a4566a2266e434abbc12e8064eb12d104e7ebb100d9", kill_on_drop: false }` [INFO] [stderr] Compiling monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `prio` [INFO] [stdout] --> src/monkey/parser.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | prio: ExpressionPrio, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_same_type_as` [INFO] [stdout] --> src/monkey/lexer.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn is_same_type_as(&self, other: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/monkey/parser.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ExpressionPrio` [INFO] [stdout] --> src/monkey/parser.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum ExpressionPrio { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_expected` [INFO] [stdout] --> src/monkey/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn from_expected(got: Token, expected: Token) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/monkey/parser.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn from_string(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/monkey/parser.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn new(l: &'a mut Lexer<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_program` [INFO] [stdout] --> src/monkey/parser.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_program(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_statement` [INFO] [stdout] --> src/monkey/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_let_statement` [INFO] [stdout] --> src/monkey/parser.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_let_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_return_statement` [INFO] [stdout] --> src/monkey/parser.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn parse_return_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression_statement` [INFO] [stdout] --> src/monkey/parser.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn parse_expression_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/monkey/parser.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn parse_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_peek` [INFO] [stdout] --> src/monkey/parser.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn expect_peek( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/monkey/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/monkey/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntegerLiteral` [INFO] [stdout] --> src/monkey/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | IntegerLiteral(IntegerLiteral), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrefixExpression` [INFO] [stdout] --> src/monkey/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PrefixExpression(PrefixExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Identifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_token` [INFO] [stdout] --> src/monkey/ast.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_token(t: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/monkey/ast.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn token_literal(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IntegerLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_token` [INFO] [stdout] --> src/monkey/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_token(t: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/monkey/ast.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn token_literal(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/monkey/ast.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrefixOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bang` [INFO] [stdout] --> src/monkey/ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrefixOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_token` [INFO] [stdout] --> src/monkey/ast.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn from_token(t: Token) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_token` [INFO] [stdout] --> src/monkey/ast.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_token(t: Token, expr: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrefixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReturnStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LetStatement` [INFO] [stdout] --> src/monkey/ast.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | LetStatement(LetStatement), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnStatement` [INFO] [stdout] --> src/monkey/ast.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | ReturnStatement(ReturnStatement), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/monkey/ast.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Expression(Expression), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/monkey/ast.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Identifier(Identifier), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExpressionStatement` [INFO] [stdout] --> src/monkey/ast.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | ExpressionStatement(ExpressionStatement), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/monkey/ast.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn token_literal(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_let_node` [INFO] [stdout] --> src/monkey/ast.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new_let_node(token: Token, name: Identifier, expression: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_return_node` [INFO] [stdout] --> src/monkey/ast.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn new_return_node(token: Token, expression: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_expression_statement_node` [INFO] [stdout] --> src/monkey/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn new_expression_statement_node(token: Token, expression: Expression) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_same_type_as` [INFO] [stdout] --> src/monkey/ast.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn is_same_type_as(&self, other: &ASTNode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/monkey/ast.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/monkey/ast.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn push(&mut self, node: ASTNode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "57fdb9c05885bedf92207a4566a2266e434abbc12e8064eb12d104e7ebb100d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fdb9c05885bedf92207a4566a2266e434abbc12e8064eb12d104e7ebb100d9", kill_on_drop: false }` [INFO] [stdout] 57fdb9c05885bedf92207a4566a2266e434abbc12e8064eb12d104e7ebb100d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f8eb86d7809555bfd0dc7285478b99a77407370ea20c591befae1ae198b297c [INFO] running `Command { std: "docker" "start" "-a" "7f8eb86d7809555bfd0dc7285478b99a77407370ea20c591befae1ae198b297c", kill_on_drop: false }` [INFO] [stderr] Compiling monkey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `prio` [INFO] [stdout] --> src/monkey/parser.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | prio: ExpressionPrio, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equals` [INFO] [stdout] --> src/monkey/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Equals = 1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessGreater` [INFO] [stdout] --> src/monkey/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | LessGreater = 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sum` [INFO] [stdout] --> src/monkey/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sum = 3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Product` [INFO] [stdout] --> src/monkey/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Product = 4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/monkey/parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Call = 6, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrefixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/monkey/ast.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | token: Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/monkey/ast.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/monkey/ast.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Expression(Expression), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/monkey/ast.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Identifier(Identifier), [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] --> src/monkey/ast.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "7f8eb86d7809555bfd0dc7285478b99a77407370ea20c591befae1ae198b297c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8eb86d7809555bfd0dc7285478b99a77407370ea20c591befae1ae198b297c", kill_on_drop: false }` [INFO] [stdout] 7f8eb86d7809555bfd0dc7285478b99a77407370ea20c591befae1ae198b297c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08e482808e8fa60423897250c503472a28fbac48e17072f0608490ed6a99efe3 [INFO] running `Command { std: "docker" "start" "-a" "08e482808e8fa60423897250c503472a28fbac48e17072f0608490ed6a99efe3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `prio` [INFO] [stderr] --> src/monkey/parser.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | prio: ExpressionPrio, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prio` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equals` [INFO] [stderr] --> src/monkey/parser.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Equals = 1, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LessGreater` [INFO] [stderr] --> src/monkey/parser.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | LessGreater = 2, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sum` [INFO] [stderr] --> src/monkey/parser.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Sum = 3, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Product` [INFO] [stderr] --> src/monkey/parser.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Product = 4, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/monkey/parser.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Call = 6, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token` [INFO] [stderr] --> src/monkey/ast.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | token: Token, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PrefixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/monkey/ast.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token` [INFO] [stderr] --> src/monkey/ast.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | token: Token, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/monkey/ast.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expression` [INFO] [stderr] --> src/monkey/ast.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | Expression(Expression), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ASTNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/monkey/ast.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/monkey/ast.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | Identifier(Identifier), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ASTNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/monkey/ast.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `monkey` (bin "monkey" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/monkey-a6253505557a6d8d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test monkey::lexer::test_next_token_0 ... ok [INFO] [stdout] test monkey::lexer::test_next_token_1 ... ok [INFO] [stdout] test monkey::lexer::test_next_token_2 ... ok [INFO] [stdout] test monkey::parser::test_integer_literals ... ok [INFO] [stdout] test monkey::parser::test_identifiers ... ok [INFO] [stdout] test monkey::parser::test_return_statements ... ok [INFO] [stdout] test monkey::parser::test_parsing_prefix_expr ... ok [INFO] [stdout] test monkey::parser::test_let_statements ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08e482808e8fa60423897250c503472a28fbac48e17072f0608490ed6a99efe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e482808e8fa60423897250c503472a28fbac48e17072f0608490ed6a99efe3", kill_on_drop: false }` [INFO] [stdout] 08e482808e8fa60423897250c503472a28fbac48e17072f0608490ed6a99efe3