[INFO] fetching crate wasmi_c_api_impl 0.36.0... [INFO] checking wasmi_c_api_impl-0.36.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmi_c_api_impl 0.36.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate wasmi_c_api_impl 0.36.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 wasmi_c_api_impl 0.36.0 [INFO] finished tweaking crates.io crate wasmi_c_api_impl 0.36.0 [INFO] tweaked toml for crates.io crate wasmi_c_api_impl 0.36.0 written to /workspace/builds/worker-0-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 29 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b9cd5c8914fbc74e9e445fce862d73979d795d710ee21105344842145040ed33 [INFO] running `Command { std: "docker" "start" "-a" "b9cd5c8914fbc74e9e445fce862d73979d795d710ee21105344842145040ed33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9cd5c8914fbc74e9e445fce862d73979d795d710ee21105344842145040ed33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9cd5c8914fbc74e9e445fce862d73979d795d710ee21105344842145040ed33", kill_on_drop: false }` [INFO] [stdout] b9cd5c8914fbc74e9e445fce862d73979d795d710ee21105344842145040ed33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 21c03d3f2cd003d3a3e83024c8c09a0add5d08a1659332a4bcd4cf3e500562cd [INFO] running `Command { std: "docker" "start" "-a" "21c03d3f2cd003d3a3e83024c8c09a0add5d08a1659332a4bcd4cf3e500562cd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Compiling wasmi_c_api_impl v0.36.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking multi-stash v0.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasmi_c_api_macros v0.36.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking wasmi_core v0.36.0 [INFO] [stderr] Checking string-interner v0.17.0 [INFO] [stderr] Checking wasmi_collections v0.36.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking wasmi v0.36.0 [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/engine.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub extern "C" fn wasm_engine_new_with_config(config: Box) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Box::new(wasm_engine_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 36 | | inner: Engine::new(&config.inner), [INFO] [stdout] 37 | | }) [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/func.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 75 | / func: impl Fn(*const wasm_val_vec_t, *mut wasm_val_vec_t) -> Option> [INFO] [stdout] 76 | | + Send [INFO] [stdout] 77 | | + Sync [INFO] [stdout] 78 | | + 'static, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ) -> Box { [INFO] [stdout] 80 | let ty = ty.ty().ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Box::new(wasm_func_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 105 | | inner: wasm_extern_t { [INFO] [stdout] 106 | | store: store.inner.clone(), [INFO] [stdout] 107 | | which: func.into(), [INFO] [stdout] 108 | | }, [INFO] [stdout] 109 | | }) [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/func.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 151 | let finalizer = crate::ForeignData { data, finalizer }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | create_function(store, ty, move |params, results| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 153 | | let _ = &finalizer; // move entire finalizer into this closure [INFO] [stdout] 154 | | callback(finalizer.data, params, results) [INFO] [stdout] 155 | | }) [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/instance.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 53 | let imports = (*imports) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | match Instance::new(store.inner.context_mut(), &wasm_module.inner, &imports) { [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.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Some(Box::new(wasm_exporttype_t::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 85 | | String::from(e.name()), [INFO] [stdout] 86 | | CExternType::new(e.ty().clone()), [INFO] [stdout] 87 | | ))) [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.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Some(Box::new(wasm_importtype_t::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 109 | | String::from(i.module()), [INFO] [stdout] 110 | | String::from(i.name()), [INFO] [stdout] 111 | | CExternType::new(i.ty().clone()), [INFO] [stdout] 112 | | ))) [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/store.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 68 | let store = Store::new(engine, ()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Box::new(wasm_store_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 70 | | inner: WasmStoreRef { [INFO] [stdout] 71 | | inner: Arc::new(UnsafeCell::new(store)), [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }) [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/types/export.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 36 | ty: Box, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> Option> { [INFO] [stdout] 38 | let name = name.take(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let name = String::from_utf8(name.into_vec()).ok()?; [INFO] [stdout] 40 | Some(Box::new(wasm_exporttype_t::new(name, ty.which.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/extern.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn from_extern_type(ty: ExternType) -> wasm_externtype_t { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | wasm_externtype_t { [INFO] [stdout] 56 | which: CExternType::new(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/types/func.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(ty: FuncType) -> wasm_functype_t { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | wasm_functype_t { [INFO] [stdout] 26 | ext: wasm_externtype_t::from_extern_type(ty.into()), [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/types/func.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|ty| Some(Box::new(wasm_valtype_t { 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/types/func.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|ty| Some(Box::new(wasm_valtype_t { 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/types/func.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 84 | let params = params [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let results = results [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let functype = FuncType::new(params, results); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Box::new(wasm_functype_t::new(functype)) [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/types/func.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|ty| ty.unwrap().ty); [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [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/types/func.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|ty| ty.unwrap().ty); [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [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/types/global.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 75 | ty: Box, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Some(Box::new(wasm_globaltype_t::new(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/types/import.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 41 | ty: Box, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ) -> Option> { [INFO] [stdout] 43 | let module = module.take(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let name = name.take(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some(Box::new(wasm_importtype_t::new( [INFO] [stdout] | __________^ [INFO] [stdout] 48 | | module, [INFO] [stdout] 49 | | name, [INFO] [stdout] 50 | | ty.which.clone(), [INFO] [stdout] 51 | | ))) [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/types/table.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 70 | ty: Box, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Some(Box::new(wasm_tabletype_t::new(TableType::new( [INFO] [stdout] | __________^ [INFO] [stdout] 74 | | ty.ty, [INFO] [stdout] 75 | | limits.min, [INFO] [stdout] 76 | | limits.max(), [INFO] [stdout] 77 | | )))) [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/vec.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 121 | fn from(vec: Vec<$elem_ty>) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | Self::from(vec.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | / declare_vecs! { [INFO] [stdout] 195 | | struct wasm_byte_vec_t { [INFO] [stdout] 196 | | type element = u8; [INFO] [stdout] 197 | | fn new: wasm_byte_vec_new; [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_vecs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmi_c_api_impl` (lib) due to 20 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/engine.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub extern "C" fn wasm_engine_new_with_config(config: Box) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Box::new(wasm_engine_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 36 | | inner: Engine::new(&config.inner), [INFO] [stdout] 37 | | }) [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/func.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 75 | / func: impl Fn(*const wasm_val_vec_t, *mut wasm_val_vec_t) -> Option> [INFO] [stdout] 76 | | + Send [INFO] [stdout] 77 | | + Sync [INFO] [stdout] 78 | | + 'static, [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | ) -> Box { [INFO] [stdout] 80 | let ty = ty.ty().ty.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Box::new(wasm_func_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 105 | | inner: wasm_extern_t { [INFO] [stdout] 106 | | store: store.inner.clone(), [INFO] [stdout] 107 | | which: func.into(), [INFO] [stdout] 108 | | }, [INFO] [stdout] 109 | | }) [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/func.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 151 | let finalizer = crate::ForeignData { data, finalizer }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | create_function(store, ty, move |params, results| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 153 | | let _ = &finalizer; // move entire finalizer into this closure [INFO] [stdout] 154 | | callback(finalizer.data, params, results) [INFO] [stdout] 155 | | }) [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/instance.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 53 | let imports = (*imports) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | match Instance::new(store.inner.context_mut(), &wasm_module.inner, &imports) { [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.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | Some(Box::new(wasm_exporttype_t::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 85 | | String::from(e.name()), [INFO] [stdout] 86 | | CExternType::new(e.ty().clone()), [INFO] [stdout] 87 | | ))) [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.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Some(Box::new(wasm_importtype_t::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 109 | | String::from(i.module()), [INFO] [stdout] 110 | | String::from(i.name()), [INFO] [stdout] 111 | | CExternType::new(i.ty().clone()), [INFO] [stdout] 112 | | ))) [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/store.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 68 | let store = Store::new(engine, ()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Box::new(wasm_store_t { [INFO] [stdout] | ______________^ [INFO] [stdout] 70 | | inner: WasmStoreRef { [INFO] [stdout] 71 | | inner: Arc::new(UnsafeCell::new(store)), [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }) [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/types/export.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 36 | ty: Box, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> Option> { [INFO] [stdout] 38 | let name = name.take(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let name = String::from_utf8(name.into_vec()).ok()?; [INFO] [stdout] 40 | Some(Box::new(wasm_exporttype_t::new(name, ty.which.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/extern.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn from_extern_type(ty: ExternType) -> wasm_externtype_t { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | wasm_externtype_t { [INFO] [stdout] 56 | which: CExternType::new(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/types/func.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(ty: FuncType) -> wasm_functype_t { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | wasm_functype_t { [INFO] [stdout] 26 | ext: wasm_externtype_t::from_extern_type(ty.into()), [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/types/func.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|ty| Some(Box::new(wasm_valtype_t { 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/types/func.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|ty| Some(Box::new(wasm_valtype_t { 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/types/func.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 84 | let params = params [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | let results = results [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let functype = FuncType::new(params, results); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Box::new(wasm_functype_t::new(functype)) [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/types/func.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|ty| ty.unwrap().ty); [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [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/types/func.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|ty| ty.unwrap().ty); [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [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/types/global.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 75 | ty: Box, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Some(Box::new(wasm_globaltype_t::new(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/types/import.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 41 | ty: Box, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | ) -> Option> { [INFO] [stdout] 43 | let module = module.take(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let name = name.take(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some(Box::new(wasm_importtype_t::new( [INFO] [stdout] | __________^ [INFO] [stdout] 48 | | module, [INFO] [stdout] 49 | | name, [INFO] [stdout] 50 | | ty.which.clone(), [INFO] [stdout] 51 | | ))) [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/types/table.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 70 | ty: Box, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Some(Box::new(wasm_tabletype_t::new(TableType::new( [INFO] [stdout] | __________^ [INFO] [stdout] 74 | | ty.ty, [INFO] [stdout] 75 | | limits.min, [INFO] [stdout] 76 | | limits.max(), [INFO] [stdout] 77 | | )))) [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/vec.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 121 | fn from(vec: Vec<$elem_ty>) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | Self::from(vec.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | / declare_vecs! { [INFO] [stdout] 195 | | struct wasm_byte_vec_t { [INFO] [stdout] 196 | | type element = u8; [INFO] [stdout] 197 | | fn new: wasm_byte_vec_new; [INFO] [stdout] ... | [INFO] [stdout] 290 | | } [INFO] [stdout] 291 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `declare_vecs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmi_c_api_impl` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "21c03d3f2cd003d3a3e83024c8c09a0add5d08a1659332a4bcd4cf3e500562cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c03d3f2cd003d3a3e83024c8c09a0add5d08a1659332a4bcd4cf3e500562cd", kill_on_drop: false }` [INFO] [stdout] 21c03d3f2cd003d3a3e83024c8c09a0add5d08a1659332a4bcd4cf3e500562cd