[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 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LateinCecer/corrosive_physics on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating corrosive_physics v0.1.3 (/workspace/builds/worker-5-tc1/source) -> v0.1.5 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded delaunator v1.0.2 [INFO] [stderr] Downloaded bevy_window v0.11.3 [INFO] [stderr] Downloaded encase_derive_impl v0.6.1 [INFO] [stderr] Downloaded bevy_utils v0.11.3 [INFO] [stderr] Downloaded robust v0.2.3 [INFO] [stderr] Downloaded bevy_winit v0.11.3 [INFO] [stderr] Downloaded bevy_hierarchy v0.11.3 [INFO] [stderr] Downloaded bevy_utils_proc_macros v0.11.3 [INFO] [stderr] Downloaded bevy_encase_derive v0.11.3 [INFO] [stderr] Downloaded encase_derive v0.6.1 [INFO] [stderr] Downloaded bevy_transform v0.11.3 [INFO] [stderr] Downloaded bevy_mikktspace v0.11.3 [INFO] [stderr] Downloaded bevy_animation v0.11.3 [INFO] [stderr] Downloaded bevy_time v0.11.3 [INFO] [stderr] Downloaded bevy_gilrs v0.11.3 [INFO] [stderr] Downloaded bevy_gizmos v0.11.3 [INFO] [stderr] Downloaded bevy_scene v0.11.3 [INFO] [stderr] Downloaded bevy_audio v0.11.3 [INFO] [stderr] Downloaded bevy_gltf v0.11.3 [INFO] [stderr] Downloaded bevy_text v0.11.3 [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded io-kit-sys v0.3.0 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded naga_oil v0.8.2 [INFO] [stderr] Downloaded bevy_pbr v0.11.3 [INFO] [stderr] Downloaded gilrs v0.10.2 [INFO] [stderr] Downloaded sysinfo v0.29.10 [INFO] [stderr] Downloaded bevy_render v0.11.3 [INFO] [stderr] Downloaded taffy v0.3.13 [INFO] [stderr] Downloaded bevy_reflect v0.11.3 [INFO] [stderr] Downloaded bevy_ecs v0.11.3 [INFO] [stderr] Downloaded gilrs-core v0.5.7 [INFO] [stderr] Downloaded bevy v0.11.3 [INFO] [stderr] Downloaded bevy_ui v0.11.3 [INFO] [stderr] Downloaded erased-serde v0.3.21 [INFO] [stderr] Downloaded bevy_diagnostic v0.11.3 [INFO] [stderr] Downloaded bevy_asset v0.11.3 [INFO] [stderr] Downloaded hexasphere v9.1.0 [INFO] [stderr] Downloaded bevy_tasks v0.11.3 [INFO] [stderr] Downloaded bevy_core_pipeline v0.11.3 [INFO] [stderr] Downloaded bevy_reflect_derive v0.11.3 [INFO] [stderr] Downloaded bevy_render_macros v0.11.3 [INFO] [stderr] Downloaded encase v0.6.1 [INFO] [stderr] Downloaded thiserror-core-impl v1.0.38 [INFO] [stderr] Downloaded thiserror-core v1.0.38 [INFO] [stderr] Downloaded bevy_log v0.11.3 [INFO] [stderr] Downloaded bevy_derive v0.11.3 [INFO] [stderr] Downloaded bevy_ecs_macros v0.11.3 [INFO] [stderr] Downloaded bevy_input v0.11.3 [INFO] [stderr] Downloaded bevy_macro_utils v0.11.3 [INFO] [stderr] Downloaded bevy_math v0.11.3 [INFO] [stderr] Downloaded bevy_core v0.11.3 [INFO] [stderr] Downloaded bevy_ptr v0.11.3 [INFO] [stderr] Downloaded bevy_app v0.11.3 [INFO] [stderr] Downloaded bevy_a11y v0.11.3 [INFO] [stderr] Downloaded bevy_internal v0.11.3 [INFO] [stderr] Downloaded bevy_sprite v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bec360c47df9dd4ea8d5f8db3bf0ee2af90e02932972fe2b68f64c5a29141ea [INFO] running `Command { std: "docker" "start" "-a" "7bec360c47df9dd4ea8d5f8db3bf0ee2af90e02932972fe2b68f64c5a29141ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bec360c47df9dd4ea8d5f8db3bf0ee2af90e02932972fe2b68f64c5a29141ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bec360c47df9dd4ea8d5f8db3bf0ee2af90e02932972fe2b68f64c5a29141ea", kill_on_drop: false }` [INFO] [stdout] 7bec360c47df9dd4ea8d5f8db3bf0ee2af90e02932972fe2b68f64c5a29141ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9deabcb1fa35f73ae21551b2756007aca54e1cc37cedc2ac986dfb03884bf0d [INFO] running `Command { std: "docker" "start" "-a" "b9deabcb1fa35f73ae21551b2756007aca54e1cc37cedc2ac986dfb03884bf0d", 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 memoffset v0.6.5 [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 num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking delaunator v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [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 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 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 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: `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: 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: `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] 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: 21 warnings emitted [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] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bin/cubes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsEngine` [INFO] [stdout] --> src/bin/cubes.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use corrosive_physics::engine::{PhysicsEngine}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhyEntityID` and `PhyEntity` [INFO] [stdout] --> src/bin/cubes.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use corrosive_physics::system::object::{PhyEntity, PhyEntityID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `corrosive_physics::volume::BVIntersector` [INFO] [stdout] --> src/bin/cubes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use corrosive_physics::volume::BVIntersector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/bin/cubes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `corrosive_physics::volume::tlas::TLASElement` [INFO] [stdout] --> src/bin/cubes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use corrosive_physics::volume::tlas::TLASElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysicsEngine` [INFO] [stdout] --> src/bin/cubes.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use corrosive_physics::engine::{PhysicsEngine}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhyEntityID` and `PhyEntity` [INFO] [stdout] --> src/bin/cubes.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use corrosive_physics::system::object::{PhyEntity, PhyEntityID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `corrosive_physics::volume::BVIntersector` [INFO] [stdout] --> src/bin/cubes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use corrosive_physics::volume::BVIntersector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `corrosive_physics::volume::tlas::TLASElement` [INFO] [stdout] --> src/bin/cubes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use corrosive_physics::volume::tlas::TLASElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 13.63s [INFO] running `Command { std: "docker" "inspect" "b9deabcb1fa35f73ae21551b2756007aca54e1cc37cedc2ac986dfb03884bf0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9deabcb1fa35f73ae21551b2756007aca54e1cc37cedc2ac986dfb03884bf0d", kill_on_drop: false }` [INFO] [stdout] b9deabcb1fa35f73ae21551b2756007aca54e1cc37cedc2ac986dfb03884bf0d [INFO] checking LateinCecer/corrosive_physics against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LateinCecer/corrosive_physics on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/source) -> v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2496115bb0ca73d4ab3126037066b38514e1f6fd383bfd42fb7405a6f2a8f71 [INFO] running `Command { std: "docker" "start" "-a" "a2496115bb0ca73d4ab3126037066b38514e1f6fd383bfd42fb7405a6f2a8f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2496115bb0ca73d4ab3126037066b38514e1f6fd383bfd42fb7405a6f2a8f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2496115bb0ca73d4ab3126037066b38514e1f6fd383bfd42fb7405a6f2a8f71", kill_on_drop: false }` [INFO] [stdout] a2496115bb0ca73d4ab3126037066b38514e1f6fd383bfd42fb7405a6f2a8f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b00305d904934ca473739f674b8d0ca92f5484a12e57b942d7a6d5bf026f2fe [INFO] running `Command { std: "docker" "start" "-a" "6b00305d904934ca473739f674b8d0ca92f5484a12e57b942d7a6d5bf026f2fe", 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 memoffset v0.6.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking delaunator v1.0.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [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 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 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 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: `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: 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: `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] 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] 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] 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: aborting due to 2 previous errors; 21 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/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) due to 3 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corrosive_physics` (lib test) due to 3 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6b00305d904934ca473739f674b8d0ca92f5484a12e57b942d7a6d5bf026f2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b00305d904934ca473739f674b8d0ca92f5484a12e57b942d7a6d5bf026f2fe", kill_on_drop: false }` [INFO] [stdout] 6b00305d904934ca473739f674b8d0ca92f5484a12e57b942d7a6d5bf026f2fe