[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] bfe2dc43d719584b83bb07bac525e8ea504bed88 [INFO] building MatheoDumont/engine against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatheoDumont%2Fengine" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatheoDumont/engine on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-4/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" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55e5dc96cd28caf07bd9aa75d835d0611a4bc372c84d023a7a5e5509e8d67455 [INFO] running `Command { std: "docker" "start" "-a" "55e5dc96cd28caf07bd9aa75d835d0611a4bc372c84d023a7a5e5509e8d67455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55e5dc96cd28caf07bd9aa75d835d0611a4bc372c84d023a7a5e5509e8d67455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e5dc96cd28caf07bd9aa75d835d0611a4bc372c84d023a7a5e5509e8d67455", kill_on_drop: false }` [INFO] [stdout] 55e5dc96cd28caf07bd9aa75d835d0611a4bc372c84d023a7a5e5509e8d67455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80af3b6a11eae41347290faf1caee0a4393b3d096b7b45fbdb78c991ab49afef [INFO] running `Command { std: "docker" "start" "-a" "80af3b6a11eae41347290faf1caee0a4393b3d096b7b45fbdb78c991ab49afef", kill_on_drop: false }` [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 proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.16 [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 bytemuck v1.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling percent-encoding v2.1.0 [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 safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling png v0.16.8 [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 shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling nalgebra v0.31.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling ncollide3d v0.32.0 [INFO] [stderr] Compiling glutin v0.26.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: `Segment`, `Shape` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::shapes::{Plane, Segment, Shape, OBB}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FaceIndex` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | geometry_traits::{FaceIndex, PolyhedronTrait}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Real`, `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stdout] | ^^^^ ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformations`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformations, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | 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: `nalgebra::Matrix3` [INFO] [stdout] --> src/math/matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Matrix3; [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 variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | 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: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | 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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/custom_collections/binary_heap.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | end -= 1; [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: field `sim` is never read [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ContactSolver<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | sim: &'a mut SimulationWorld, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/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: 47 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:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | 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 14s [INFO] running `Command { std: "docker" "inspect" "80af3b6a11eae41347290faf1caee0a4393b3d096b7b45fbdb78c991ab49afef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80af3b6a11eae41347290faf1caee0a4393b3d096b7b45fbdb78c991ab49afef", kill_on_drop: false }` [INFO] [stdout] 80af3b6a11eae41347290faf1caee0a4393b3d096b7b45fbdb78c991ab49afef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8298fc5c4e523d6a436ef5952530ccfbb2d73962704f6a9940d55c6076f61c3d [INFO] running `Command { std: "docker" "start" "-a" "8298fc5c4e523d6a436ef5952530ccfbb2d73962704f6a9940d55c6076f61c3d", 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: `Segment`, `Shape` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::shapes::{Plane, Segment, Shape, OBB}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FaceIndex` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | geometry_traits::{FaceIndex, PolyhedronTrait}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `P3`, `Real`, `Vec3` [INFO] [stdout] --> src/engine/contact_algorithms/sphere.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{vector::*, Real, Vec3, P3}; [INFO] [stdout] | ^^^^ ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContactInformations`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformations, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | 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: `nalgebra::Matrix3` [INFO] [stdout] --> src/math/matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Matrix3; [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 variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | 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: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | 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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/custom_collections/binary_heap.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | end -= 1; [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: field `sim` is never read [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ContactSolver<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | sim: &'a mut SimulationWorld, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/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: 47 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:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | 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: 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 `impulsion_and_normal` is never used [INFO] [stdout] --> tests/integration_test.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn impulsion_and_normal() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | 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: `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: `Mat3`, `Quaternion` [INFO] [stdout] --> src/engine/shapes/obb.rs:339:43 [INFO] [stdout] | [INFO] [stdout] 339 | use crate::math::{math_essentials::*, Mat3, Quaternion}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/engine/shapes/plane.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | use crate::math::{math_essentials::*, Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Segment` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::engine::shapes::{Plane, Segment, Shape, OBB}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FaceIndex` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | geometry_traits::{FaceIndex, PolyhedronTrait}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_approx_eq::assert_approx_eq` [INFO] [stdout] --> src/engine/contact_algorithms/obb_plane.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | use assert_approx_eq::assert_approx_eq; [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 imports: `ContactInformations`, `ContactManifold` [INFO] [stdout] --> src/engine/simulation/mod.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::contact_algorithms::{ContactInformations, ContactManifold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/geometry/geometry_traits.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | 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: `nalgebra::Matrix3` [INFO] [stdout] --> src/math/matrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Matrix3; [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mass` [INFO] [stdout] --> src/engine/shapes/plane.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | 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: `o` [INFO] [stdout] --> src/engine/shapes/sphere.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | 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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [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) -> ContactInformations { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `penetration_distance` [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | penetration_distance: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_penetration_distance` [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: value assigned to `end` is never read [INFO] [stdout] --> src/custom_collections/binary_heap.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | end -= 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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 `presque_bidon` is never used [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: field `sim` is never read [INFO] [stdout] --> src/engine/simulation/collision_solver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ContactSolver<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | sim: &'a mut SimulationWorld, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OBB_is_inside` should have a snake case name [INFO] [stdout] --> src/engine/shapes/obb.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | 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:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | 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/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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "8298fc5c4e523d6a436ef5952530ccfbb2d73962704f6a9940d55c6076f61c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8298fc5c4e523d6a436ef5952530ccfbb2d73962704f6a9940d55c6076f61c3d", kill_on_drop: false }` [INFO] [stdout] 8298fc5c4e523d6a436ef5952530ccfbb2d73962704f6a9940d55c6076f61c3d