[INFO] fetching crate ferric_parser 0.2.0... [INFO] checking ferric_parser-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ferric_parser 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ferric_parser 0.2.0 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 crates.io crate ferric_parser 0.2.0 [INFO] finished tweaking crates.io crate ferric_parser 0.2.0 [INFO] tweaked toml for crates.io crate ferric_parser 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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] 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] 539704117f17e607950cc5b2b93ab00b00fe8bc6ed3714274e4ce97ebfbca795 [INFO] running `Command { std: "docker" "start" "-a" "539704117f17e607950cc5b2b93ab00b00fe8bc6ed3714274e4ce97ebfbca795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "539704117f17e607950cc5b2b93ab00b00fe8bc6ed3714274e4ce97ebfbca795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539704117f17e607950cc5b2b93ab00b00fe8bc6ed3714274e4ce97ebfbca795", kill_on_drop: false }` [INFO] [stdout] 539704117f17e607950cc5b2b93ab00b00fe8bc6ed3714274e4ce97ebfbca795 [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] ed76f22d0313a4bf36443f3bfc3d2baf93114d9de89761fc39466074190a6dc1 [INFO] running `Command { std: "docker" "start" "-a" "ed76f22d0313a4bf36443f3bfc3d2baf93114d9de89761fc39466074190a6dc1", kill_on_drop: false }` [INFO] [stderr] Compiling ferric_parser v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ferric_lexer v0.1.0 [INFO] [stdout] warning: unused macro definition: `mov` [INFO] [stdout] --> src/parser/code_gen/macros.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! mov { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `push` [INFO] [stdout] --> src/parser/code_gen/macros.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! push { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `pop` [INFO] [stdout] --> src/parser/code_gen/macros.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! pop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `lea` [INFO] [stdout] --> src/parser/code_gen/macros.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | macro_rules! lea { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add` [INFO] [stdout] --> src/parser/code_gen/macros.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | macro_rules! add { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mul` [INFO] [stdout] --> src/parser/code_gen/macros.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | macro_rules! mul { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `div` [INFO] [stdout] --> src/parser/code_gen/macros.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | macro_rules! div { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `inc` [INFO] [stdout] --> src/parser/code_gen/macros.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | macro_rules! inc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dec` [INFO] [stdout] --> src/parser/code_gen/macros.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | macro_rules! dec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `syscall` [INFO] [stdout] --> src/parser/code_gen/macros.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! syscall { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `syscall_with_args` [INFO] [stdout] --> src/parser/code_gen/macros.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | macro_rules! syscall_with_args { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_stack_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | macro_rules! declare_stack_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_stack_frame_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | macro_rules! declare_stack_frame_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end_stack_frame_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | macro_rules! end_stack_frame_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_heap` [INFO] [stdout] --> src/parser/code_gen/macros.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | macro_rules! declare_heap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mov` [INFO] [stdout] --> src/parser/code_gen/macros.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! mov { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `push` [INFO] [stdout] --> src/parser/code_gen/macros.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! push { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `pop` [INFO] [stdout] --> src/parser/code_gen/macros.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! pop { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `lea` [INFO] [stdout] --> src/parser/code_gen/macros.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | macro_rules! lea { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `add` [INFO] [stdout] --> src/parser/code_gen/macros.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | macro_rules! add { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `sub` [INFO] [stdout] --> src/parser/code_gen/macros.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | macro_rules! sub { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `mul` [INFO] [stdout] --> src/parser/code_gen/macros.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | macro_rules! mul { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `div` [INFO] [stdout] --> src/parser/code_gen/macros.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | macro_rules! div { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `inc` [INFO] [stdout] --> src/parser/code_gen/macros.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | macro_rules! inc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dec` [INFO] [stdout] --> src/parser/code_gen/macros.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | macro_rules! dec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `syscall` [INFO] [stdout] --> src/parser/code_gen/macros.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! syscall { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `syscall_with_args` [INFO] [stdout] --> src/parser/code_gen/macros.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | macro_rules! syscall_with_args { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_stack_rsp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | macro_rules! declare_stack_rsp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_stack_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | macro_rules! declare_stack_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_stack_frame_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | macro_rules! declare_stack_frame_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end_stack_frame_rbp` [INFO] [stdout] --> src/parser/code_gen/macros.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | macro_rules! end_stack_frame_rbp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_heap` [INFO] [stdout] --> src/parser/code_gen/macros.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | macro_rules! declare_heap { [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/parser/parser.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 198 | fn remove_unused_variables(ast: ASTNode) -> ASTNode { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | // Step 1: Collect used variables [INFO] [stdout] 200 | let mut used_vars = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | filter_unused_assignments(ast, &used_vars).unwrap() [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/parser.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 198 | fn remove_unused_variables(ast: ASTNode) -> ASTNode { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | // Step 1: Collect used variables [INFO] [stdout] 200 | let mut used_vars = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | filter_unused_assignments(ast, &used_vars).unwrap() [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/parser.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 255 | let stmt = match self.peek_next_token() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(ASTNode::Statement(Box::new(stmt))) [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] | 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] | 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] | 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] | 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] ::: src/parser/macros.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let args = $self.parse_function_arguments()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let expr = $self.expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | let mut branches = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let condition = $self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let body = $self.parse_block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | let mut else_body: Option> = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | let else_if_condition = $self.expression()?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let else_if_body = $self.parse_block()?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let else_block = $self.parse_block()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | let condition = $self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let body = $self.parse_block()?; [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/parser.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 311 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Ok(ASTNode::Program(statements)) [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/parser.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 483 | let value = self.expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | Ok(ASTNode::Assign { [INFO] [stdout] | ____________^ [INFO] [stdout] 485 | | name, [INFO] [stdout] 486 | | value: Box::new(value), [INFO] [stdout] 487 | | }) [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/parser.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 255 | let stmt = match self.peek_next_token() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(ASTNode::Statement(Box::new(stmt))) [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] | 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] | 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] | 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] | 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] ::: src/parser/macros.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let args = $self.parse_function_arguments()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let expr = $self.expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | let mut branches = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let condition = $self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let body = $self.parse_block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | let mut else_body: Option> = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | let else_if_condition = $self.expression()?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let else_if_body = $self.parse_block()?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let else_block = $self.parse_block()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | let condition = $self.expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let body = $self.parse_block()?; [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/parser.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 311 | let mut statements = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Ok(ASTNode::Program(statements)) [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/parser.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 483 | let value = self.expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | Ok(ASTNode::Assign { [INFO] [stdout] | ____________^ [INFO] [stdout] 485 | | name, [INFO] [stdout] 486 | | value: Box::new(value), [INFO] [stdout] 487 | | }) [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: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferric_parser` (lib) due to 5 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ferric_parser` (lib test) due to 5 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed76f22d0313a4bf36443f3bfc3d2baf93114d9de89761fc39466074190a6dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed76f22d0313a4bf36443f3bfc3d2baf93114d9de89761fc39466074190a6dc1", kill_on_drop: false }` [INFO] [stdout] ed76f22d0313a4bf36443f3bfc3d2baf93114d9de89761fc39466074190a6dc1