[INFO] cloning repository https://github.com/CharlyCst/fork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharlyCst/fork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlyCst%2Ffork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlyCst%2Ffork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0932fe34c316350e889cbf10cafcb5bddb3bd1ac [INFO] checking CharlyCst/fork/0932fe34c316350e889cbf10cafcb5bddb3bd1ac 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%2FCharlyCst%2Ffork" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CharlyCst/fork 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/CharlyCst/fork [INFO] finished tweaking git repo https://github.com/CharlyCst/fork [INFO] tweaked toml for git repo https://github.com/CharlyCst/fork written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CharlyCst/fork 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fde74ad47740907c05675c705d15a4d35be2b2846f0c60e385e1216b6fc8d4a3 [INFO] running `Command { std: "docker" "start" "-a" "fde74ad47740907c05675c705d15a4d35be2b2846f0c60e385e1216b6fc8d4a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fde74ad47740907c05675c705d15a4d35be2b2846f0c60e385e1216b6fc8d4a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde74ad47740907c05675c705d15a4d35be2b2846f0c60e385e1216b6fc8d4a3", kill_on_drop: false }` [INFO] [stdout] fde74ad47740907c05675c705d15a4d35be2b2846f0c60e385e1216b6fc8d4a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a8a00d5abb2234d40b0bcbf1e5875c27b740dc956c5ea08549a9b5ca6b33d11d [INFO] running `Command { std: "docker" "start" "-a" "a8a00d5abb2234d40b0bcbf1e5875c27b740dc956c5ea08549a9b5ca6b33d11d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking zephyr-lang-derive v0.1.0 (/opt/rustwide/workdir/derive) [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking zephyr-lang v0.1.0 (/opt/rustwide/workdir/zephyr) [INFO] [stdout] warning: unused import: `tokens::*` [INFO] [stdout] --> zephyr/src/ast/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use tokens::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KnownStructs` [INFO] [stdout] --> zephyr/src/ctx/mod.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub use known_functions::{KnownFunctions, KnownStructs, KnownValues}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NameId` [INFO] [stdout] --> zephyr/src/hir/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | AsmControl, AsmLocal, AsmMemory, AsmParametric, AsmStatement, NameId, TypeId, ValueDeclaration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::ModuleKind` [INFO] [stdout] --> zephyr/src/mir/mir.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::ast::ModuleKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ctx::ModuleDeclarations` [INFO] [stdout] --> zephyr/src/mir/mir.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::ctx::ModuleDeclarations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokens::*` [INFO] [stdout] --> zephyr/src/ast/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use tokens::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KnownStructs` [INFO] [stdout] --> zephyr/src/ctx/mod.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub use known_functions::{KnownFunctions, KnownStructs, KnownValues}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NameId` [INFO] [stdout] --> zephyr/src/hir/mod.rs:8:67 [INFO] [stdout] | [INFO] [stdout] 8 | AsmControl, AsmLocal, AsmMemory, AsmParametric, AsmStatement, NameId, TypeId, ValueDeclaration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::ModuleKind` [INFO] [stdout] --> zephyr/src/mir/mir.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::ast::ModuleKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ctx::ModuleDeclarations` [INFO] [stdout] --> zephyr/src/mir/mir.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::ctx::ModuleDeclarations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> zephyr/src/wasm/sections.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[warn()] [INFO] [stdout] | ^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: attribute `warn` with an empty list has no effect [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> zephyr/src/wasm/sections.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[warn()] [INFO] [stdout] | ^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: attribute `warn` with an empty list has no effect [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunId, TypeVar), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunId, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_id` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct FunctionPrototype { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 73 | pub ident: String, [INFO] [stdout] 74 | pub n_id: NameId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ident` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | Struct { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 164 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct FieldValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub t_var: TypeVar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 201 | Binary { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 206 | t_var: TypeVar, // Result type [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret_t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 215 | CallDirect { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 220 | ret_t_var: TypeVar, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> zephyr/src/mir/hir_to_mir.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | Local(&'a [LocalId], Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Local(&'a [LocalId], ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `message` are never read [INFO] [stdout] --> zephyr/src/error/errors.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub loc: Option, [INFO] [stdout] 14 | pub level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub message: String, [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] --> zephyr/src/ast/parse.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 559 | let block = self.block()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 560 | self.consume_semi_colon(); [INFO] [stdout] 561 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 562 | | ident, [INFO] [stdout] 563 | | params, [INFO] [stdout] 564 | | result, [INFO] [stdout] ... | [INFO] [stdout] 567 | | loc, [INFO] [stdout] 568 | | }) [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] = 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] --> zephyr/src/ast/parse.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 680 | let expr = self.expression(true)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | self.consume_semi_colon(); [INFO] [stdout] 682 | Ok(Statement::LetStmt { [INFO] [stdout] | ____________^ [INFO] [stdout] 683 | | var: Variable { [INFO] [stdout] 684 | | namespace: None, [INFO] [stdout] 685 | | t: None, [INFO] [stdout] ... | [INFO] [stdout] 689 | | expr, [INFO] [stdout] 690 | | }) [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] --> zephyr/src/ast/parse.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 732 | let expr = self.expression(false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | let block = self.block()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | self.consume_semi_colon(); [INFO] [stdout] 739 | Ok(Statement::WhileStmt { expr, block }) [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] = 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] --> zephyr/src/ast/parse.rs:773:12 [INFO] [stdout] | [INFO] [stdout] 765 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 773 | Ok(Block { stmts }) [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] --> zephyr/src/hir/ast_to_hir.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reduce(&mut self, prog: ResolvedProgram, mut checker: TypeChecker<'a, 'a>) -> Program { [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] 48 | let mut state = State::new(prog.names, prog.fun_types, &mut checker); [INFO] [stdout] 49 | let mut funs = Vec::with_capacity(prog.funs.len()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut imports = Vec::with_capacity(prog.imports.len()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let structs = prog [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let pub_decls = self.get_pub_decls(prog.module.id, &funs, &imports, &structs); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | tuples: checker.get_tuples(), [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] --> zephyr/src/hir/ast_to_hir.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | .transmute(|struc| match self.reduce_struct(struc, &mut state) { [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] --> zephyr/src/hir/ast_to_hir.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 124 | fn reduce_fun(&mut self, fun: NameFun, s: &mut State) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let fun_t = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | let t = match fun_t.to_fun() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Some(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let locals = self.get_locals(&fun, s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let body = match fun.body { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | NameBody::Zephyr(block) => Body::Zephyr(self.reduce_block(block, s)?), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | ident: fun.ident, [INFO] [stdout] 146 | | params, [INFO] [stdout] 147 | | locals, [INFO] [stdout] ... | [INFO] [stdout] 153 | | fun_id: fun.fun_id, [INFO] [stdout] 154 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 498 | let t = s [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 502 | Ok(Variable { [INFO] [stdout] | ____________^ [INFO] [stdout] 503 | | ident: var.ident, [INFO] [stdout] 504 | | loc: var.loc, [INFO] [stdout] 505 | | n_id: var.n_id, [INFO] [stdout] 506 | | t, [INFO] [stdout] 507 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 511 | let mut prototypes = Vec::with_capacity(imports.prototypes.len()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 515 | Ok(Imports { [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | from: imports.from, [INFO] [stdout] 517 | | prototypes, [INFO] [stdout] 518 | | loc: imports.loc, [INFO] [stdout] 519 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 531 | let fun_t = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 535 | let t = match fun_t.to_fun() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 536 | Some(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Ok(FunctionPrototype { [INFO] [stdout] | ____________^ [INFO] [stdout] 541 | | ident: proto.ident, [INFO] [stdout] 542 | | alias: proto.alias, [INFO] [stdout] 543 | | is_pub: proto.is_pub, [INFO] [stdout] ... | [INFO] [stdout] 546 | | t, [INFO] [stdout] 547 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 551 | let mut fields = HashMap::with_capacity(struc.fields.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | Ok(Struct { [INFO] [stdout] | ____________^ [INFO] [stdout] 567 | | fields, [INFO] [stdout] 568 | | ident: struc.ident, [INFO] [stdout] 569 | | s_id: struc.s_id, [INFO] [stdout] 570 | | is_pub: struc.is_pub, [INFO] [stdout] 571 | | loc: struc.loc, [INFO] [stdout] 572 | | }) [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] --> zephyr/src/hir/hir.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(params: Vec, ret: Type) -> 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] ... [INFO] [stdout] 98 | ret: Box::new(ret), [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] --> zephyr/src/mir/hir_to_mir.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 518 | let (block, block_locals) = match &fun.body { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | ident: fun.ident.clone(), [INFO] [stdout] 533 | | params, [INFO] [stdout] 534 | | param_t, [INFO] [stdout] ... | [INFO] [stdout] 540 | | fun_id: fun.fun_id, [INFO] [stdout] 541 | | }) [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] --> zephyr/src/mir/hir_to_mir.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 563 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | let reduced_block = Block::Block { id, stmts, t: None }; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 567 | Ok((reduced_block, locals)) [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 14 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zephyr-lang` (lib) due to 15 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunId, TypeVar), [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunId, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_id` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct FunctionPrototype { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 73 | pub ident: String, [INFO] [stdout] 74 | pub n_id: NameId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ident` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | Struct { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 164 | ident: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct FieldValue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub t_var: TypeVar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 201 | Binary { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 206 | t_var: TypeVar, // Result type [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ret_t_var` is never read [INFO] [stdout] --> zephyr/src/hir/names.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 215 | CallDirect { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 220 | ret_t_var: TypeVar, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> zephyr/src/mir/hir_to_mir.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | Local(&'a [LocalId], Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Local(&'a [LocalId], ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `message` are never read [INFO] [stdout] --> zephyr/src/error/errors.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | pub loc: Option, [INFO] [stdout] 14 | pub level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub message: String, [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] --> zephyr/src/ast/parse.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 559 | let block = self.block()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 560 | self.consume_semi_colon(); [INFO] [stdout] 561 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 562 | | ident, [INFO] [stdout] 563 | | params, [INFO] [stdout] 564 | | result, [INFO] [stdout] ... | [INFO] [stdout] 567 | | loc, [INFO] [stdout] 568 | | }) [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] = 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] --> zephyr/src/ast/parse.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 680 | let expr = self.expression(true)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | self.consume_semi_colon(); [INFO] [stdout] 682 | Ok(Statement::LetStmt { [INFO] [stdout] | ____________^ [INFO] [stdout] 683 | | var: Variable { [INFO] [stdout] 684 | | namespace: None, [INFO] [stdout] 685 | | t: None, [INFO] [stdout] ... | [INFO] [stdout] 689 | | expr, [INFO] [stdout] 690 | | }) [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] --> zephyr/src/ast/parse.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 732 | let expr = self.expression(false)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | let block = self.block()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | self.consume_semi_colon(); [INFO] [stdout] 739 | Ok(Statement::WhileStmt { expr, block }) [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] = 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] --> zephyr/src/ast/parse.rs:773:12 [INFO] [stdout] | [INFO] [stdout] 765 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 773 | Ok(Block { stmts }) [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] --> zephyr/src/hir/ast_to_hir.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reduce(&mut self, prog: ResolvedProgram, mut checker: TypeChecker<'a, 'a>) -> Program { [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] 48 | let mut state = State::new(prog.names, prog.fun_types, &mut checker); [INFO] [stdout] 49 | let mut funs = Vec::with_capacity(prog.funs.len()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let mut imports = Vec::with_capacity(prog.imports.len()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let structs = prog [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let pub_decls = self.get_pub_decls(prog.module.id, &funs, &imports, &structs); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | tuples: checker.get_tuples(), [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] --> zephyr/src/hir/ast_to_hir.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | .transmute(|struc| match self.reduce_struct(struc, &mut state) { [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] --> zephyr/src/hir/ast_to_hir.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 124 | fn reduce_fun(&mut self, fun: NameFun, s: &mut State) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let fun_t = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | let t = match fun_t.to_fun() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Some(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let locals = self.get_locals(&fun, s)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let body = match fun.body { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | NameBody::Zephyr(block) => Body::Zephyr(self.reduce_block(block, s)?), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | ident: fun.ident, [INFO] [stdout] 146 | | params, [INFO] [stdout] 147 | | locals, [INFO] [stdout] ... | [INFO] [stdout] 153 | | fun_id: fun.fun_id, [INFO] [stdout] 154 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 498 | let t = s [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 502 | Ok(Variable { [INFO] [stdout] | ____________^ [INFO] [stdout] 503 | | ident: var.ident, [INFO] [stdout] 504 | | loc: var.loc, [INFO] [stdout] 505 | | n_id: var.n_id, [INFO] [stdout] 506 | | t, [INFO] [stdout] 507 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 511 | let mut prototypes = Vec::with_capacity(imports.prototypes.len()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 515 | Ok(Imports { [INFO] [stdout] | ____________^ [INFO] [stdout] 516 | | from: imports.from, [INFO] [stdout] 517 | | prototypes, [INFO] [stdout] 518 | | loc: imports.loc, [INFO] [stdout] 519 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 531 | let fun_t = s [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 535 | let t = match fun_t.to_fun() { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 536 | Some(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Ok(FunctionPrototype { [INFO] [stdout] | ____________^ [INFO] [stdout] 541 | | ident: proto.ident, [INFO] [stdout] 542 | | alias: proto.alias, [INFO] [stdout] 543 | | is_pub: proto.is_pub, [INFO] [stdout] ... | [INFO] [stdout] 546 | | t, [INFO] [stdout] 547 | | }) [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] --> zephyr/src/hir/ast_to_hir.rs:566:12 [INFO] [stdout] | [INFO] [stdout] 551 | let mut fields = HashMap::with_capacity(struc.fields.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | Ok(Struct { [INFO] [stdout] | ____________^ [INFO] [stdout] 567 | | fields, [INFO] [stdout] 568 | | ident: struc.ident, [INFO] [stdout] 569 | | s_id: struc.s_id, [INFO] [stdout] 570 | | is_pub: struc.is_pub, [INFO] [stdout] 571 | | loc: struc.loc, [INFO] [stdout] 572 | | }) [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] --> zephyr/src/hir/hir.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn new(params: Vec, ret: Type) -> 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] ... [INFO] [stdout] 98 | ret: Box::new(ret), [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] --> zephyr/src/mir/hir_to_mir.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 518 | let (block, block_locals) = match &fun.body { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | Ok(Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 532 | | ident: fun.ident.clone(), [INFO] [stdout] 533 | | params, [INFO] [stdout] 534 | | param_t, [INFO] [stdout] ... | [INFO] [stdout] 540 | | fun_id: fun.fun_id, [INFO] [stdout] 541 | | }) [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] --> zephyr/src/mir/hir_to_mir.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 563 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 566 | let reduced_block = Block::Block { id, stmts, t: None }; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 567 | Ok((reduced_block, locals)) [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 14 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zephyr-lang` (lib test) due to 15 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8a00d5abb2234d40b0bcbf1e5875c27b740dc956c5ea08549a9b5ca6b33d11d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a00d5abb2234d40b0bcbf1e5875c27b740dc956c5ea08549a9b5ca6b33d11d", kill_on_drop: false }` [INFO] [stdout] a8a00d5abb2234d40b0bcbf1e5875c27b740dc956c5ea08549a9b5ca6b33d11d