[INFO] fetching crate walrus 0.21.1... [INFO] checking walrus-0.21.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate walrus 0.21.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate walrus 0.21.1 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 walrus 0.21.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate walrus 0.21.1 [INFO] tweaked toml for crates.io crate walrus 0.21.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate walrus 0.21.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 85194ba61c602e1432bb58767d5ac33cc0a9d8a7e2d24bf3293183a25956fb32 [INFO] running `Command { std: "docker" "start" "-a" "85194ba61c602e1432bb58767d5ac33cc0a9d8a7e2d24bf3293183a25956fb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85194ba61c602e1432bb58767d5ac33cc0a9d8a7e2d24bf3293183a25956fb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85194ba61c602e1432bb58767d5ac33cc0a9d8a7e2d24bf3293183a25956fb32", kill_on_drop: false }` [INFO] [stdout] 85194ba61c602e1432bb58767d5ac33cc0a9d8a7e2d24bf3293183a25956fb32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6b533e235f99629cd48c170af66a9151aac0a0918fac2588152864b1999e7054 [INFO] running `Command { std: "docker" "start" "-a" "6b533e235f99629cd48c170af66a9151aac0a0918fac2588152864b1999e7054", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking wasm-encoder v0.212.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking wasmparser v0.212.0 [INFO] [stderr] Checking walrus v0.21.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/mod.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn with_config(config: ModuleConfig) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | ..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] = 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/module/custom.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | fn section_box(s: Box) -> Option> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | s.into_any().downcast().ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/custom.rs:349:39 [INFO] [stdout] | [INFO] [stdout] 349 | .and_then(|s| T::section(&**s.as_ref().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/module/custom.rs:364:47 [INFO] [stdout] | [INFO] [stdout] 364 | .and_then(|s| T::section_mut(&mut **s.as_mut().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/module/data.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | .any(|(_, f)| !f.used_data_segments().is_empty()) [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/module/exports.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add(&mut self, name: &str, item: impl Into) -> ExportId { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | self.arena.alloc_with_id(|id| Export { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 85 | | id, [INFO] [stdout] 86 | | name: name.to_string(), [INFO] [stdout] 87 | | item: item.into(), [INFO] [stdout] 88 | | }) [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/module/exports.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_func(&self, name: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | self.iter() [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/module/functions/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | kind: FunctionKind::Import(ImportedFunction { import, ty }), [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/module/functions/mod.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn add_local(&mut self, func: LocalFunction) -> FunctionId { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let func_name = func.builder().name.clone(); [INFO] [stdout] 177 | self.arena.alloc_with_id(|id| Function { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 178 | | id, [INFO] [stdout] 179 | | kind: FunctionKind::Local(func), [INFO] [stdout] 180 | | name: func_name, [INFO] [stdout] 181 | | }) [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/module/functions/mod.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn add_local(&mut self, func: LocalFunction) -> FunctionId { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | kind: FunctionKind::Local(func), [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/module/functions/mod.rs:409:21 [INFO] [stdout] | [INFO] [stdout] 406 | .map(|(id, body, args, ty, validator)| { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | / LocalFunction::parse( [INFO] [stdout] 410 | | self, [INFO] [stdout] 411 | | indices, [INFO] [stdout] 412 | | id, [INFO] [stdout] ... | [INFO] [stdout] 417 | | validator, [INFO] [stdout] 418 | | ), [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/module/functions/local_function/context.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let frame = impl_pop_control(&mut self.controls)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let block = frame.block; [INFO] [stdout] 115 | Ok((frame, 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] --> src/module/imports.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add(&mut self, module: &str, name: &str, kind: impl Into) -> ImportId { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | self.arena.alloc_with_id(|id| Import { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 93 | | id, [INFO] [stdout] 94 | | module: module.to_string(), [INFO] [stdout] 95 | | name: name.to_string(), [INFO] [stdout] 96 | | kind: kind.into(), [INFO] [stdout] 97 | | }) [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/module/imports.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn get_func(&self, module: impl AsRef, name: impl AsRef) -> Result { [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] 112 | self.iter() [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/tombstone_arena.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn alloc_with_id(&mut self, f: F) -> Id [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | self.alloc(f(id)) [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/ty.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(v.into_boxed_slice()) [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: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walrus` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir/traversals.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 298 | let mut builder = crate::FunctionBuilder::new(&mut module.types, &[], &[]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | module.funcs.get_mut(func_id).kind.unwrap_local_mut() [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/module/mod.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn with_config(config: ModuleConfig) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | ..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/module/custom.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | fn section_box(s: Box) -> Option> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | s.into_any().downcast().ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/custom.rs:349:39 [INFO] [stdout] | [INFO] [stdout] 349 | .and_then(|s| T::section(&**s.as_ref().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/module/custom.rs:364:47 [INFO] [stdout] | [INFO] [stdout] 364 | .and_then(|s| T::section_mut(&mut **s.as_mut().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/module/data.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | .any(|(_, f)| !f.used_data_segments().is_empty()) [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/module/exports.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add(&mut self, name: &str, item: impl Into) -> ExportId { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | self.arena.alloc_with_id(|id| Export { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 85 | | id, [INFO] [stdout] 86 | | name: name.to_string(), [INFO] [stdout] 87 | | item: item.into(), [INFO] [stdout] 88 | | }) [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/module/exports.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_func(&self, name: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | self.iter() [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/module/functions/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | kind: FunctionKind::Import(ImportedFunction { import, ty }), [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/module/functions/mod.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn add_local(&mut self, func: LocalFunction) -> FunctionId { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let func_name = func.builder().name.clone(); [INFO] [stdout] 177 | self.arena.alloc_with_id(|id| Function { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 178 | | id, [INFO] [stdout] 179 | | kind: FunctionKind::Local(func), [INFO] [stdout] 180 | | name: func_name, [INFO] [stdout] 181 | | }) [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/module/functions/mod.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn add_local(&mut self, func: LocalFunction) -> FunctionId { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | kind: FunctionKind::Local(func), [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/module/functions/mod.rs:409:21 [INFO] [stdout] | [INFO] [stdout] 406 | .map(|(id, body, args, ty, validator)| { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | / LocalFunction::parse( [INFO] [stdout] 410 | | self, [INFO] [stdout] 411 | | indices, [INFO] [stdout] 412 | | id, [INFO] [stdout] ... | [INFO] [stdout] 417 | | validator, [INFO] [stdout] 418 | | ), [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/module/functions/local_function/context.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 113 | let frame = impl_pop_control(&mut self.controls)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let block = frame.block; [INFO] [stdout] 115 | Ok((frame, 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] --> src/module/imports.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add(&mut self, module: &str, name: &str, kind: impl Into) -> ImportId { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | self.arena.alloc_with_id(|id| Import { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 93 | | id, [INFO] [stdout] 94 | | module: module.to_string(), [INFO] [stdout] 95 | | name: name.to_string(), [INFO] [stdout] 96 | | kind: kind.into(), [INFO] [stdout] 97 | | }) [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/module/imports.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn get_func(&self, module: impl AsRef, name: impl AsRef) -> Result { [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] 112 | self.iter() [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/tombstone_arena.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn alloc_with_id(&mut self, f: F) -> Id [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | self.alloc(f(id)) [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/ty.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(v.into_boxed_slice()) [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: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walrus` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "6b533e235f99629cd48c170af66a9151aac0a0918fac2588152864b1999e7054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b533e235f99629cd48c170af66a9151aac0a0918fac2588152864b1999e7054", kill_on_drop: false }` [INFO] [stdout] 6b533e235f99629cd48c170af66a9151aac0a0918fac2588152864b1999e7054