[INFO] cloning repository https://github.com/Mg138/trade-or-slay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mg138/trade-or-slay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMg138%2Ftrade-or-slay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMg138%2Ftrade-or-slay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8dcb47ff171a2fe6d12ac7d14d14a4349eecbb6 [INFO] checking Mg138/trade-or-slay/a8dcb47ff171a2fe6d12ac7d14d14a4349eecbb6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMg138%2Ftrade-or-slay" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mg138/trade-or-slay on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mg138/trade-or-slay [INFO] finished tweaking git repo https://github.com/Mg138/trade-or-slay [INFO] tweaked toml for git repo https://github.com/Mg138/trade-or-slay written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mg138/trade-or-slay already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 02e51dfbc332eba4262e6da29fde9e7055ed8f2f10fb16e7515a102e469cec33 [INFO] running `Command { std: "docker" "start" "-a" "02e51dfbc332eba4262e6da29fde9e7055ed8f2f10fb16e7515a102e469cec33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e51dfbc332eba4262e6da29fde9e7055ed8f2f10fb16e7515a102e469cec33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e51dfbc332eba4262e6da29fde9e7055ed8f2f10fb16e7515a102e469cec33", kill_on_drop: false }` [INFO] [stdout] 02e51dfbc332eba4262e6da29fde9e7055ed8f2f10fb16e7515a102e469cec33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 87b4b2aaf6fc821318ff8c320a6b8b8fe1829c59ad8c0abd6b487376e2f8325e [INFO] running `Command { std: "docker" "start" "-a" "87b4b2aaf6fc821318ff8c320a6b8b8fe1829c59ad8c0abd6b487376e2f8325e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Compiling sapp-linux v0.1.14 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking ttf-parser v0.15.0 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Checking euclid v0.22.7 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking fontconfig-parser v0.5.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking unicode-script v0.5.4 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking lyon_geom v0.17.6 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking svgtypes v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking kurbo v0.8.3 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking miniquad v0.3.0-alpha.46 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking lyon_path v0.17.7 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pico-args v0.4.2 [INFO] [stderr] Checking rctree v0.4.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking fontdb v0.9.1 [INFO] [stderr] Checking rustybuzz v0.5.0 [INFO] [stderr] Checking lyon_tessellation v0.17.10 [INFO] [stderr] Checking lyon_algorithms v0.17.7 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking lyon v0.17.10 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Checking macroquad v0.3.16 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking usvg v0.22.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking parry2d v0.7.1 [INFO] [stderr] Checking rapier2d v0.11.1 [INFO] [stderr] Checking trade-or-slay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IslandManager` and `JointSet` [INFO] [stdout] --> src/main.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | BroadPhase, CCDSolver, ChannelEventCollector, IntegrationParameters, IslandManager, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | JointSet, NarrowPhase, PhysicsPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IslandManager` and `JointSet` [INFO] [stdout] --> src/main.rs:20:78 [INFO] [stdout] | [INFO] [stdout] 20 | BroadPhase, CCDSolver, ChannelEventCollector, IntegrationParameters, IslandManager, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | JointSet, NarrowPhase, PhysicsPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_recv` [INFO] [stdout] --> src/world/world.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | contact_recv: &Receiver, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `force_build` and `build` are never used [INFO] [stdout] --> src/entity/entity.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn force_build(self) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn build<'a>(self, world: &'a mut World, post_init: PostInitFn) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_collider` and `get_collider_mut` are never used [INFO] [stdout] --> src/entity/physics.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PhysicsLike { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_collider<'a>(&self, collider_set: &'a ColliderSet) -> Option<&'a Collider>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn get_collider_mut<'a>(&self, collider_set: &'a mut ColliderSet) -> Option<&'a mut Collider>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/entity/projectile/projectile.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Projectile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 17 | pub source: EntityHolder, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Projectile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub static SHIP: ReLazy = load_resource_lazy!(RESOURCE_SHIP); [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | pub static BULLET: ReLazy = load_resource_lazy!(RESOURCE_BULLET); [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 `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub static CURSOR: ReLazy = load_resource_lazy!(RESOURCE_CURSOR); [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 `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_recv` [INFO] [stdout] --> src/world/world.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | contact_recv: &Receiver, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_recv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/resource.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 233 | .filter_map(|n| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let id = n.id().to_string(); [INFO] [stdout] 235 | Some((id, n)) [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/util/resource.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | .filter(|v| HIDDEN_ELEMENTS.contains(&v.0) == false) [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] warning: methods `force_build` and `build` are never used [INFO] [stdout] --> src/entity/entity.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn force_build(self) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn build<'a>(self, world: &'a mut World, post_init: PostInitFn) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_collider` and `get_collider_mut` are never used [INFO] [stdout] --> src/entity/physics.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait PhysicsLike { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn get_collider<'a>(&self, collider_set: &'a ColliderSet) -> Option<&'a Collider>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn get_collider_mut<'a>(&self, collider_set: &'a mut ColliderSet) -> Option<&'a mut Collider>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/entity/projectile/projectile.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Projectile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 17 | pub source: EntityHolder, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Projectile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub static SHIP: ReLazy = load_resource_lazy!(RESOURCE_SHIP); [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | pub static BULLET: ReLazy = load_resource_lazy!(RESOURCE_BULLET); [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 `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/resource_util.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Lazy::new(|| resource::load_resource($p).now_or_never().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub static CURSOR: ReLazy = load_resource_lazy!(RESOURCE_CURSOR); [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 `load_resource_lazy` (in Nightly builds, run with -Z macro-backtrace for more info) [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/util/resource.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 233 | .filter_map(|n| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | let id = n.id().to_string(); [INFO] [stdout] 235 | Some((id, n)) [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 5 previous errors; 5 warnings emitted [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/util/resource.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | .filter(|v| HIDDEN_ELEMENTS.contains(&v.0) == false) [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] [stderr] error: could not compile `trade-or-slay` (bin "trade-or-slay" test) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trade-or-slay` (bin "trade-or-slay") due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87b4b2aaf6fc821318ff8c320a6b8b8fe1829c59ad8c0abd6b487376e2f8325e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b4b2aaf6fc821318ff8c320a6b8b8fe1829c59ad8c0abd6b487376e2f8325e", kill_on_drop: false }` [INFO] [stdout] 87b4b2aaf6fc821318ff8c320a6b8b8fe1829c59ad8c0abd6b487376e2f8325e