[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#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [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 c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efb7cac5c5b3793835c87a24e2e5470d3f51e5447bc4ceb7d21e1f6bf81a59f9 [INFO] running `Command { std: "docker" "start" "-a" "efb7cac5c5b3793835c87a24e2e5470d3f51e5447bc4ceb7d21e1f6bf81a59f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efb7cac5c5b3793835c87a24e2e5470d3f51e5447bc4ceb7d21e1f6bf81a59f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb7cac5c5b3793835c87a24e2e5470d3f51e5447bc4ceb7d21e1f6bf81a59f9", kill_on_drop: false }` [INFO] [stdout] efb7cac5c5b3793835c87a24e2e5470d3f51e5447bc4ceb7d21e1f6bf81a59f9 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a294aa6fcbb16fcc528d59fa3c2fae8f713534c4758f65146c3330ce33d025df [INFO] running `Command { std: "docker" "start" "-a" "a294aa6fcbb16fcc528d59fa3c2fae8f713534c4758f65146c3330ce33d025df", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.96 [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 virtue v0.0.13 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking delaunator v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [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] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking approx v0.5.1 [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: 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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | PHYSICS_ENGINE.lock() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | PHYSICS_ENGINE.lock_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | PHYSICS_ENGINE.lock() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | PHYSICS_ENGINE.lock_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 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: `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: `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: `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 23.26s [INFO] running `Command { std: "docker" "inspect" "a294aa6fcbb16fcc528d59fa3c2fae8f713534c4758f65146c3330ce33d025df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a294aa6fcbb16fcc528d59fa3c2fae8f713534c4758f65146c3330ce33d025df", kill_on_drop: false }` [INFO] [stdout] a294aa6fcbb16fcc528d59fa3c2fae8f713534c4758f65146c3330ce33d025df