[INFO] cloning repository https://github.com/MaxIvanyshen/monkey-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaxIvanyshen/monkey-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxIvanyshen%2Fmonkey-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxIvanyshen%2Fmonkey-interpreter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6def9851e675b10269488fd07e72541740e3f308 [INFO] checking MaxIvanyshen/monkey-interpreter-rust/6def9851e675b10269488fd07e72541740e3f308 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxIvanyshen%2Fmonkey-interpreter-rust" "/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/MaxIvanyshen/monkey-interpreter-rust on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaxIvanyshen/monkey-interpreter-rust [INFO] finished tweaking git repo https://github.com/MaxIvanyshen/monkey-interpreter-rust [INFO] tweaked toml for git repo https://github.com/MaxIvanyshen/monkey-interpreter-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MaxIvanyshen/monkey-interpreter-rust 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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 2021 which implies `resolver = "2"` [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 2021 resolver, specify `workspace.resolver = "2"` 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-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36952780369c80c37735bf5b4042c764cde0fb7b1fe4c5ccf14c28a2996f4e64 [INFO] running `Command { std: "docker" "start" "-a" "36952780369c80c37735bf5b4042c764cde0fb7b1fe4c5ccf14c28a2996f4e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36952780369c80c37735bf5b4042c764cde0fb7b1fe4c5ccf14c28a2996f4e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36952780369c80c37735bf5b4042c764cde0fb7b1fe4c5ccf14c28a2996f4e64", kill_on_drop: false }` [INFO] [stdout] 36952780369c80c37735bf5b4042c764cde0fb7b1fe4c5ccf14c28a2996f4e64 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5e976715a788265c9847a046e5ba5b792881611085bd65b4942f7e1ac6933f6 [INFO] running `Command { std: "docker" "start" "-a" "a5e976715a788265c9847a046e5ba5b792881611085bd65b4942f7e1ac6933f6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [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 2021 resolver, specify `workspace.resolver = "2"` 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 token v0.1.0 (/opt/rustwide/workdir/token) [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> token/src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DOUBLE_QUOTE` should have an upper camel case name [INFO] [stdout] --> token/src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | DOUBLE_QUOTE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DoubleQuote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> token/src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DOUBLE_QUOTE` should have an upper camel case name [INFO] [stdout] --> token/src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | DOUBLE_QUOTE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DoubleQuote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ast v0.1.0 (/opt/rustwide/workdir/ast) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LET_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LET_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LetStatement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RETURN_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | RETURN_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReturnStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EXPRESSION_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | EXPRESSION_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExpressionStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INTEGER_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | INTEGER_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntegerLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STRING_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | STRING_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StringLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PREFIX_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PREFIX_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PrefixExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INFIX_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | INFIX_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InfixExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IF_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IF_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IfExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | BLOCK_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FUNCTION_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FUNCTION_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FunctionLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CALL_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LET_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | LET_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LetStatement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RETURN_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | RETURN_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReturnStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EXPRESSION_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | EXPRESSION_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExpressionStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INTEGER_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | INTEGER_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IntegerLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STRING_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | STRING_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StringLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PREFIX_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PREFIX_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PrefixExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INFIX_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | INFIX_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InfixExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IF_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | IF_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IfExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_STATEMENT` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | BLOCK_STATEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockStatement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FUNCTION_LITERAL` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FUNCTION_LITERAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FunctionLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_EXPRESSION` should have an upper camel case name [INFO] [stdout] --> ast/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CALL_EXPRESSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallExpression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking object v0.1.0 (/opt/rustwide/workdir/object) [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: variant `RETURN_VALUE` should have an upper camel case name [INFO] [stdout] --> object/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RETURN_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReturnValue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Node` [INFO] [stdout] --> object/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] --> parser/src/lib.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 110 | let expression = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Some(Rc::new(ast::ExpressionStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 115 | | token, [INFO] [stdout] 116 | | expression, [INFO] [stdout] 117 | | })) [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] --> parser/src/lib.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 138 | let value = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Some(Rc::new(ast::LetStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 145 | | token, [INFO] [stdout] 146 | | name, [INFO] [stdout] 147 | | value, [INFO] [stdout] 148 | | })) [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] --> parser/src/lib.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 161 | let return_value = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(Rc::new(ast::ReturnStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | token, [INFO] [stdout] 169 | | return_value, [INFO] [stdout] 170 | | })) [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] --> parser/src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 175 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Some(Rc::new(ast::BlockStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 188 | | token, [INFO] [stdout] 189 | | statements, [INFO] [stdout] 190 | | })) [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] --> parser/src/lib.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 252 | let right = self.parse_expression(Precedence::PREFIX).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Some(Rc::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 254 | | ast::PrefixExpression { [INFO] [stdout] 255 | | token: self.current_token.clone(), [INFO] [stdout] 256 | | operator: operator.to_string(), [INFO] [stdout] 257 | | right, [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | )) [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] --> parser/src/lib.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 262 | fn parse_infix_expression(&mut self, left: Rc) -> Option> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let right = self.parse_expression(precedence).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | [INFO] [stdout] 270 | Some(Rc::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 271 | | InfixExpression { [INFO] [stdout] 272 | | token, [INFO] [stdout] 273 | | left, [INFO] [stdout] ... | [INFO] [stdout] 276 | | } [INFO] [stdout] 277 | | )) [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] --> parser/src/lib.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 312 | let condition = self.parse_expression(Precedence::LOWEST).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let if_body = self.parse_block_statement(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let mut if_exp = ast::IfExpression { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Some(Rc::new(if_exp)) [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] --> parser/src/lib.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 363 | let body = self.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | Some(Rc::new(ast::FunctionLiteral { [INFO] [stdout] | ______________^ [INFO] [stdout] 370 | | token, [INFO] [stdout] 371 | | parameters, [INFO] [stdout] 372 | | body: body.unwrap(), [INFO] [stdout] 373 | | })) [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] --> parser/src/lib.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 410 | fn parse_call_expression(&mut self, function: Rc) -> Option> { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | let token = self.current_token.clone(); [INFO] [stdout] 412 | let arguments = self.parse_call_arguments(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | Some(Rc::new(ast::CallExpression { [INFO] [stdout] | ______________^ [INFO] [stdout] 414 | | token, [INFO] [stdout] 415 | | function, [INFO] [stdout] 416 | | arguments, [INFO] [stdout] 417 | | })) [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] warning: variant `RETURN_VALUE` should have an upper camel case name [INFO] [stdout] --> object/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RETURN_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReturnValue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> object/src/lib.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn new_enclosed(outer: Rc>) -> Rc> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let mut env = Environment::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | env.scope = outer.borrow().scope.clone(); [INFO] [stdout] 180 | Rc::new(RefCell::new(env)) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `object` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused import: `ast::Node` [INFO] [stdout] --> object/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false_exp_stmt` [INFO] [stdout] --> parser/src/lib.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let false_exp_stmt: &ast::ExpressionStatement = program.statements[1].as_any().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_false_exp_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] --> object/src/lib.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn new_enclosed(outer: Rc>) -> Rc> { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let mut env = Environment::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | env.scope = outer.borrow().scope.clone(); [INFO] [stdout] 180 | Rc::new(RefCell::new(env)) [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: aborting due to 1 previous error; 2 warnings emitted [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] --> parser/src/lib.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 110 | let expression = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Some(Rc::new(ast::ExpressionStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 115 | | token, [INFO] [stdout] 116 | | expression, [INFO] [stdout] 117 | | })) [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] --> parser/src/lib.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 138 | let value = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Some(Rc::new(ast::LetStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 145 | | token, [INFO] [stdout] 146 | | name, [INFO] [stdout] 147 | | value, [INFO] [stdout] 148 | | })) [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] --> parser/src/lib.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 161 | let return_value = self.parse_expression(Precedence::LOWEST); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(Rc::new(ast::ReturnStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | token, [INFO] [stdout] 169 | | return_value, [INFO] [stdout] 170 | | })) [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] --> parser/src/lib.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 175 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Some(Rc::new(ast::BlockStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 188 | | token, [INFO] [stdout] 189 | | statements, [INFO] [stdout] 190 | | })) [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] --> parser/src/lib.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 252 | let right = self.parse_expression(Precedence::PREFIX).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Some(Rc::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 254 | | ast::PrefixExpression { [INFO] [stdout] 255 | | token: self.current_token.clone(), [INFO] [stdout] 256 | | operator: operator.to_string(), [INFO] [stdout] 257 | | right, [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | )) [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] --> parser/src/lib.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 262 | fn parse_infix_expression(&mut self, left: Rc) -> Option> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let right = self.parse_expression(precedence).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | [INFO] [stdout] 270 | Some(Rc::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 271 | | InfixExpression { [INFO] [stdout] 272 | | token, [INFO] [stdout] 273 | | left, [INFO] [stdout] ... | [INFO] [stdout] 276 | | } [INFO] [stdout] 277 | | )) [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] --> parser/src/lib.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 312 | let condition = self.parse_expression(Precedence::LOWEST).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let if_body = self.parse_block_statement(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let mut if_exp = ast::IfExpression { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Some(Rc::new(if_exp)) [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] --> parser/src/lib.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 363 | let body = self.parse_block_statement(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | Some(Rc::new(ast::FunctionLiteral { [INFO] [stdout] | ______________^ [INFO] [stdout] 370 | | token, [INFO] [stdout] 371 | | parameters, [INFO] [stdout] 372 | | body: body.unwrap(), [INFO] [stdout] 373 | | })) [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] --> parser/src/lib.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 410 | fn parse_call_expression(&mut self, function: Rc) -> Option> { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | let token = self.current_token.clone(); [INFO] [stdout] 412 | let arguments = self.parse_call_arguments(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | Some(Rc::new(ast::CallExpression { [INFO] [stdout] | ______________^ [INFO] [stdout] 414 | | token, [INFO] [stdout] 415 | | function, [INFO] [stdout] 416 | | arguments, [INFO] [stdout] 417 | | })) [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] warning: variable `falsE` should have a snake case name [INFO] [stdout] --> parser/src/lib.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | let falsE: &ast::Boolean = true_exp_stmt.expression.as_ref().unwrap().as_any().downcast_ref::().unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `fals_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `object` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5e976715a788265c9847a046e5ba5b792881611085bd65b4942f7e1ac6933f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e976715a788265c9847a046e5ba5b792881611085bd65b4942f7e1ac6933f6", kill_on_drop: false }` [INFO] [stdout] a5e976715a788265c9847a046e5ba5b792881611085bd65b4942f7e1ac6933f6