[INFO] fetching crate ullage 0.1.0... [INFO] checking ullage-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ullage 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ullage 0.1.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 ullage 0.1.0 [INFO] finished tweaking crates.io crate ullage 0.1.0 [INFO] tweaked toml for crates.io crate ullage 0.1.0 written to /workspace/builds/worker-2-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 55 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding llvm-sys v80.3.1 (latest: v181.1.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f71d485da450c83a01ccb5af929c13605b5853fea4fff3a46871ec7d79323369 [INFO] running `Command { std: "docker" "start" "-a" "f71d485da450c83a01ccb5af929c13605b5853fea4fff3a46871ec7d79323369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71d485da450c83a01ccb5af929c13605b5853fea4fff3a46871ec7d79323369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71d485da450c83a01ccb5af929c13605b5853fea4fff3a46871ec7d79323369", kill_on_drop: false }` [INFO] [stdout] f71d485da450c83a01ccb5af929c13605b5853fea4fff3a46871ec7d79323369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 64e2e52a909688b880fb410c20cd0baa958e47babc06b7dd9c3044d363dfd0cf [INFO] running `Command { std: "docker" "start" "-a" "64e2e52a909688b880fb410c20cd0baa958e47babc06b7dd9c3044d363dfd0cf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling llvm-sys v80.3.1 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking ullage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/low_loader/context.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/low_loader/context.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 24 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/parse/tokeniser.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | fn skip_over

(&mut self, chars: &mut Iterator, mut pred: P) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn skip_over

(&mut self, chars: &mut dyn Iterator, mut pred: P) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/parse/tokeniser.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | chars: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | chars: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/low_loader/context.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/low_loader/context.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 24 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/parse/tokeniser.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | fn skip_over

(&mut self, chars: &mut Iterator, mut pred: P) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn skip_over

(&mut self, chars: &mut dyn Iterator, mut pred: P) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/parse/tokeniser.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | chars: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | chars: &mut dyn Iterator, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs_typ`, `rhs_typ`, and `op` are never read [INFO] [stdout] --> src/sem/operators.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SemOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub lhs_typ: Typ, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub rhs_typ: Typ, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub op: InfixOp, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 144 | .and_then(|d| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | / d.help(true) [INFO] [stdout] 146 | | .version(Some(meta::descriptive_version())) [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/compile.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 70 | tree: syntax::SyntaxTree, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let (root, _end) = tree.into_parts(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let sem_expr = sem::transform_expression(&mut trans_sess, root)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(Compilation { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | expr: sem_expr, [INFO] [stdout] 78 | | options: opts, [INFO] [stdout] 79 | | diagnostics: trans_sess.into_diagnostics(), [INFO] [stdout] 80 | | }) [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/low_loader/builder.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let name = name.map(|n| CString::new(n).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] [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/low_loader/module.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | let path = path.to_str().and_then(|s| CString::new(s).ok()).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] [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/syntax/parse.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 90 | fn current_is_any<'i, T>(&mut self, expected: T) -> bool [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | expected.into_iter().any(|e| e == current_kind) [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/syntax/parse.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 151 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | SyntaxTree::new(self.source, Expression::sequence(expressions), errors, end) [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/syntax/parse.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 286 | let typ = self.optional_type_anno(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | let assign_tok = self.expect(&TokenKind::Equals); [INFO] [stdout] 288 | let rhs = self.top_level_expression(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | TypedId::from_parts(id_tok, typ), [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/syntax/parse.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 309 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | contents: Box::new(Expression::sequence(expressions)), [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/syntax/parse.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 309 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | close: Box::new(self.expect(&TokenKind::Word(Ident::End))), [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/syntax/text/source_text.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new>(source: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | interner: Default::default(), [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/syntax/text/source_text.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_path>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(SourceText::new(s)) [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/syntax/tree/expression.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(id: Token, typ: TypeAnno) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self::from_parts(id, Some(typ)) [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/syntax/tree/expression.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn constant_string(token: Token, s: T) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Expression::Literal(LiteralExpression { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 364 | | token: Box::new(token), [INFO] [stdout] 365 | | value: Constant::String(s.into()), [INFO] [stdout] 366 | | }) [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/syntax/tree/expression.rs:385:28 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn prefix(op_token: Token, op: PrefixOp, expr: Expression) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | Expression::Prefix(PrefixExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 386 | | op_token: Box::new(op_token), [INFO] [stdout] 387 | | op, [INFO] [stdout] 388 | | inner: Box::new(expr), [INFO] [stdout] 389 | | }) [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/syntax/tree/expression.rs:397:27 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn infix(lhs: Expression, op_token: Token, op: InfixOp, rhs: Expression) -> Self { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | Expression::Infix(InfixOperatorExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 398 | | left: Box::new(lhs), [INFO] [stdout] 399 | | op_token: Box::new(op_token), [INFO] [stdout] 400 | | op, [INFO] [stdout] 401 | | right: Box::new(rhs), [INFO] [stdout] 402 | | }) [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/syntax/tree/expression.rs:414:26 [INFO] [stdout] | [INFO] [stdout] 409 | callee: Expression, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | open_paren: Token, [INFO] [stdout] 411 | args: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | Expression::Call(CallExpression { [INFO] [stdout] | __________________________^ [INFO] [stdout] 415 | | callee: Box::new(callee), [INFO] [stdout] 416 | | open_paren: Box::new(open_paren), [INFO] [stdout] 417 | | arguments: args, [INFO] [stdout] 418 | | close_paren: Box::new(close_paren), [INFO] [stdout] 419 | | }) [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/syntax/tree/expression.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn index(lhs: Expression, open: Token, index: Expression, close: Token) -> Self { [INFO] [stdout] | --------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | Expression::Index(IndexExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 428 | | indexee: Box::new(lhs), [INFO] [stdout] 429 | | open_bracket: Box::new(open), [INFO] [stdout] 430 | | index: Box::new(index), [INFO] [stdout] 431 | | close_bracket: Box::new(close), [INFO] [stdout] 432 | | }) [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/syntax/tree/expression.rs:446:32 [INFO] [stdout] | [INFO] [stdout] 441 | cond: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | then: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | else_tok: Token, [INFO] [stdout] 444 | els: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | ) -> Self { [INFO] [stdout] 446 | Expression::IfThenElse(IfElseExpression { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 447 | | if_tok: Box::new(if_tok), [INFO] [stdout] 448 | | cond: Box::new(cond), [INFO] [stdout] 449 | | if_true: Box::new(then), [INFO] [stdout] 450 | | else_tok: Box::new(else_tok), [INFO] [stdout] 451 | | if_false: Box::new(els), [INFO] [stdout] 452 | | }) [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/syntax/tree/expression.rs:468:30 [INFO] [stdout] | [INFO] [stdout] 463 | params: Vec>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | params_close: Token, [INFO] [stdout] 465 | return_type: TypeAnno, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | body: BlockBody, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | ) -> Expression { [INFO] [stdout] 468 | Expression::Function(FunctionExpression { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 469 | | fn_kw: Box::new(fn_kw), [INFO] [stdout] 470 | | identifier, [INFO] [stdout] 471 | | params_open: Box::new(params_open), [INFO] [stdout] ... | [INFO] [stdout] 475 | | body, [INFO] [stdout] 476 | | }) [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/syntax/tree/expression.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn loop_while(kw_token: Token, condition: Expression, body: BlockBody) -> Self { [INFO] [stdout] | --------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | Expression::Loop(LoopExpression { [INFO] [stdout] | __________________________^ [INFO] [stdout] 485 | | kw_token: Box::new(kw_token), [INFO] [stdout] 486 | | condition: Box::new(condition), [INFO] [stdout] 487 | | body, [INFO] [stdout] 488 | | }) [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/syntax/tree/expression.rs:501:33 [INFO] [stdout] | [INFO] [stdout] 496 | var: TypedId, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | expr: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | ) -> Self { [INFO] [stdout] 501 | Expression::Declaration(DeclarationExpression { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 502 | | style, [INFO] [stdout] 503 | | var_kw: Box::new(var_kw), [INFO] [stdout] 504 | | id: var, [INFO] [stdout] 505 | | assignment_tok: Box::new(assign_tok), [INFO] [stdout] 506 | | initialiser: Box::new(expr), [INFO] [stdout] 507 | | }) [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/syntax/tree/expression.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn print(print: Token, expr: Expression) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 530 | Expression::Print(PrintExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 531 | | print_tok: Box::new(print), [INFO] [stdout] 532 | | inner: Box::new(expr), [INFO] [stdout] 533 | | }) [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/syntax/tree/expression.rs:540:30 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn grouping(open: Token, inner: Expression, close: Token) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 540 | Expression::Grouping(GroupingExpression { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 541 | | open_tok: Box::new(open), [INFO] [stdout] 542 | | inner: Box::new(inner), [INFO] [stdout] 543 | | close_tok: Box::new(close), [INFO] [stdout] 544 | | }) [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/syntax/tree/types.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:79:57 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(anno_tok: Token, inner_ty: TypeRef) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | TypeAnno { [INFO] [stdout] 118 | anno_tok: Box::new(anno_tok), [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 27 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ullage` (bin "ullage") due to 28 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `lhs_typ`, `rhs_typ`, and `op` are never read [INFO] [stdout] --> src/sem/operators.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SemOp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 14 | pub lhs_typ: Typ, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub rhs_typ: Typ, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub op: InfixOp, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 144 | .and_then(|d| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | / d.help(true) [INFO] [stdout] 146 | | .version(Some(meta::descriptive_version())) [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/compile.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 70 | tree: syntax::SyntaxTree, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let (root, _end) = tree.into_parts(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let sem_expr = sem::transform_expression(&mut trans_sess, root)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Ok(Compilation { [INFO] [stdout] | ____________^ [INFO] [stdout] 77 | | expr: sem_expr, [INFO] [stdout] 78 | | options: opts, [INFO] [stdout] 79 | | diagnostics: trans_sess.into_diagnostics(), [INFO] [stdout] 80 | | }) [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/low_loader/builder.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let name = name.map(|n| CString::new(n).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] [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/low_loader/module.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | let path = path.to_str().and_then(|s| CString::new(s).ok()).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] [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/syntax/parse.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 90 | fn current_is_any<'i, T>(&mut self, expected: T) -> bool [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | expected.into_iter().any(|e| e == current_kind) [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/syntax/parse.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 151 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | SyntaxTree::new(self.source, Expression::sequence(expressions), errors, end) [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/syntax/parse.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 286 | let typ = self.optional_type_anno(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | let assign_tok = self.expect(&TokenKind::Equals); [INFO] [stdout] 288 | let rhs = self.top_level_expression(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | TypedId::from_parts(id_tok, typ), [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/syntax/parse.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 309 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 314 | contents: Box::new(Expression::sequence(expressions)), [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/syntax/parse.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 309 | let mut expressions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | close: Box::new(self.expect(&TokenKind::Word(Ident::End))), [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/syntax/parse/checkparse_tests.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn blockify(contents: Vec) -> BlockBody { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | BlockBody { [INFO] [stdout] 61 | contents: Box::new(Expression::Sequence(contents)), [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/syntax/parse/checkparse_tests.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 59 | fn blockify(contents: Vec) -> BlockBody { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | close: Box::new(Token::new(TokenKind::Word(Ident::End))), [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/syntax/text/source_text.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new>(source: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | interner: Default::default(), [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/syntax/text/source_text.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_path>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(SourceText::new(s)) [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/syntax/tree/expression.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(id: Token, typ: TypeAnno) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self::from_parts(id, Some(typ)) [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/syntax/tree/expression.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn constant_string(token: Token, s: T) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Expression::Literal(LiteralExpression { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 364 | | token: Box::new(token), [INFO] [stdout] 365 | | value: Constant::String(s.into()), [INFO] [stdout] 366 | | }) [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/syntax/tree/expression.rs:385:28 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn prefix(op_token: Token, op: PrefixOp, expr: Expression) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | Expression::Prefix(PrefixExpression { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 386 | | op_token: Box::new(op_token), [INFO] [stdout] 387 | | op, [INFO] [stdout] 388 | | inner: Box::new(expr), [INFO] [stdout] 389 | | }) [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/syntax/tree/expression.rs:397:27 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn infix(lhs: Expression, op_token: Token, op: InfixOp, rhs: Expression) -> Self { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | Expression::Infix(InfixOperatorExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 398 | | left: Box::new(lhs), [INFO] [stdout] 399 | | op_token: Box::new(op_token), [INFO] [stdout] 400 | | op, [INFO] [stdout] 401 | | right: Box::new(rhs), [INFO] [stdout] 402 | | }) [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/syntax/tree/expression.rs:414:26 [INFO] [stdout] | [INFO] [stdout] 409 | callee: Expression, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | open_paren: Token, [INFO] [stdout] 411 | args: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | Expression::Call(CallExpression { [INFO] [stdout] | __________________________^ [INFO] [stdout] 415 | | callee: Box::new(callee), [INFO] [stdout] 416 | | open_paren: Box::new(open_paren), [INFO] [stdout] 417 | | arguments: args, [INFO] [stdout] 418 | | close_paren: Box::new(close_paren), [INFO] [stdout] 419 | | }) [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/syntax/tree/expression.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn index(lhs: Expression, open: Token, index: Expression, close: Token) -> Self { [INFO] [stdout] | --------------- ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | Expression::Index(IndexExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 428 | | indexee: Box::new(lhs), [INFO] [stdout] 429 | | open_bracket: Box::new(open), [INFO] [stdout] 430 | | index: Box::new(index), [INFO] [stdout] 431 | | close_bracket: Box::new(close), [INFO] [stdout] 432 | | }) [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/syntax/tree/expression.rs:446:32 [INFO] [stdout] | [INFO] [stdout] 441 | cond: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | then: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | else_tok: Token, [INFO] [stdout] 444 | els: Expression, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | ) -> Self { [INFO] [stdout] 446 | Expression::IfThenElse(IfElseExpression { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 447 | | if_tok: Box::new(if_tok), [INFO] [stdout] 448 | | cond: Box::new(cond), [INFO] [stdout] 449 | | if_true: Box::new(then), [INFO] [stdout] 450 | | else_tok: Box::new(else_tok), [INFO] [stdout] 451 | | if_false: Box::new(els), [INFO] [stdout] 452 | | }) [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/syntax/tree/expression.rs:468:30 [INFO] [stdout] | [INFO] [stdout] 463 | params: Vec>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | params_close: Token, [INFO] [stdout] 465 | return_type: TypeAnno, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | body: BlockBody, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | ) -> Expression { [INFO] [stdout] 468 | Expression::Function(FunctionExpression { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 469 | | fn_kw: Box::new(fn_kw), [INFO] [stdout] 470 | | identifier, [INFO] [stdout] 471 | | params_open: Box::new(params_open), [INFO] [stdout] ... | [INFO] [stdout] 475 | | body, [INFO] [stdout] 476 | | }) [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/syntax/tree/expression.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn loop_while(kw_token: Token, condition: Expression, body: BlockBody) -> Self { [INFO] [stdout] | --------------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | Expression::Loop(LoopExpression { [INFO] [stdout] | __________________________^ [INFO] [stdout] 485 | | kw_token: Box::new(kw_token), [INFO] [stdout] 486 | | condition: Box::new(condition), [INFO] [stdout] 487 | | body, [INFO] [stdout] 488 | | }) [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/syntax/tree/expression.rs:501:33 [INFO] [stdout] | [INFO] [stdout] 496 | var: TypedId, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | expr: Expression, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | ) -> Self { [INFO] [stdout] 501 | Expression::Declaration(DeclarationExpression { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 502 | | style, [INFO] [stdout] 503 | | var_kw: Box::new(var_kw), [INFO] [stdout] 504 | | id: var, [INFO] [stdout] 505 | | assignment_tok: Box::new(assign_tok), [INFO] [stdout] 506 | | initialiser: Box::new(expr), [INFO] [stdout] 507 | | }) [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/syntax/tree/expression.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn print(print: Token, expr: Expression) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 530 | Expression::Print(PrintExpression { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 531 | | print_tok: Box::new(print), [INFO] [stdout] 532 | | inner: Box::new(expr), [INFO] [stdout] 533 | | }) [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/syntax/tree/expression.rs:540:30 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn grouping(open: Token, inner: Expression, close: Token) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 540 | Expression::Grouping(GroupingExpression { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 541 | | open_tok: Box::new(open), [INFO] [stdout] 542 | | inner: Box::new(inner), [INFO] [stdout] 543 | | close_tok: Box::new(close), [INFO] [stdout] 544 | | }) [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/syntax/tree/types.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:79:57 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn array(open: Token, inner: TypeRef, close: Token) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | TypeRef::Array(Box::new(open), Box::new(inner), Box::new(close)) [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/syntax/tree/types.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(anno_tok: Token, inner_ty: TypeRef) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | TypeAnno { [INFO] [stdout] 118 | anno_tok: Box::new(anno_tok), [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 29 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ullage` (bin "ullage" test) due to 30 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64e2e52a909688b880fb410c20cd0baa958e47babc06b7dd9c3044d363dfd0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e2e52a909688b880fb410c20cd0baa958e47babc06b7dd9c3044d363dfd0cf", kill_on_drop: false }` [INFO] [stdout] 64e2e52a909688b880fb410c20cd0baa958e47babc06b7dd9c3044d363dfd0cf