[INFO] cloning repository https://github.com/baevm/monkey-lang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baevm/monkey-lang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaevm%2Fmonkey-lang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaevm%2Fmonkey-lang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed6953ddb8393760628993357e0ce6078c88a0b3 [INFO] checking baevm/monkey-lang-rs against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaevm%2Fmonkey-lang-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/baevm/monkey-lang-rs [INFO] finished tweaking git repo https://github.com/baevm/monkey-lang-rs [INFO] tweaked toml for git repo https://github.com/baevm/monkey-lang-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/baevm/monkey-lang-rs on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/baevm/monkey-lang-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d6703617e967f202e0399ce881da21ac7832950696b20b71b33ca18cf7a6135 [INFO] running `Command { std: "docker" "start" "-a" "8d6703617e967f202e0399ce881da21ac7832950696b20b71b33ca18cf7a6135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d6703617e967f202e0399ce881da21ac7832950696b20b71b33ca18cf7a6135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6703617e967f202e0399ce881da21ac7832950696b20b71b33ca18cf7a6135", kill_on_drop: false }` [INFO] [stdout] 8d6703617e967f202e0399ce881da21ac7832950696b20b71b33ca18cf7a6135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9047846a6301728ad86e5e2c6b2dff2eb882dfdaa5e0cc68c9dd0940da056ca8 [INFO] running `Command { std: "docker" "start" "-a" "9047846a6301728ad86e5e2c6b2dff2eb882dfdaa5e0cc68c9dd0940da056ca8", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking monke_core v0.1.0 (/opt/rustwide/workdir/crates/monke_core) [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stderr] Checking serde v1.0.219 [INFO] [stdout] warning: unused variable: `let_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | Statement::LetStatement(let_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_let_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | Statement::ReturnStatement(return_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | Statement::BlockStatement(block_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let right_result = self.compile_expression(&infix.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let left_result = self.compile_expression(&infix.left)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let left_result = self.compile_expression(&infix.left)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let right_result = self.compile_expression(&infix.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let right_result = self.compile_expression(&prefix_expr.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> crates/cli/src/run.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let line = stdin.read_line(&mut buf)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> crates/cli/src/run.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let line = stdin.read_line(&mut buf)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> crates/cli/src/run.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let environment = Environment::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> crates/cli/src/run.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let environment = Environment::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> crates/cli/src/run.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Err(err) = compiler.compile(program) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> crates/cli/src/run.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Err(err) = compiler.compile(program) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> crates/cli/src/run.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(err) = vm.run() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> crates/cli/src/run.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Err(err) = vm.run() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stdout] warning: unused variable: `let_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | Statement::LetStatement(let_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_let_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | Statement::ReturnStatement(return_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | Statement::BlockStatement(block_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_statement` [INFO] [stdout] --> crates/compiler/src/compiler.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let right_result = self.compile_expression(&infix.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let left_result = self.compile_expression(&infix.left)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let left_result = self.compile_expression(&infix.left)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let right_result = self.compile_expression(&infix.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_result` [INFO] [stdout] --> crates/compiler/src/compiler.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let right_result = self.compile_expression(&prefix_expr.right)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bool` is never constructed [INFO] [stdout] --> crates/compiler/src/compiler.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 155 | enum ExpectedConstant { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 156 | I64(i64), [INFO] [stdout] 157 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/compiler/benches/benchmark.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let result = vm.run().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_let_statement` is never used [INFO] [stdout] --> crates/monke_core/src/parser.rs:1999:8 [INFO] [stdout] | [INFO] [stdout] 1999 | fn test_let_statement(stmt: &Statement, expected: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.59s [INFO] running `Command { std: "docker" "inspect" "9047846a6301728ad86e5e2c6b2dff2eb882dfdaa5e0cc68c9dd0940da056ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9047846a6301728ad86e5e2c6b2dff2eb882dfdaa5e0cc68c9dd0940da056ca8", kill_on_drop: false }` [INFO] [stdout] 9047846a6301728ad86e5e2c6b2dff2eb882dfdaa5e0cc68c9dd0940da056ca8