[INFO] cloning repository https://github.com/Valtis/YATCP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Valtis/YATCP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValtis%2FYATCP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FValtis%2FYATCP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfec709fd15e2493a2a3eb1cbef605539bc87cdd [INFO] checking Valtis/YATCP/cfec709fd15e2493a2a3eb1cbef605539bc87cdd 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%2FValtis%2FYATCP" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Valtis/YATCP 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/Valtis/YATCP [INFO] finished tweaking git repo https://github.com/Valtis/YATCP [INFO] tweaked toml for git repo https://github.com/Valtis/YATCP written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Valtis/YATCP 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ef3c05529d672c8cba4fa628694fd3aa99e7f0ce76a4fb2f134698cf39568592 [INFO] running `Command { std: "docker" "start" "-a" "ef3c05529d672c8cba4fa628694fd3aa99e7f0ce76a4fb2f134698cf39568592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3c05529d672c8cba4fa628694fd3aa99e7f0ce76a4fb2f134698cf39568592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3c05529d672c8cba4fa628694fd3aa99e7f0ce76a4fb2f134698cf39568592", kill_on_drop: false }` [INFO] [stdout] ef3c05529d672c8cba4fa628694fd3aa99e7f0ce76a4fb2f134698cf39568592 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9926a699265a8d8e7635a5d187840ad3407d926a2280064a38a18e4b675ec453 [INFO] running `Command { std: "docker" "start" "-a" "9926a699265a8d8e7635a5d187840ad3407d926a2280064a38a18e4b675ec453", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking took v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking compiler v0.0.1 (/opt/rustwide/workdir) [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/common/node_info.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(name: Rc, span: Span, variable_type: Type) -> DeclarationInfo { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | attributes: HashSet::new(), [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/frontend/lexer/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 47 | input: Box, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | error_reporter: Rc>) -> ReadLexer { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | iter: BufReader::new(input).bytes().peekable(), [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/frontend/lexer/mod.rs:777:28 [INFO] [stdout] | [INFO] [stdout] 777 | match *(res.clone()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Result` does not implement `Clone`, so calling `clone` on `&Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 777 - match *(res.clone()) { [INFO] [stdout] 777 + match *(res { [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/frontend/parser/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 128 | let params = self.parse_parameter_list()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let mut func_info = FunctionInfo::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(AstNode::ExternFunction{ function_info: func_info}) [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/frontend/parser/mod.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 517 | let expression_node = self.parse_expression()?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let expression_node = self.get_assignment_node( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(AstNode::VariableAssignment{ [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | expression: Box::new(expression_node), [INFO] [stdout] 533 | | name, [INFO] [stdout] 534 | | span: Span::from(&identifier) [INFO] [stdout] 535 | | }) [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/frontend/parser/mod.rs:563:12 [INFO] [stdout] | [INFO] [stdout] 549 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | Ok(AstNode::FunctionCall { [INFO] [stdout] | ____________^ [INFO] [stdout] 564 | | arguments: args, [INFO] [stdout] 565 | | function_name: name, [INFO] [stdout] 566 | | span: Span::from(identifier) [INFO] [stdout] 567 | | }) [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/frontend/parser/mod.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 580 | let index_expression = self.parse_expression()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | let assignment_expression = self.parse_expression()?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let assignment_expression = self.get_assignment_node( [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 613 | Ok(AstNode::ArrayAssignment{ [INFO] [stdout] | ____________^ [INFO] [stdout] 614 | | index_expression: Box::new(index_expression), [INFO] [stdout] 615 | | assignment_expression: Box::new(assignment_expression), [INFO] [stdout] 616 | | variable_name: name, [INFO] [stdout] 617 | | span: Span::from(&identifier) }) [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/frontend/parser/mod.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 686 | let node = if token.token_type != TokenType::SemiColon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | Ok(AstNode::Return{ [INFO] [stdout] | ____________^ [INFO] [stdout] 696 | | return_value: node, [INFO] [stdout] 697 | | arithmetic_info: ArithmeticInfo::new(Span::from(&return_node))}) [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/frontend/parser/mod.rs:707:12 [INFO] [stdout] | [INFO] [stdout] 702 | let expr = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | self.loop_depth += 1; [INFO] [stdout] 704 | let 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] 707 | Ok(AstNode::Loop { [INFO] [stdout] | ____________^ [INFO] [stdout] 708 | | condition_expression: Box::new(expr), [INFO] [stdout] 709 | | post_body_statements: None, [INFO] [stdout] 710 | | block: Box::new(block), [INFO] [stdout] 711 | | span: Span::from(while_node)}) [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/frontend/parser/mod.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 872 | let expr = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 873 | let 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] 877 | let opt_else_blk = if token.token_type == TokenType::Else { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 878 | let else_blk = self.parse_else_block()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 884 | Ok(AstNode::If{ [INFO] [stdout] | ____________^ [INFO] [stdout] 885 | | condition_expression: Box::new(expr), [INFO] [stdout] 886 | | main_block: Box::new(block), [INFO] [stdout] 887 | | else_block: opt_else_blk, [INFO] [stdout] 888 | | span: Span::from(if_node)}) [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] | [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/frontend/parser/mod.rs:991:12 [INFO] [stdout] | [INFO] [stdout] 987 | fn parse_bitwise_or(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 988 | let token = self.expect(TokenType::Pipe)?; [INFO] [stdout] 989 | let expression = self.parse_bitwise_xor_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 990 | [INFO] [stdout] 991 | Ok(AstNode::BitwiseOr{ [INFO] [stdout] | ____________^ [INFO] [stdout] 992 | | left_expression: Box::new(node), [INFO] [stdout] 993 | | right_expression: Box::new(expression), [INFO] [stdout] 994 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 995 | | }) [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/frontend/parser/mod.rs:1017:12 [INFO] [stdout] | [INFO] [stdout] 1013 | fn parse_bitwise_xor(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1014 | let token = self.expect(TokenType::Caret)?; [INFO] [stdout] 1015 | let expression = self.parse_bitwise_and_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1016 | [INFO] [stdout] 1017 | Ok(AstNode::BitwiseXor{ [INFO] [stdout] | ____________^ [INFO] [stdout] 1018 | | left_expression: Box::new(node), [INFO] [stdout] 1019 | | right_expression: Box::new(expression), [INFO] [stdout] 1020 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 1021 | | }) [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/frontend/parser/mod.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1039 | fn parse_bitwise_and(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1040 | let token = self.expect(TokenType::Ampersand)?; [INFO] [stdout] 1041 | let expression = self.parse_shift_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1042 | [INFO] [stdout] 1043 | Ok(AstNode::BitwiseAnd{ [INFO] [stdout] | ____________^ [INFO] [stdout] 1044 | | left_expression: Box::new(node), [INFO] [stdout] 1045 | | right_expression: Box::new(expression), [INFO] [stdout] 1046 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 1047 | | }) [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/frontend/parser/mod.rs:1224:12 [INFO] [stdout] | [INFO] [stdout] 1205 | fn parse_array_access_or_slice(&mut self, indexable_expression: AstNode) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1206 | self.expect(TokenType::LBracket)?; [INFO] [stdout] 1207 | let index_expression = self.parse_expression()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1224 | Ok(AstNode::ArrayAccess { [INFO] [stdout] | ____________^ [INFO] [stdout] 1225 | | index_expression: Box::new(index_expression), [INFO] [stdout] 1226 | | indexable_expression: Box::new(indexable_expression), [INFO] [stdout] 1227 | | }) [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/frontend/parser/mod.rs:1242:12 [INFO] [stdout] | [INFO] [stdout] 1230 | fn parse_member_access(&mut self, expression: AstNode) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1242 | Ok(AstNode::MemberAccess { [INFO] [stdout] | ____________^ [INFO] [stdout] 1243 | | object: Box::new(expression), [INFO] [stdout] 1244 | | member: Box::new(AstNode::Identifier{ name, span: Span::from(member) }), [INFO] [stdout] 1245 | | span: Span::new(dot.line, dot.column, dot.length), [INFO] [stdout] 1246 | | }) [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/frontend/parser/mod.rs:1405:12 [INFO] [stdout] | [INFO] [stdout] 1386 | let mut values = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1405 | Ok(AstNode::InitializerList { [INFO] [stdout] | ____________^ [INFO] [stdout] 1406 | | values, [INFO] [stdout] 1407 | | span: start_span, [INFO] [stdout] 1408 | | list_type: Type::Uninitialized [INFO] [stdout] 1409 | | }) [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/frontend/semcheck/mod.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(reporter: Rc>) -> SemanticsCheck { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | symbol_table: SymbolTable::new(), [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/frontend/semcheck/mod.rs:2645:15 [INFO] [stdout] | [INFO] [stdout] 2639 | let origin_type = self.get_type(origin_node); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2645 | match (origin_type, target_type) { [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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib) due to 18 previous errors; 1 warning emitted [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] --> src/common/node_info.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(name: Rc, span: Span, variable_type: Type) -> DeclarationInfo { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | attributes: HashSet::new(), [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/frontend/lexer/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 47 | input: Box, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | error_reporter: Rc>) -> ReadLexer { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | iter: BufReader::new(input).bytes().peekable(), [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/frontend/lexer/mod.rs:777:28 [INFO] [stdout] | [INFO] [stdout] 777 | match *(res.clone()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Result` does not implement `Clone`, so calling `clone` on `&Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 777 - match *(res.clone()) { [INFO] [stdout] 777 + match *(res { [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/frontend/lexer/mod.rs:945:13 [INFO] [stdout] | [INFO] [stdout] 943 | let reader = Box::new(StringReader::new(text)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 944 | ( [INFO] [stdout] 945 | ReadLexer::new(reader, reporter.clone()), [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/frontend/parser/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 128 | let params = self.parse_parameter_list()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let mut func_info = FunctionInfo::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(AstNode::ExternFunction{ function_info: func_info}) [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/frontend/parser/mod.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 517 | let expression_node = self.parse_expression()?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let expression_node = self.get_assignment_node( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(AstNode::VariableAssignment{ [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | expression: Box::new(expression_node), [INFO] [stdout] 533 | | name, [INFO] [stdout] 534 | | span: Span::from(&identifier) [INFO] [stdout] 535 | | }) [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/frontend/parser/mod.rs:563:12 [INFO] [stdout] | [INFO] [stdout] 549 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | Ok(AstNode::FunctionCall { [INFO] [stdout] | ____________^ [INFO] [stdout] 564 | | arguments: args, [INFO] [stdout] 565 | | function_name: name, [INFO] [stdout] 566 | | span: Span::from(identifier) [INFO] [stdout] 567 | | }) [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/frontend/parser/mod.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 580 | let index_expression = self.parse_expression()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | let assignment_expression = self.parse_expression()?; [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let assignment_expression = self.get_assignment_node( [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 613 | Ok(AstNode::ArrayAssignment{ [INFO] [stdout] | ____________^ [INFO] [stdout] 614 | | index_expression: Box::new(index_expression), [INFO] [stdout] 615 | | assignment_expression: Box::new(assignment_expression), [INFO] [stdout] 616 | | variable_name: name, [INFO] [stdout] 617 | | span: Span::from(&identifier) }) [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/frontend/parser/mod.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 686 | let node = if token.token_type != TokenType::SemiColon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | Ok(AstNode::Return{ [INFO] [stdout] | ____________^ [INFO] [stdout] 696 | | return_value: node, [INFO] [stdout] 697 | | arithmetic_info: ArithmeticInfo::new(Span::from(&return_node))}) [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/frontend/parser/mod.rs:707:12 [INFO] [stdout] | [INFO] [stdout] 702 | let expr = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | self.loop_depth += 1; [INFO] [stdout] 704 | let 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] 707 | Ok(AstNode::Loop { [INFO] [stdout] | ____________^ [INFO] [stdout] 708 | | condition_expression: Box::new(expr), [INFO] [stdout] 709 | | post_body_statements: None, [INFO] [stdout] 710 | | block: Box::new(block), [INFO] [stdout] 711 | | span: Span::from(while_node)}) [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/frontend/parser/mod.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 872 | let expr = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 873 | let 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] 877 | let opt_else_blk = if token.token_type == TokenType::Else { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 878 | let else_blk = self.parse_else_block()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 884 | Ok(AstNode::If{ [INFO] [stdout] | ____________^ [INFO] [stdout] 885 | | condition_expression: Box::new(expr), [INFO] [stdout] 886 | | main_block: Box::new(block), [INFO] [stdout] 887 | | else_block: opt_else_blk, [INFO] [stdout] 888 | | span: Span::from(if_node)}) [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] | [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/frontend/parser/mod.rs:991:12 [INFO] [stdout] | [INFO] [stdout] 987 | fn parse_bitwise_or(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 988 | let token = self.expect(TokenType::Pipe)?; [INFO] [stdout] 989 | let expression = self.parse_bitwise_xor_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 990 | [INFO] [stdout] 991 | Ok(AstNode::BitwiseOr{ [INFO] [stdout] | ____________^ [INFO] [stdout] 992 | | left_expression: Box::new(node), [INFO] [stdout] 993 | | right_expression: Box::new(expression), [INFO] [stdout] 994 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 995 | | }) [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/frontend/parser/mod.rs:1017:12 [INFO] [stdout] | [INFO] [stdout] 1013 | fn parse_bitwise_xor(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1014 | let token = self.expect(TokenType::Caret)?; [INFO] [stdout] 1015 | let expression = self.parse_bitwise_and_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1016 | [INFO] [stdout] 1017 | Ok(AstNode::BitwiseXor{ [INFO] [stdout] | ____________^ [INFO] [stdout] 1018 | | left_expression: Box::new(node), [INFO] [stdout] 1019 | | right_expression: Box::new(expression), [INFO] [stdout] 1020 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 1021 | | }) [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/frontend/parser/mod.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1039 | fn parse_bitwise_and(&mut self, node: AstNode) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1040 | let token = self.expect(TokenType::Ampersand)?; [INFO] [stdout] 1041 | let expression = self.parse_shift_expressions()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1042 | [INFO] [stdout] 1043 | Ok(AstNode::BitwiseAnd{ [INFO] [stdout] | ____________^ [INFO] [stdout] 1044 | | left_expression: Box::new(node), [INFO] [stdout] 1045 | | right_expression: Box::new(expression), [INFO] [stdout] 1046 | | arithmetic_info: ArithmeticInfo::new(Span::from(token)), [INFO] [stdout] 1047 | | }) [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/frontend/parser/mod.rs:1224:12 [INFO] [stdout] | [INFO] [stdout] 1205 | fn parse_array_access_or_slice(&mut self, indexable_expression: AstNode) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1206 | self.expect(TokenType::LBracket)?; [INFO] [stdout] 1207 | let index_expression = self.parse_expression()?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1224 | Ok(AstNode::ArrayAccess { [INFO] [stdout] | ____________^ [INFO] [stdout] 1225 | | index_expression: Box::new(index_expression), [INFO] [stdout] 1226 | | indexable_expression: Box::new(indexable_expression), [INFO] [stdout] 1227 | | }) [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/frontend/parser/mod.rs:1242:12 [INFO] [stdout] | [INFO] [stdout] 1230 | fn parse_member_access(&mut self, expression: AstNode) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1242 | Ok(AstNode::MemberAccess { [INFO] [stdout] | ____________^ [INFO] [stdout] 1243 | | object: Box::new(expression), [INFO] [stdout] 1244 | | member: Box::new(AstNode::Identifier{ name, span: Span::from(member) }), [INFO] [stdout] 1245 | | span: Span::new(dot.line, dot.column, dot.length), [INFO] [stdout] 1246 | | }) [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/frontend/parser/mod.rs:1405:12 [INFO] [stdout] | [INFO] [stdout] 1386 | let mut values = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1405 | Ok(AstNode::InitializerList { [INFO] [stdout] | ____________^ [INFO] [stdout] 1406 | | values, [INFO] [stdout] 1407 | | span: start_span, [INFO] [stdout] 1408 | | list_type: Type::Uninitialized [INFO] [stdout] 1409 | | }) [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/frontend/semcheck/mod.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(reporter: Rc>) -> SemanticsCheck { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | symbol_table: SymbolTable::new(), [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/frontend/semcheck/mod.rs:2645:15 [INFO] [stdout] | [INFO] [stdout] 2639 | let origin_type = self.get_type(origin_node); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2645 | match (origin_type, target_type) { [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/middleend/cfg/basic_block.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 68 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Function { [INFO] [stdout] 70 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 71 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 72 | | parameters: vec![], [INFO] [stdout] 73 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 78 | | }, [INFO] [stdout] 79 | | }, [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/middleend/cfg/mod.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 406 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | Function { [INFO] [stdout] 408 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 409 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 410 | | parameters: vec![], [INFO] [stdout] 411 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 416 | | }, [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] 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/middleend/optimizer/dead_store.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 156 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | Function { [INFO] [stdout] 158 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 159 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 160 | | parameters: vec![], [INFO] [stdout] 161 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 166 | | }, [INFO] [stdout] 167 | | }, [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/middleend/optimizer/merge_block.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 348 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | Function { [INFO] [stdout] 350 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 351 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 352 | | parameters: vec![], [INFO] [stdout] 353 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 358 | | }, [INFO] [stdout] 359 | | }, [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/middleend/optimizer/conditional_jump_conversion.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 215 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | Function { [INFO] [stdout] 217 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 218 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 219 | | parameters: vec![], [INFO] [stdout] 220 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 225 | | }, [INFO] [stdout] 226 | | }, [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/backend/byte_generator/mod.rs:540:28 [INFO] [stdout] | [INFO] [stdout] 538 | fn create_function(statements: Vec) -> Function { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 539 | Function { [INFO] [stdout] 540 | function_info: FunctionInfo { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 541 | | name: Rc::new("foo".to_string()), [INFO] [stdout] 542 | | parameters: vec![], [INFO] [stdout] 543 | | return_type: Type::Void, [INFO] [stdout] ... | [INFO] [stdout] 548 | | }, [INFO] [stdout] 549 | | }, [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 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib test) due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9926a699265a8d8e7635a5d187840ad3407d926a2280064a38a18e4b675ec453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9926a699265a8d8e7635a5d187840ad3407d926a2280064a38a18e4b675ec453", kill_on_drop: false }` [INFO] [stdout] 9926a699265a8d8e7635a5d187840ad3407d926a2280064a38a18e4b675ec453