[INFO] cloning repository https://github.com/MatheoDumont/engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatheoDumont/engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e69a2da3e2dc0939adb5afec078634c30f6b215 [INFO] testing MatheoDumont/engine against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatheoDumont/engine on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatheoDumont/engine [INFO] finished tweaking git repo https://github.com/MatheoDumont/engine [INFO] tweaked toml for git repo https://github.com/MatheoDumont/engine written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/MatheoDumont/engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2fb7ff007358822670695fa6977d42d1b8f0a56fc5c66364e87411aa1537aa4 [INFO] running `Command { std: "docker" "start" "-a" "e2fb7ff007358822670695fa6977d42d1b8f0a56fc5c66364e87411aa1537aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2fb7ff007358822670695fa6977d42d1b8f0a56fc5c66364e87411aa1537aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fb7ff007358822670695fa6977d42d1b8f0a56fc5c66364e87411aa1537aa4", kill_on_drop: false }` [INFO] [stdout] e2fb7ff007358822670695fa6977d42d1b8f0a56fc5c66364e87411aa1537aa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b99a9661246db3877df914e3a74abcdedddaec9251b2b6f324d588285d4b9bf [INFO] running `Command { std: "docker" "start" "-a" "8b99a9661246db3877df914e3a74abcdedddaec9251b2b6f324d588285d4b9bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling ncollide3d v0.32.0 [INFO] [stderr] Compiling kiss3d v0.32.0 [INFO] [stderr] Compiling angine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/collision/collision_object.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sat::SAT`, `sat` [INFO] [stdout] --> src/engine/intersection_algorithms/obb.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{sat, sat::SAT}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/intersection_algorithms/plane_sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sat::SAT` [INFO] [stdout] --> src/engine/shapes/obb.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{geometry_traits::*, sat::SAT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::engine::collision::CollisionObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Weak` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionObject`, `CollisionWorld` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::engine::collision::{CollisionObject, CollisionWorld}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/engine/simulation/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P3` [INFO] [stdout] --> src/math/helper.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `vector::*` [INFO] [stdout] --> src/math/matrix.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{vector::*, Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/math/quaternion.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{helper, Directions, Mat3, Real, Vec3, ONE, TWO, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Quaternion` [INFO] [stdout] --> src/math/rotation_matrix.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Mat3, Quaternion, Real, Vec3, ONE, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/sphere.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn set_orientation(&mut self, o: Mat3) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | normal: &Vec3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/geometry_traits.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let rotation = self.transform_ref().rotation; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_2D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sat_2D( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let face_A = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let face_B = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_3D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let vertices_A = shape_A.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let vertices_B = shape_B.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut best_face_A = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut best_face_B = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let direction_edge_A = vertices_A[edge1.vi1] - vertices_A[edge1.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let direction_edge_B = vertices_B[edge2.vi1] - vertices_B[edge2.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | std::thread::sleep_ms(16 - i); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "8b99a9661246db3877df914e3a74abcdedddaec9251b2b6f324d588285d4b9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b99a9661246db3877df914e3a74abcdedddaec9251b2b6f324d588285d4b9bf", kill_on_drop: false }` [INFO] [stdout] 8b99a9661246db3877df914e3a74abcdedddaec9251b2b6f324d588285d4b9bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09216b018ed83c209f42313f5ad7e356173ef655777db59bea3b5e929ff2d260 [INFO] running `Command { std: "docker" "start" "-a" "09216b018ed83c209f42313f5ad7e356173ef655777db59bea3b5e929ff2d260", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/collision/collision_object.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sat::SAT`, `sat` [INFO] [stdout] --> src/engine/intersection_algorithms/obb.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{sat, sat::SAT}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/intersection_algorithms/plane_sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sat::SAT` [INFO] [stdout] --> src/engine/shapes/obb.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{geometry_traits::*, sat::SAT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::engine::collision::CollisionObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Weak` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionObject`, `CollisionWorld` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::engine::collision::{CollisionObject, CollisionWorld}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/engine/simulation/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P3` [INFO] [stdout] --> src/math/helper.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `vector::*` [INFO] [stdout] --> src/math/matrix.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{vector::*, Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/math/quaternion.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{helper, Directions, Mat3, Real, Vec3, ONE, TWO, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Quaternion` [INFO] [stdout] --> src/math/rotation_matrix.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Mat3, Quaternion, Real, Vec3, ONE, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/sphere.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn set_orientation(&mut self, o: Mat3) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | normal: &Vec3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/geometry_traits.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let rotation = self.transform_ref().rotation; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_2D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sat_2D( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let face_A = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let face_B = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_3D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let vertices_A = shape_A.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let vertices_B = shape_B.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut best_face_A = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut best_face_B = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let direction_edge_A = vertices_A[edge1.vi1] - vertices_A[edge1.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let direction_edge_B = vertices_B[edge2.vi1] - vertices_B[edge2.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling angine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | std::thread::sleep_ms(16 - i); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | std::thread::sleep_ms(16 - i); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shapes::Shape` [INFO] [stdout] --> tests/integration_test.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | collision::collision_object::CollisionObject, collision::CollisionWorld, shapes, shapes::Shape, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb_id` [INFO] [stdout] --> tests/integration_test.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let obb_id = simulation_world.add_rigidbody(obb_rb, obb_co); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane_id` [INFO] [stdout] --> tests/integration_test.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let plane_id = simulation_world.add_rigidbody(plane_rb, plane_co); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `impulsion_and_normal` [INFO] [stdout] --> tests/integration_test.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn impulsion_and_normal() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/collision/collision_object.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sat::SAT`, `sat` [INFO] [stdout] --> src/engine/intersection_algorithms/obb.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{sat, sat::SAT}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::math_essentials::*` [INFO] [stdout] --> src/engine/intersection_algorithms/plane_sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::math_essentials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sat::SAT` [INFO] [stdout] --> src/engine/shapes/obb.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::geometry::{geometry_traits::*, sat::SAT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/shapes/obb.rs:321:43 [INFO] [stdout] | [INFO] [stdout] 321 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/shapes/plane.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::engine::collision::CollisionObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Weak` [INFO] [stdout] --> src/engine/contact_algorithms/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CollisionObject`, `CollisionWorld` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::engine::collision::{CollisionObject, CollisionWorld}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/engine/simulation/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P3` [INFO] [stdout] --> src/math/helper.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P3` [INFO] [stdout] --> src/math/matrix.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{vector::*, Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/math/quaternion.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{helper, Directions, Mat3, Real, Vec3, ONE, TWO, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Quaternion` [INFO] [stdout] --> src/math/rotation_matrix.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Mat3, Quaternion, Real, Vec3, ONE, ZERO}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/sphere.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn set_orientation(&mut self, o: Mat3) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obb` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/obb_sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/engine/contact_algorithms/plane.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/engine/contact_algorithms/plane_sphere.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | normal: &Vec3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/geometry_traits.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let rotation = self.transform_ref().rotation; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `axis` is never read [INFO] [stdout] --> src/geometry/sat.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | let mut axis = Vec3::zeros(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance` is never read [INFO] [stdout] --> src/geometry/sat.rs:421:21 [INFO] [stdout] | [INFO] [stdout] 421 | let mut distance = ZERO; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `axis` is never read [INFO] [stdout] --> src/geometry/sat.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | let mut axis = Vec3::zeros(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry/sat.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | let mut distance; [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: function is never used: `presque_bidon` [INFO] [stdout] --> src/engine/shapes/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn presque_bidon() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OBB_is_inside` should have a snake case name [INFO] [stdout] --> src/engine/shapes/obb.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | fn OBB_is_inside() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `obb_is_inside` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OBB_project_point_onto_contour` should have a snake case name [INFO] [stdout] --> src/engine/shapes/obb.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn OBB_project_point_onto_contour() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `obb_project_point_onto_contour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub face_A: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub face_B: FaceResult, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_2D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sat_2D( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let face_A = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let face_B = FaceResult { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_3D` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sat_3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shape_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `shape_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let vertices_A = shape_A.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vertices_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let vertices_B = shape_B.transformed_vertices(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut best_face_A = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `best_face_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut best_face_B = FaceResult { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_A` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let direction_edge_A = vertices_A[edge1.vi1] - vertices_A[edge1.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `direction_edge_B` should have a snake case name [INFO] [stdout] --> src/geometry/sat.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let direction_edge_B = vertices_B[edge2.vi1] - vertices_B[edge2.vi2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/rotation_matrix.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z` should have a snake case name [INFO] [stdout] --> src/math/transform.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/math/vector.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/angine-6a951414b61f0836) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/angine-bb6aef6f6c01d04b) [INFO] [stderr] Executable tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-6863e23de4c86282) [INFO] running `Command { std: "docker" "inspect" "09216b018ed83c209f42313f5ad7e356173ef655777db59bea3b5e929ff2d260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09216b018ed83c209f42313f5ad7e356173ef655777db59bea3b5e929ff2d260", kill_on_drop: false }` [INFO] [stdout] 09216b018ed83c209f42313f5ad7e356173ef655777db59bea3b5e929ff2d260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 267b2a74e585efe89ff64ba533e266b7b9d965ddb7133fbcc196dc2bd38743e9 [INFO] running `Command { std: "docker" "start" "-a" "267b2a74e585efe89ff64ba533e266b7b9d965ddb7133fbcc196dc2bd38743e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `crate::math::math_essentials::*` [INFO] [stderr] --> src/engine/collision/collision_object.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::math::math_essentials::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `sat::SAT`, `sat` [INFO] [stderr] --> src/engine/intersection_algorithms/obb.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::geometry::{sat, sat::SAT}; [INFO] [stderr] | ^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::math::math_essentials::*` [INFO] [stderr] --> src/engine/intersection_algorithms/plane_sphere.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::math::math_essentials::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sat::SAT` [INFO] [stderr] --> src/engine/shapes/obb.rs:2:43 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::geometry::{geometry_traits::*, sat::SAT}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `P3`, `Vec3` [INFO] [stderr] --> src/engine/contact_algorithms/sphere.rs:4:36 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stderr] | ^^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::engine::collision::CollisionObject` [INFO] [stderr] --> src/engine/contact_algorithms/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::engine::collision::CollisionObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Weak` [INFO] [stderr] --> src/engine/contact_algorithms/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::rc::Weak; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CollisionObject`, `CollisionWorld` [INFO] [stderr] --> src/engine/simulation/collision_solver.rs:3:32 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::engine::collision::{CollisionObject, CollisionWorld}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stderr] --> src/engine/simulation/collision_solver.rs:4:41 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mat3` [INFO] [stderr] --> src/engine/simulation/collision_solver.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContactInformation`, `ContactManifold` [INFO] [stderr] --> src/engine/simulation/mod.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::engine::contact_algorithms::{ContactInformation, ContactManifold}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/engine/simulation/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mat3` [INFO] [stderr] --> src/geometry/geometry_traits.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `P3` [INFO] [stderr] --> src/math/helper.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `P3`, `vector::*` [INFO] [stderr] --> src/math/matrix.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{vector::*, Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stderr] | ^^^^^^^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Directions` [INFO] [stderr] --> src/math/quaternion.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{helper, Directions, Mat3, Real, Vec3, ONE, TWO, ZERO}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Quaternion` [INFO] [stderr] --> src/math/rotation_matrix.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Mat3, Quaternion, Real, Vec3, ONE, ZERO}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mass` [INFO] [stderr] --> src/engine/shapes/plane.rs:72:38 [INFO] [stderr] | [INFO] [stderr] 72 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mass` [INFO] [stderr] --> src/engine/shapes/sphere.rs:25:38 [INFO] [stderr] | [INFO] [stderr] 25 | fn compute_inertia_matrix(&self, mass: Real) -> Mat3 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mass` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/engine/shapes/sphere.rs:48:35 [INFO] [stderr] | [INFO] [stderr] 48 | fn set_orientation(&mut self, o: Mat3) {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `obb` [INFO] [stderr] --> src/engine/contact_algorithms/obb_sphere.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_obb` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sphere` [INFO] [stderr] --> src/engine/contact_algorithms/obb_sphere.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn obb_sphere(obb: &OBB, sphere: &Sphere) -> ContactInformation { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p1` [INFO] [stderr] --> src/engine/contact_algorithms/plane.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p2` [INFO] [stderr] --> src/engine/contact_algorithms/plane.rs:4:32 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn plane_plane(p1: &Plane, p2: &Plane) -> ContactInformation { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `plane` [INFO] [stderr] --> src/engine/contact_algorithms/plane_sphere.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sphere` [INFO] [stderr] --> src/engine/contact_algorithms/plane_sphere.rs:4:36 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn plane_sphere(plane: &Plane, sphere: &Sphere) -> ContactInformation { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `normal` [INFO] [stderr] --> src/engine/simulation/collision_solver.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | normal: &Vec3, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `penetration_distance` [INFO] [stderr] --> src/engine/simulation/collision_solver.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | penetration_distance: Real, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/geometry_traits.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let rotation = self.transform_ref().rotation; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: structure field `face_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub face_A: FaceResult, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `face_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub face_B: FaceResult, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stderr] [INFO] [stderr] warning: structure field `face_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub face_A: FaceResult, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stderr] [INFO] [stderr] warning: structure field `face_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub face_B: FaceResult, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stderr] [INFO] [stderr] warning: function `sat_2D` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn sat_2D( [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `sat_2_d` [INFO] [stderr] [INFO] [stderr] warning: variable `face_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | let face_A = FaceResult { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stderr] [INFO] [stderr] warning: variable `face_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | let face_B = FaceResult { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_b` [INFO] [stderr] [INFO] [stderr] warning: function `sat_3D` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `sat_3_d` [INFO] [stderr] [INFO] [stderr] warning: variable `shape_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:134:35 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `shape_a` [INFO] [stderr] [INFO] [stderr] warning: variable `shape_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:134:48 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn sat_3D(shape_A: &T, shape_B: &T) -> Option { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `shape_b` [INFO] [stderr] [INFO] [stderr] warning: variable `vertices_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | let vertices_A = shape_A.transformed_vertices(); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_a` [INFO] [stderr] [INFO] [stderr] warning: variable `vertices_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | let vertices_B = shape_B.transformed_vertices(); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `vertices_b` [INFO] [stderr] [INFO] [stderr] warning: variable `best_face_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | let mut best_face_A = FaceResult { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_a` [INFO] [stderr] [INFO] [stderr] warning: variable `best_face_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:161:13 [INFO] [stderr] | [INFO] [stderr] 161 | let mut best_face_B = FaceResult { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `best_face_b` [INFO] [stderr] [INFO] [stderr] warning: variable `direction_edge_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | let direction_edge_A = vertices_A[edge1.vi1] - vertices_A[edge1.vi2]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_a` [INFO] [stderr] [INFO] [stderr] warning: variable `direction_edge_B` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | let direction_edge_B = vertices_B[edge2.vi1] - vertices_B[edge2.vi2]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `direction_edge_b` [INFO] [stderr] [INFO] [stderr] warning: method `X` should have a snake case name [INFO] [stderr] --> src/math/rotation_matrix.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: method `Y` should have a snake case name [INFO] [stderr] --> src/math/rotation_matrix.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stderr] [INFO] [stderr] warning: method `Z` should have a snake case name [INFO] [stderr] --> src/math/rotation_matrix.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stderr] [INFO] [stderr] warning: method `X` should have a snake case name [INFO] [stderr] --> src/math/transform.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn X(pitch: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: method `Y` should have a snake case name [INFO] [stderr] --> src/math/transform.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn Y(yaw: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stderr] [INFO] [stderr] warning: method `Z` should have a snake case name [INFO] [stderr] --> src/math/transform.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn Z(roll: Real) -> Mat3 { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:84:19 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:84:32 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn projection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:92:31 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn rejection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: variable `B` should have a snake case name [INFO] [stderr] --> src/math/vector.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn reflection(A: &Vector3, B: &Vector3) -> Vector3 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `b` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mat3` [INFO] [stderr] --> src/engine/shapes/obb.rs:321:43 [INFO] [stderr] | [INFO] [stderr] 321 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mat3` [INFO] [stderr] --> src/engine/shapes/plane.rs:112:43 [INFO] [stderr] | [INFO] [stderr] 112 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vec3` [INFO] [stderr] --> src/engine/contact_algorithms/sphere.rs:4:36 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `P3` [INFO] [stderr] --> src/math/matrix.rs:1:50 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{vector::*, Real, Vec3, Vector3, ONE, P3, ZERO}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `axis` is never read [INFO] [stderr] --> src/geometry/sat.rs:387:21 [INFO] [stderr] | [INFO] [stderr] 387 | let mut axis = Vec3::zeros(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `distance` is never read [INFO] [stderr] --> src/geometry/sat.rs:421:21 [INFO] [stderr] | [INFO] [stderr] 421 | let mut distance = ZERO; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `axis` is never read [INFO] [stderr] --> src/geometry/sat.rs:422:21 [INFO] [stderr] | [INFO] [stderr] 422 | let mut axis = Vec3::zeros(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/geometry/sat.rs:386:17 [INFO] [stderr] | [INFO] [stderr] 386 | let mut distance; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `presque_bidon` [INFO] [stderr] --> src/engine/shapes/mod.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | fn presque_bidon() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `OBB_is_inside` should have a snake case name [INFO] [stderr] --> src/engine/shapes/obb.rs:323:8 [INFO] [stderr] | [INFO] [stderr] 323 | fn OBB_is_inside() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `obb_is_inside` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `OBB_project_point_onto_contour` should have a snake case name [INFO] [stderr] --> src/engine/shapes/obb.rs:375:8 [INFO] [stderr] | [INFO] [stderr] 375 | fn OBB_project_point_onto_contour() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `obb_project_point_onto_contour` [INFO] [stderr] [INFO] [stderr] warning: structure field `face_A` should have a snake case name [INFO] [stderr] --> src/geometry/sat.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub face_A: FaceResult, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `face_a` [INFO] [stderr] [INFO] [stderr] warning: `angine` (lib) generated 57 warnings [INFO] [stderr] warning: `angine` (lib test) generated 66 warnings (54 duplicates) [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | std::thread::sleep_ms(16 - i); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `shapes::Shape` [INFO] [stderr] --> tests/integration_test.rs:3:86 [INFO] [stderr] | [INFO] [stderr] 3 | collision::collision_object::CollisionObject, collision::CollisionWorld, shapes, shapes::Shape, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `obb_id` [INFO] [stderr] --> tests/integration_test.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | let obb_id = simulation_world.add_rigidbody(obb_rb, obb_co); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `plane_id` [INFO] [stderr] --> tests/integration_test.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | let plane_id = simulation_world.add_rigidbody(plane_rb, plane_co); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_id` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `impulsion_and_normal` [INFO] [stderr] --> tests/integration_test.rs:180:4 [INFO] [stderr] | [INFO] [stderr] 180 | fn impulsion_and_normal() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `angine` (bin "angine" test) generated 1 warning [INFO] [stderr] warning: `angine` (bin "angine") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `angine` (test "integration_test") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/angine-6a951414b61f0836) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test engine::contact_algorithms::obb::tests::test_clip ... ok [INFO] [stdout] test engine::contact_algorithms::obb_plane::tests::test_obb_plane_contact ... ok [INFO] [stdout] test engine::contact_algorithms::sphere::test::sphere_sphere_point_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::obb::tests::obb_obb_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::obb_plane::tests::obb_plane_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::obb_sphere::tests::obb_sphere_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::plane::tests::plane_plane_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::plane_sphere::tests::plane_sphere_intersection ... ok [INFO] [stdout] test engine::intersection_algorithms::sphere::tests::sphere_sphere_intersection ... ok [INFO] [stdout] test engine::shapes::line::tests::test_closest_point_on_lines ... ok [INFO] [stdout] test engine::shapes::obb::tests::OBB_is_inside ... ok [INFO] [stdout] test engine::shapes::obb::tests::normal_face_test ... ok [INFO] [stdout] test engine::shapes::plane::tests::plane_signed_distance ... ok [INFO] [stdout] test engine::shapes::obb::tests::OBB_project_point_onto_contour ... ok [INFO] [stdout] test engine::shapes::plane::tests::test_reject_point_on_plane ... ok [INFO] [stdout] test geometry::sat::test::separating_axis_2d ... ok [INFO] [stdout] test geometry::sat::test::test_overlapping_or_touching ... ok [INFO] [stdout] test geometry::sat::test::test_project ... ok [INFO] [stdout] test math::matrix::tests::cut ... ok [INFO] [stdout] test math::matrix::tests::determinant ... ok [INFO] [stdout] test math::matrix::tests::inverse ... ok [INFO] [stdout] test math::matrix::tests::matrix_mul ... ok [INFO] [stdout] test math::matrix::tests::matrix_transpose ... ok [INFO] [stdout] test math::matrix::tests::matrix_vec_mul ... ok [INFO] [stdout] test math::quaternion::tests::quat_composed_rotation_order_to_unity ... ok [INFO] [stdout] test math::quaternion::tests::quat_to_matrices ... ok [INFO] [stdout] test math::quaternion::tests::quaternion_rotation ... ok [INFO] [stdout] test math::rotation_matrix::tests::rotation_methods_test ... ok [INFO] [stdout] test math::vector::tests::test_orientation_cross_product_vec ... ok [INFO] [stdout] test math::vector::tests::vector_div ... ok [INFO] [stdout] test math::vector::tests::vector_div_assign ... ok [INFO] [stdout] test math::vector::tests::vector_normalize ... ok [INFO] [stdout] test geometry::sat::test::separating_axis_3d ... ok [INFO] [stdout] test math::vector::tests::vector_normalized ... ok [INFO] [stdout] test math::vector::tests::vector_dot_product ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/angine-bb6aef6f6c01d04b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-6863e23de4c86282) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test assert_on_collision ... ok [INFO] [stdout] test changes_in_sim ... ok [INFO] [stdout] test init ... ok [INFO] [stdout] test not_spining_without_collision ... ok [INFO] [stdout] test collision_occur ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests angine [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "267b2a74e585efe89ff64ba533e266b7b9d965ddb7133fbcc196dc2bd38743e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267b2a74e585efe89ff64ba533e266b7b9d965ddb7133fbcc196dc2bd38743e9", kill_on_drop: false }` [INFO] [stdout] 267b2a74e585efe89ff64ba533e266b7b9d965ddb7133fbcc196dc2bd38743e9