[INFO] cloning repository https://github.com/brundonsmith/javascript_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brundonsmith/javascript_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fjavascript_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fjavascript_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d74006c426503cefd63fb2d315c7850bed02cf3 [INFO] checking brundonsmith/javascript_parser/2d74006c426503cefd63fb2d315c7850bed02cf3 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%2Fbrundonsmith%2Fjavascript_parser" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/javascript_parser 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/brundonsmith/javascript_parser [INFO] finished tweaking git repo https://github.com/brundonsmith/javascript_parser [INFO] tweaked toml for git repo https://github.com/brundonsmith/javascript_parser written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brundonsmith/javascript_parser 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f9549387d1be368404678773731919a66a000e2ffadffa99af0e1b308cec68b6 [INFO] running `Command { std: "docker" "start" "-a" "f9549387d1be368404678773731919a66a000e2ffadffa99af0e1b308cec68b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9549387d1be368404678773731919a66a000e2ffadffa99af0e1b308cec68b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9549387d1be368404678773731919a66a000e2ffadffa99af0e1b308cec68b6", kill_on_drop: false }` [INFO] [stdout] f9549387d1be368404678773731919a66a000e2ffadffa99af0e1b308cec68b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a79b062c7c3f97174978c10d5add1d08af5c503cce82c3cfb2f280928fc8de42 [INFO] running `Command { std: "docker" "start" "-a" "a79b062c7c3f97174978c10d5add1d08af5c503cce82c3cfb2f280928fc8de42", kill_on_drop: false }` [INFO] [stderr] Checking javascript_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::parse` [INFO] [stdout] --> src/serializer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{parser::parse, parser_model::{AST, OperatorSide}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/parser_model.rs:194:62 [INFO] [stdout] | [INFO] [stdout] 194 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut constructor = None; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | fn _field(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | fn _field(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | fn _method(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | fn _method(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | fn _getter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | fn _getter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | fn _setter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | fn _setter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/parser_model.rs:194:62 [INFO] [stdout] | [INFO] [stdout] 194 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/serializer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> src/serializer.rs:308:28 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/serializer.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/serializer.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/serializer.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/serializer.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | AST::ClassField { identifier, expression } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/serializer.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | AST::ClassField { identifier, expression } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [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.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 260 | let expr = expression(code, index)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(AST::Parenthesized(Box::new(expr))) [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] = 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.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 288 | let name = Box::new(identifier(code, index)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let mut constructor = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let mut properties: HashMap = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | Ok(AST::Class { [INFO] [stdout] | ________________^ [INFO] [stdout] 326 | | name, [INFO] [stdout] 327 | | constructor, [INFO] [stdout] 328 | | fields, [INFO] [stdout] 329 | | methods, [INFO] [stdout] 330 | | properties [INFO] [stdout] 331 | | }) [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.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 373 | let args = _arrow_function_args_and_arrow(code, success_index)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | [INFO] [stdout] 375 | let body = Box::new(statement_or_expression(code, success_index)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | Ok(AST::Function { [INFO] [stdout] | ________________^ [INFO] [stdout] 379 | | name: None, [INFO] [stdout] 380 | | args, [INFO] [stdout] 381 | | body, [INFO] [stdout] 382 | | is_arrow_function: true, [INFO] [stdout] 383 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 does not need to be mutable [INFO] [stdout] --> src/parser.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut constructor = None; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | fn _field(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | fn _field(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 337 | fn _method(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | fn _method(code: &str, index: &mut usize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | fn _getter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | fn _getter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser.rs:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | fn _setter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parser.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | fn _setter(code: &str, index: &mut usize) -> Result<(AST, AST), ParseError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `javascript_parser` (bin "javascript_parser") due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/serializer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> src/serializer.rs:308:28 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/serializer.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/serializer.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/serializer.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 308 | AST::Class { name, constructor, fields, methods, properties } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/serializer.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | AST::ClassField { identifier, expression } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/serializer.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | AST::ClassField { identifier, expression } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [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.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 260 | let expr = expression(code, index)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(AST::Parenthesized(Box::new(expr))) [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] = 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.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 288 | let name = Box::new(identifier(code, index)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let mut constructor = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let mut methods = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let mut properties: HashMap = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | Ok(AST::Class { [INFO] [stdout] | ________________^ [INFO] [stdout] 326 | | name, [INFO] [stdout] 327 | | constructor, [INFO] [stdout] 328 | | fields, [INFO] [stdout] 329 | | methods, [INFO] [stdout] 330 | | properties [INFO] [stdout] 331 | | }) [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.rs:378:16 [INFO] [stdout] | [INFO] [stdout] 373 | let args = _arrow_function_args_and_arrow(code, success_index)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | [INFO] [stdout] 375 | let body = Box::new(statement_or_expression(code, success_index)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | Ok(AST::Function { [INFO] [stdout] | ________________^ [INFO] [stdout] 379 | | name: None, [INFO] [stdout] 380 | | args, [INFO] [stdout] 381 | | body, [INFO] [stdout] 382 | | is_arrow_function: true, [INFO] [stdout] 383 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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.rs:1152:20 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut expected_object_contents = HashMap::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1152 | assert_eq!(parse(code), Ok( [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.rs:1152:33 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut expected_object_contents = HashMap::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1152 | assert_eq!(parse(code), Ok( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1153 | | AST::Block(vec![ [INFO] [stdout] 1154 | | AST::VariableDeclaration { [INFO] [stdout] 1155 | | kind: DeclarationKind::Var, [INFO] [stdout] ... | [INFO] [stdout] 1159 | | ]) [INFO] [stdout] 1160 | | )) [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.rs:1184:20 [INFO] [stdout] | [INFO] [stdout] 1174 | let mut expected_object_contents = HashMap::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1184 | assert_eq!(parse(code), Ok( [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.rs:1184:33 [INFO] [stdout] | [INFO] [stdout] 1174 | let mut expected_object_contents = HashMap::new(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1184 | assert_eq!(parse(code), Ok( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1185 | | AST::Block(vec![ [INFO] [stdout] 1186 | | AST::VariableDeclaration { [INFO] [stdout] 1187 | | kind: DeclarationKind::Var, [INFO] [stdout] ... | [INFO] [stdout] 1191 | | ]) [INFO] [stdout] 1192 | | )) [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: aborting due to 7 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `javascript_parser` (bin "javascript_parser" test) due to 8 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a79b062c7c3f97174978c10d5add1d08af5c503cce82c3cfb2f280928fc8de42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79b062c7c3f97174978c10d5add1d08af5c503cce82c3cfb2f280928fc8de42", kill_on_drop: false }` [INFO] [stdout] a79b062c7c3f97174978c10d5add1d08af5c503cce82c3cfb2f280928fc8de42