[INFO] cloning repository https://github.com/LateinCecer/corrosive_physics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LateinCecer/corrosive_physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbd8194d6bee7cb2c84886e26086ad8cce767007 [INFO] checking LateinCecer/corrosive_physics/bbd8194d6bee7cb2c84886e26086ad8cce767007 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%2FLateinCecer%2Fcorrosive_physics" "/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/LateinCecer/corrosive_physics 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/LateinCecer/corrosive_physics [INFO] finished tweaking git repo https://github.com/LateinCecer/corrosive_physics [INFO] tweaked toml for git repo https://github.com/LateinCecer/corrosive_physics written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LateinCecer/corrosive_physics 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] Locking 1 package to latest compatible version [INFO] [stderr] Updating corrosive_physics v0.1.3 (/workspace/builds/worker-7-tc2/source) -> v0.1.5 [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] 1f6f6a09ce8bc3676278b605121f6339fd9e96997f0f9fa863257dbe4f685a79 [INFO] running `Command { std: "docker" "start" "-a" "1f6f6a09ce8bc3676278b605121f6339fd9e96997f0f9fa863257dbe4f685a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f6f6a09ce8bc3676278b605121f6339fd9e96997f0f9fa863257dbe4f685a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6f6a09ce8bc3676278b605121f6339fd9e96997f0f9fa863257dbe4f685a79", kill_on_drop: false }` [INFO] [stdout] 1f6f6a09ce8bc3676278b605121f6339fd9e96997f0f9fa863257dbe4f685a79 [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] b201ad19f74d66df6dc8c83fd9a6088215c3a9441675e28c60e2f93285bd3c2f [INFO] running `Command { std: "docker" "start" "-a" "b201ad19f74d66df6dc8c83fd9a6088215c3a9441675e28c60e2f93285bd3c2f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking delaunator v1.0.2 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking corrosive_physics v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/volume/aabb.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DimMin, SVector, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/volume/aabb.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DimMin, SVector, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DimMin` [INFO] [stdout] --> src/volume/aabb.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DimMin, SVector, Vector3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/object.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tick(&mut self, time: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DimMin` [INFO] [stdout] --> src/volume/aabb.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{DimMin, SVector, Vector3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/helper.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let d = T::simd_sqrt(T::one()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/object.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tick(&mut self, time: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/volume/bvh.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let mut elements = VecPool::>::with_capacity(10); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/helper.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let d = T::simd_sqrt(T::one()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersects(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersects(&self, other: &OBB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersects(&self, other: &Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msg` and `ty` are never read [INFO] [stdout] --> src/system/inertia.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | ty: ErrorType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collider_id` is never read [INFO] [stdout] --> src/system/object.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct PhyEntity { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | collider_id: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/helper.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CondIndex` is never used [INFO] [stdout] --> src/volume/tlas.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | enum CondIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_index` and `unwrap` are never used [INFO] [stdout] --> src/volume/tlas.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl CondIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 199 | fn matches_index(&self, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn unwrap(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collider` is never read [INFO] [stdout] --> src/engine.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct PhysicsEngine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 54 | collider: HashMap>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trigger` and `collider` are never read [INFO] [stdout] --> src/collision.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ColliderVolume<'a, T> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | trigger: MovementTrigger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | collider: &'a dyn Collider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Edge` is never used [INFO] [stdout] --> src/collision/collision_primitive.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Edge = (usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CollisionPrimitive` is never used [INFO] [stdout] --> src/collision/collision_primitive.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait CollisionPrimitive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayIntersection` is never constructed [INFO] [stdout] --> src/collision/intersection.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RayIntersection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/collision/intersection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transformed` and `transform_mut` are never used [INFO] [stdout] --> src/collision/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl VertexBuffer [INFO] [stdout] 12 | | where T: BaseFloat { [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] 13 | pub fn transformed(&self, transform: &Transformer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn transform_mut(&mut self, transform: &Transformer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicsMesh` is never constructed [INFO] [stdout] --> src/collision/model.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct PhysicsMesh, const DIM: usize> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vertex` is never used [INFO] [stdout] --> src/collision/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl, const DIM: usize> PhysicsMesh { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn vertex(&self, idx: usize) -> &SVector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/system/inertia.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn new(mass: T, com: Vector3, inertia: Matrix3) -> Result { [INFO] [stdout] | ------- --------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | // try to invert inertia and build mass distribution from there [INFO] [stdout] 318 | Ok(MassDistribution { [INFO] [stdout] | ____________^ [INFO] [stdout] 319 | | mass, [INFO] [stdout] 320 | | center_of_mass: com, [INFO] [stdout] 321 | | inv_inertia: inertia.clone().try_inverse() [INFO] [stdout] 322 | | .ok_or(err!(physics "Failed to invert inertia tensor"))?, [INFO] [stdout] 323 | | inertia, [INFO] [stdout] 324 | | }) [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/engine.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(engine: PhysicsEngine) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | PERef { [INFO] [stdout] 20 | arc: Some(Arc::new(RwLock::new(engine))) [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 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersects(&self, other: &AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersects(&self, other: &OBB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersects(&self, other: &Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msg` and `ty` are never read [INFO] [stdout] --> src/system/inertia.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | ty: ErrorType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collider_id` is never read [INFO] [stdout] --> src/system/object.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct PhyEntity { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | collider_id: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/helper.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CondIndex` is never used [INFO] [stdout] --> src/volume/tlas.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | enum CondIndex { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_index` and `unwrap` are never used [INFO] [stdout] --> src/volume/tlas.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl CondIndex { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 199 | fn matches_index(&self, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn unwrap(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collider` is never read [INFO] [stdout] --> src/engine.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct PhysicsEngine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 54 | collider: HashMap>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trigger` and `collider` are never read [INFO] [stdout] --> src/collision.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ColliderVolume<'a, T> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | trigger: MovementTrigger, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | collider: &'a dyn Collider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Edge` is never used [INFO] [stdout] --> src/collision/collision_primitive.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Edge = (usize, usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CollisionPrimitive` is never used [INFO] [stdout] --> src/collision/collision_primitive.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait CollisionPrimitive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayIntersection` is never constructed [INFO] [stdout] --> src/collision/intersection.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RayIntersection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/collision/intersection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transformed` and `transform_mut` are never used [INFO] [stdout] --> src/collision/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl VertexBuffer [INFO] [stdout] 12 | | where T: BaseFloat { [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] 13 | pub fn transformed(&self, transform: &Transformer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn transform_mut(&mut self, transform: &Transformer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhysicsMesh` is never constructed [INFO] [stdout] --> src/collision/model.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct PhysicsMesh, const DIM: usize> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vertex` is never used [INFO] [stdout] --> src/collision/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl, const DIM: usize> PhysicsMesh { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn vertex(&self, idx: usize) -> &SVector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/system/inertia.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn new(mass: T, com: Vector3, inertia: Matrix3) -> Result { [INFO] [stdout] | ------- --------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | // try to invert inertia and build mass distribution from there [INFO] [stdout] 318 | Ok(MassDistribution { [INFO] [stdout] | ____________^ [INFO] [stdout] 319 | | mass, [INFO] [stdout] 320 | | center_of_mass: com, [INFO] [stdout] 321 | | inv_inertia: inertia.clone().try_inverse() [INFO] [stdout] 322 | | .ok_or(err!(physics "Failed to invert inertia tensor"))?, [INFO] [stdout] 323 | | inertia, [INFO] [stdout] 324 | | }) [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/engine.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(engine: PhysicsEngine) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | PERef { [INFO] [stdout] 20 | arc: Some(Arc::new(RwLock::new(engine))) [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 `corrosive_physics` (lib test) due to 3 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corrosive_physics` (lib) due to 3 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b201ad19f74d66df6dc8c83fd9a6088215c3a9441675e28c60e2f93285bd3c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b201ad19f74d66df6dc8c83fd9a6088215c3a9441675e28c60e2f93285bd3c2f", kill_on_drop: false }` [INFO] [stdout] b201ad19f74d66df6dc8c83fd9a6088215c3a9441675e28c60e2f93285bd3c2f