[INFO] fetching crate bones_scripting 0.3.0... [INFO] checking bones_scripting-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bones_scripting 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bones_scripting 0.3.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 bones_scripting 0.3.0 [INFO] finished tweaking crates.io crate bones_scripting 0.3.0 [INFO] tweaked toml for crates.io crate bones_scripting 0.3.0 written to /workspace/builds/worker-6-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 178 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (latest: v2.3.1) [INFO] [stderr] Adding bevy_tasks v0.11.3 (latest: v0.14.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding dashmap v5.5.3 (latest: v6.0.1) [INFO] [stderr] Adding ehttp v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding erased-serde v0.3.31 (latest: v0.4.5) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.1) [INFO] [stderr] Adding event-listener v3.1.0 (latest: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.1.1) [INFO] [stderr] Adding futures-lite v1.13.0 (latest: v2.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding inotify v0.9.6 (latest: v0.11.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.2) [INFO] [stderr] Adding ustr v0.10.0 (latest: v1.0.0) [INFO] [stderr] Adding venial v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 38c15945e72e648abc537b6dcb1114018aa53bf6a079bff2057579ce7ae05cd9 [INFO] running `Command { std: "docker" "start" "-a" "38c15945e72e648abc537b6dcb1114018aa53bf6a079bff2057579ce7ae05cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38c15945e72e648abc537b6dcb1114018aa53bf6a079bff2057579ce7ae05cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c15945e72e648abc537b6dcb1114018aa53bf6a079bff2057579ce7ae05cd9", kill_on_drop: false }` [INFO] [stdout] 38c15945e72e648abc537b6dcb1114018aa53bf6a079bff2057579ce7ae05cd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 604e76490cf13228365de9d2b8be66afece8127fb933c0077f56a1bda15ab325 [INFO] running `Command { std: "docker" "start" "-a" "604e76490cf13228365de9d2b8be66afece8127fb933c0077f56a1bda15ab325", kill_on_drop: false }` [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling venial v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking turborand v0.10.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking branches v0.1.3 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking append-only-vec v0.1.5 [INFO] [stderr] Compiling bones_utils_macros v0.3.1 [INFO] [stderr] Compiling bones_schema_macros v0.3.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling gc-arena-derive v0.5.3 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking bitset-core v0.1.1 [INFO] [stderr] Checking atomicell v0.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking bevy_tasks v0.11.3 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Checking ustr v0.10.0 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking bones_utils v0.3.1 [INFO] [stderr] Checking once_map v0.4.19 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking gc-arena v0.5.3 [INFO] [stderr] Checking bones_schema v0.3.0 [INFO] [stderr] Checking piccolo v0.3.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking bones_ecs v0.3.0 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking bones_lib v0.3.0 [INFO] [stderr] Checking ehttp v0.3.1 [INFO] [stderr] Checking bones_asset v0.3.0 [INFO] [stderr] Checking bones_scripting v0.3.0 (/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/lua.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | lua: Mutex::new(lua), [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/lua.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | data: 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/lua.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | compiled_scripts: 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/lua.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 270 | let executor = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | let (send, recv) = async_channel::bounded(1); [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] 295 | state: Arc::new(SendWrapper::new(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/lua/freeze.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn in_scope(value: ::Frozen, cb: impl FnOnce(Self) -> R) -> R { [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] 70 | let f = Self::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let p = f.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | FrozenScope::new().freeze(&f, value).scope(move || cb(p)) [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/lua/freeze.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn in_scope(value: ::Frozen, cb: impl FnOnce(Self) -> R) -> R { [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] 70 | let f = Self::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let p = f.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | FrozenScope::new().freeze(&f, value).scope(move || cb(p)) [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/lua/freeze.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | f: impl for<'f> FnOnce(&>::Frozen) -> R, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | ) -> Result { [INFO] [stdout] 88 | Ok(f(self [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | .inner [INFO] [stdout] 90 | | .try_borrow() [INFO] [stdout] 91 | | .map_err(|_| AccessError::BadBorrow)? [INFO] [stdout] 92 | | .as_ref() [INFO] [stdout] 93 | | .ok_or(AccessError::Expired)?)) [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/lua/freeze.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn with(&self, f: impl for<'f> FnOnce(&>::Frozen) -> R) -> R { [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | self.try_with(f).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/lua/freeze.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 105 | f: impl for<'f> FnOnce(&mut >::Frozen) -> R, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Result { [INFO] [stdout] 107 | Ok(f(self [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | .inner [INFO] [stdout] 109 | | .try_borrow_mut() [INFO] [stdout] 110 | | .map_err(|_| AccessError::BadBorrow)? [INFO] [stdout] 111 | | .as_mut() [INFO] [stdout] 112 | | .ok_or(AccessError::Expired)?)) [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/lua/freeze.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn with_mut(&self, f: impl for<'f> FnOnce(&mut >::Frozen) -> R) -> R { [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.try_with_mut(f).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/lua/freeze.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 141 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | handle: &'h Frozen, [INFO] [stdout] 143 | value: >::Frozen, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ) -> FrozenScope<(FreezeGuard<'h, 'f, F>, D)> { [INFO] [stdout] 145 | FrozenScope(( [INFO] [stdout] | _____________________^ [INFO] [stdout] 146 | | FreezeGuard { [INFO] [stdout] 147 | | value: Some(value), [INFO] [stdout] 148 | | handle, [INFO] [stdout] 149 | | }, [INFO] [stdout] 150 | | self.0, [INFO] [stdout] 151 | | )) [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/lua/asset.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 27 | _ctx: AssetLoadCtx, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 32 | | let script = LuaScript { [INFO] [stdout] 33 | | source: String::from_utf8(bytes)?, [INFO] [stdout] 34 | | }; [INFO] [stdout] 35 | | Ok(SchemaBox::new(script)) [INFO] [stdout] 36 | | }) [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/lua/asset.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 143 | let mut systems = this.borrow_mut(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(CallbackReturn::Return) [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/lua/asset.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 159 | let mut systems = this.borrow_mut(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(CallbackReturn::Return) [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/lua/asset.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 250 | _ctx: AssetLoadCtx, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | let script = LuaPlugin { [INFO] [stdout] 256 | | source: String::from_utf8(bytes)?, [INFO] [stdout] 257 | | systems: Arc::new(AtomicCell::new(default())), [INFO] [stdout] 258 | | }; [INFO] [stdout] 259 | | Ok(SchemaBox::new(script)) [INFO] [stdout] 260 | | }) [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/lua/asset.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 255 | let script = LuaPlugin { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(SchemaBox::new(script)) [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/lua/bindings/assets.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 24 | let b = ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(CallbackReturn::Return) [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/lua/bindings/assets.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | data: EcsRefData::Asset(AssetRef { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 30 | | server: (*world.resources.get::().unwrap()).clone(), [INFO] [stdout] 31 | | handle: *handle, [INFO] [stdout] 32 | | }), [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/lua/bindings/components.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 27 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let store = world.with(|world| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let ecsref = EcsRef { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(CallbackReturn::Return) [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/lua/bindings/components.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 60 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let value = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let b = value_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(CallbackReturn::Return) [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/lua/bindings/components.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 85 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 31 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 49 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 63 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut state = state.borrow_mut(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(CallbackReturn::Return) [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/lua/bindings/schema.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 14 | return Err(anyhow::format_err!("Type error: expected string schema name").into()); [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | }; [INFO] [stdout] 16 | let mut matches = SCHEMA_REGISTRY.schemas.iter().filter(|schema| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 305 | let b = this.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 324 | let mut newref = this.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | newref.path = ustr(&format!("{}.{key}", this.path)); [INFO] [stdout] 326 | let b = newref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:474:20 [INFO] [stdout] | [INFO] [stdout] 366 | let mut this = this.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | this.path = ustr(&format!("{}.{key}", this.path)); [INFO] [stdout] 368 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | Ok(CallbackReturn::Return) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bones_scripting` (lib test) due to 30 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/lua.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | lua: Mutex::new(lua), [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/lua.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | data: 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/lua.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 244 | let mut lua = Lua::core(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | compiled_scripts: 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/lua.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 270 | let executor = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | let (send, recv) = async_channel::bounded(1); [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] 295 | state: Arc::new(SendWrapper::new(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/lua/freeze.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn in_scope(value: ::Frozen, cb: impl FnOnce(Self) -> R) -> R { [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] 70 | let f = Self::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let p = f.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | FrozenScope::new().freeze(&f, value).scope(move || cb(p)) [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/lua/freeze.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn in_scope(value: ::Frozen, cb: impl FnOnce(Self) -> R) -> R { [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] 70 | let f = Self::new(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let p = f.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | FrozenScope::new().freeze(&f, value).scope(move || cb(p)) [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/lua/freeze.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | f: impl for<'f> FnOnce(&>::Frozen) -> R, [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | ) -> Result { [INFO] [stdout] 88 | Ok(f(self [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | .inner [INFO] [stdout] 90 | | .try_borrow() [INFO] [stdout] 91 | | .map_err(|_| AccessError::BadBorrow)? [INFO] [stdout] 92 | | .as_ref() [INFO] [stdout] 93 | | .ok_or(AccessError::Expired)?)) [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/lua/freeze.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn with(&self, f: impl for<'f> FnOnce(&>::Frozen) -> R) -> R { [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | self.try_with(f).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/lua/freeze.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 105 | f: impl for<'f> FnOnce(&mut >::Frozen) -> R, [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Result { [INFO] [stdout] 107 | Ok(f(self [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | .inner [INFO] [stdout] 109 | | .try_borrow_mut() [INFO] [stdout] 110 | | .map_err(|_| AccessError::BadBorrow)? [INFO] [stdout] 111 | | .as_mut() [INFO] [stdout] 112 | | .ok_or(AccessError::Expired)?)) [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/lua/freeze.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn with_mut(&self, f: impl for<'f> FnOnce(&mut >::Frozen) -> R) -> R { [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self.try_with_mut(f).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/lua/freeze.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 141 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | handle: &'h Frozen, [INFO] [stdout] 143 | value: >::Frozen, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ) -> FrozenScope<(FreezeGuard<'h, 'f, F>, D)> { [INFO] [stdout] 145 | FrozenScope(( [INFO] [stdout] | _____________________^ [INFO] [stdout] 146 | | FreezeGuard { [INFO] [stdout] 147 | | value: Some(value), [INFO] [stdout] 148 | | handle, [INFO] [stdout] 149 | | }, [INFO] [stdout] 150 | | self.0, [INFO] [stdout] 151 | | )) [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/lua/asset.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 27 | _ctx: AssetLoadCtx, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 32 | | let script = LuaScript { [INFO] [stdout] 33 | | source: String::from_utf8(bytes)?, [INFO] [stdout] 34 | | }; [INFO] [stdout] 35 | | Ok(SchemaBox::new(script)) [INFO] [stdout] 36 | | }) [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/lua/asset.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 143 | let mut systems = this.borrow_mut(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(CallbackReturn::Return) [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/lua/asset.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 159 | let mut systems = this.borrow_mut(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(CallbackReturn::Return) [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/lua/asset.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 250 | _ctx: AssetLoadCtx, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | let script = LuaPlugin { [INFO] [stdout] 256 | | source: String::from_utf8(bytes)?, [INFO] [stdout] 257 | | systems: Arc::new(AtomicCell::new(default())), [INFO] [stdout] 258 | | }; [INFO] [stdout] 259 | | Ok(SchemaBox::new(script)) [INFO] [stdout] 260 | | }) [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/lua/asset.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 255 | let script = LuaPlugin { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(SchemaBox::new(script)) [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/lua/bindings/assets.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 24 | let b = ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(CallbackReturn::Return) [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/lua/bindings/assets.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | data: EcsRefData::Asset(AssetRef { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 30 | | server: (*world.resources.get::().unwrap()).clone(), [INFO] [stdout] 31 | | handle: *handle, [INFO] [stdout] 32 | | }), [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/lua/bindings/components.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 27 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let store = world.with(|world| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let ecsref = EcsRef { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(CallbackReturn::Return) [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/lua/bindings/components.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 60 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let value = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let b = value_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(CallbackReturn::Return) [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/lua/bindings/components.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 85 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 31 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 49 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let b = entity_ecsref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 63 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(CallbackReturn::Return) [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/lua/bindings/entities.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 105 | let mut state = state.borrow_mut(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(CallbackReturn::Return) [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/lua/bindings/schema.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 14 | return Err(anyhow::format_err!("Type error: expected string schema name").into()); [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | }; [INFO] [stdout] 16 | let mut matches = SCHEMA_REGISTRY.schemas.iter().filter(|schema| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 305 | let b = this.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 324 | let mut newref = this.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | newref.path = ustr(&format!("{}.{key}", this.path)); [INFO] [stdout] 326 | let b = newref.borrow(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Ok(CallbackReturn::Return) [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/lua/bindings/ecsref.rs:474:20 [INFO] [stdout] | [INFO] [stdout] 366 | let mut this = this.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | this.path = ustr(&format!("{}.{key}", this.path)); [INFO] [stdout] 368 | let mut b = this.borrow_mut(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | Ok(CallbackReturn::Return) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bones_scripting` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "604e76490cf13228365de9d2b8be66afece8127fb933c0077f56a1bda15ab325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604e76490cf13228365de9d2b8be66afece8127fb933c0077f56a1bda15ab325", kill_on_drop: false }` [INFO] [stdout] 604e76490cf13228365de9d2b8be66afece8127fb933c0077f56a1bda15ab325