[INFO] cloning repository https://github.com/jeppester/rust-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeppester/rust-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44300ad7f3aea5816bf6b9834fbf5eb21cb7e539 [INFO] checking jeppester/rust-interpreter against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] finished tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] tweaked toml for git repo https://github.com/jeppester/rust-interpreter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jeppester/rust-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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 [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 jeppester/rust-interpreter against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] finished tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] tweaked toml for git repo https://github.com/jeppester/rust-interpreter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jeppester/rust-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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 jeppester/rust-interpreter against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] finished tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] tweaked toml for git repo https://github.com/jeppester/rust-interpreter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jeppester/rust-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e45089987a4f1c6e193d3bd5deafb957566c0732f367f3a0d62f501bd33f76a5 [INFO] running `Command { std: "docker" "start" "-a" "e45089987a4f1c6e193d3bd5deafb957566c0732f367f3a0d62f501bd33f76a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e45089987a4f1c6e193d3bd5deafb957566c0732f367f3a0d62f501bd33f76a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45089987a4f1c6e193d3bd5deafb957566c0732f367f3a0d62f501bd33f76a5", kill_on_drop: false }` [INFO] [stdout] e45089987a4f1c6e193d3bd5deafb957566c0732f367f3a0d62f501bd33f76a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47848689eb2a2f9b8dcc372e3ec72f20f72099f15e6ca44a4bd5275e0ae43af5 [INFO] running `Command { std: "docker" "start" "-a" "47848689eb2a2f9b8dcc372e3ec72f20f72099f15e6ca44a4bd5275e0ae43af5", kill_on_drop: false }` [INFO] [stderr] Checking monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `match_or_fail` [INFO] [stdout] --> src/test_support/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! match_or_fail { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Expression { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 45 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStatement` is never constructed [INFO] [stdout] --> src/ast/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl Statement { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 83 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 107 | impl Program { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 108 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/block_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockStatement { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/boolean_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BooleanLiteral { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BooleanLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl BooleanLiteral { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/call_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CallExpression { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CallExpression { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/function_literal.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FunctionLiteral { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl FunctionLiteral { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/identifier.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Identifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl Identifier { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/if_expression.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IfExpression { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl IfExpression { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/infix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfixExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfixExpression { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/integer_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IntegerLiteral { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntegerLiteral { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/let_statement.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LetStatement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/let_statement.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl LetStatement { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/prefix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl PrefixExpression { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/return_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/return_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl ReturnStatement { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/string_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StringLiteral { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/string_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringLiteral { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/environment.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set(&mut self, key: &str, value: Object) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let previous_or_none = self.store.insert(key.to_string(), value); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Object::Null) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 112 | let expression = parser.parse_expression(precedences::PREFIX)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Expression::PrefixExpression(PrefixExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 115 | | token, [INFO] [stdout] 116 | | operator, [INFO] [stdout] 117 | | right: Box::new(expression), [INFO] [stdout] 118 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 123 | left: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let right = parser.parse_expression(precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | [INFO] [stdout] 133 | Ok(Expression::InfixExpression(InfixExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 134 | | token, [INFO] [stdout] 135 | | left: Box::new(left), [INFO] [stdout] 136 | | operator, [INFO] [stdout] 137 | | right: Box::new(right), [INFO] [stdout] 138 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 171 | let condition = parser.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let true_block = parser.parse_block_statement(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | [INFO] [stdout] 178 | let false_block_or_none = if parser.peek_token_is(token_types::ELSE) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Ok(Expression::IfExpression(IfExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 188 | | token, [INFO] [stdout] 189 | | condition: Box::new(condition), [INFO] [stdout] 190 | | true_block: Box::new(true_block), [INFO] [stdout] 191 | | false_block_or_none: Box::new(false_block_or_none), [INFO] [stdout] 192 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:206:6 [INFO] [stdout] | [INFO] [stdout] 204 | let body = parser.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | Ok(Expression::FunctionLiteral(FunctionLiteral { [INFO] [stdout] | ______^ [INFO] [stdout] 207 | | token, [INFO] [stdout] 208 | | arguments, [INFO] [stdout] 209 | | body: Box::new(body), [INFO] [stdout] 210 | | })) [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 333 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | Ok(Statement::LetStatement(LetStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 340 | | token, [INFO] [stdout] 341 | | name, [INFO] [stdout] 342 | | value: expression, [INFO] [stdout] 343 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 351 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let return_statement = ReturnStatement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | Ok(Statement::ReturnStatement(return_statement)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 366 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | Ok(Statement::Expression(expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | let return_object = self.return_value.eval(env)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Ok(Object::Return(Box::new(return_object))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 181 | let right_object = right.eval(env)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | [INFO] [stdout] 183 | Ok(native_boolean_to_boolean_object(!*right_object.get_boolean_value()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 187 | let right_object = right.eval(env)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | Ok(Object::Integer(-numeric_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 209 | let object = self.value.eval(env)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | [INFO] [stdout] 211 | env.borrow_mut().set(&self.name.value, object) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-interpreter` (bin "monkey-interpreter") due to 13 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/test_support/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | ref e => panic!("Expected match for:\n\t{}\nGot:\n\t{:?}", stringify!($matcher), e), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/eval/tests.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let error_message = match_or_fail!(error, EvalError(m) => m); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | matches any value [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_or_fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 45 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStatement` is never constructed [INFO] [stdout] --> src/ast/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl Statement { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 83 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 107 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 108 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/block_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockStatement { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl BooleanLiteral { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/call_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CallExpression { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CallExpression { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl FunctionLiteral { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl Identifier { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/if_expression.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IfExpression { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl IfExpression { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/infix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfixExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfixExpression { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntegerLiteral { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/prefix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pub 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] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl PrefixExpression { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/string_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringLiteral { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object/environment.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn set(&mut self, key: &str, value: Object) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let previous_or_none = self.store.insert(key.to_string(), value); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Object::Null) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 112 | let expression = parser.parse_expression(precedences::PREFIX)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(Expression::PrefixExpression(PrefixExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 115 | | token, [INFO] [stdout] 116 | | operator, [INFO] [stdout] 117 | | right: Box::new(expression), [INFO] [stdout] 118 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 123 | left: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let right = parser.parse_expression(precedence)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | [INFO] [stdout] 133 | Ok(Expression::InfixExpression(InfixExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 134 | | token, [INFO] [stdout] 135 | | left: Box::new(left), [INFO] [stdout] 136 | | operator, [INFO] [stdout] 137 | | right: Box::new(right), [INFO] [stdout] 138 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 171 | let condition = parser.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | let true_block = parser.parse_block_statement(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | [INFO] [stdout] 178 | let false_block_or_none = if parser.peek_token_is(token_types::ELSE) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Ok(Expression::IfExpression(IfExpression { [INFO] [stdout] | ______^ [INFO] [stdout] 188 | | token, [INFO] [stdout] 189 | | condition: Box::new(condition), [INFO] [stdout] 190 | | true_block: Box::new(true_block), [INFO] [stdout] 191 | | false_block_or_none: Box::new(false_block_or_none), [INFO] [stdout] 192 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:206:6 [INFO] [stdout] | [INFO] [stdout] 204 | let body = parser.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | Ok(Expression::FunctionLiteral(FunctionLiteral { [INFO] [stdout] | ______^ [INFO] [stdout] 207 | | token, [INFO] [stdout] 208 | | arguments, [INFO] [stdout] 209 | | body: Box::new(body), [INFO] [stdout] 210 | | })) [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 333 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | Ok(Statement::LetStatement(LetStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 340 | | token, [INFO] [stdout] 341 | | name, [INFO] [stdout] 342 | | value: expression, [INFO] [stdout] 343 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 351 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let return_statement = ReturnStatement { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | Ok(Statement::ReturnStatement(return_statement)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 366 | let expression = self.parse_expression(precedences::LOWEST)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | Ok(Statement::Expression(expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | let return_object = self.return_value.eval(env)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Ok(Object::Return(Box::new(return_object))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:183:6 [INFO] [stdout] | [INFO] [stdout] 181 | let right_object = right.eval(env)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | [INFO] [stdout] 183 | Ok(native_boolean_to_boolean_object(!*right_object.get_boolean_value()?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 187 | let right_object = right.eval(env)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | Ok(Object::Integer(-numeric_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 209 | let object = self.value.eval(env)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | [INFO] [stdout] 211 | env.borrow_mut().set(&self.name.value, object) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-interpreter` (bin "monkey-interpreter" test) due to 13 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "47848689eb2a2f9b8dcc372e3ec72f20f72099f15e6ca44a4bd5275e0ae43af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47848689eb2a2f9b8dcc372e3ec72f20f72099f15e6ca44a4bd5275e0ae43af5", kill_on_drop: false }` [INFO] [stdout] 47848689eb2a2f9b8dcc372e3ec72f20f72099f15e6ca44a4bd5275e0ae43af5