[INFO] cloning repository https://github.com/jrdnrs/maths-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrdnrs/maths-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fmaths-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fmaths-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ee0c9e2dec7261caf6161954e787b3638288067 [INFO] testing jrdnrs/maths-rs against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrdnrs%2Fmaths-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jrdnrs/maths-rs [INFO] finished tweaking git repo https://github.com/jrdnrs/maths-rs [INFO] tweaked toml for git repo https://github.com/jrdnrs/maths-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jrdnrs/maths-rs on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jrdnrs/maths-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8352f737683915eee893908b8b2c13d37f77bebd41f9270804464b5671f2e97 [INFO] running `Command { std: "docker" "start" "-a" "c8352f737683915eee893908b8b2c13d37f77bebd41f9270804464b5671f2e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8352f737683915eee893908b8b2c13d37f77bebd41f9270804464b5671f2e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8352f737683915eee893908b8b2c13d37f77bebd41f9270804464b5671f2e97", kill_on_drop: false }` [INFO] [stdout] c8352f737683915eee893908b8b2c13d37f77bebd41f9270804464b5671f2e97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7438ce192b75905d6de111a53941564492c8155de482bca7fc5eb8085f4bd3 [INFO] running `Command { std: "docker" "start" "-a" "de7438ce192b75905d6de111a53941564492c8155de482bca7fc5eb8085f4bd3", kill_on_drop: false }` [INFO] [stderr] Compiling maths v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mat4f` and `Vec4f` [INFO] [stdout] --> src/geometry/sphere.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::linear::{Mat4f, Vec3f, Vec4f}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/geometry/sphere.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_near_eq` [INFO] [stdout] --> src/linear/mat.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | macro_rules! assert_near_eq { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | fn rotate(&mut self, rotation: Vec2f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/aabb.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/capsule.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/capsule.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/capsule.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/circle.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/poly.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/poly.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/poly.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/segment.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/segment.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/sphere.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/sphere.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/triangle.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains` is never used [INFO] [stdout] --> src/geometry/collision/sat.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn contains(main_min: f32, main_max: f32, other_min: f32, other_max: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Matrix` is never used [INFO] [stdout] --> src/linear/mat.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Matrix: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | let sign_1 = unsafe { core::mem::transmute::(edge_1) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let sign_2 = unsafe { core::mem::transmute::(edge_2) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let sign_3 = unsafe { core::mem::transmute::(edge_3) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "de7438ce192b75905d6de111a53941564492c8155de482bca7fc5eb8085f4bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7438ce192b75905d6de111a53941564492c8155de482bca7fc5eb8085f4bd3", kill_on_drop: false }` [INFO] [stdout] de7438ce192b75905d6de111a53941564492c8155de482bca7fc5eb8085f4bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1486c963814c725a4c647a774388d60aa17c862b59ab2354cbf3b8948f93e588 [INFO] running `Command { std: "docker" "start" "-a" "1486c963814c725a4c647a774388d60aa17c862b59ab2354cbf3b8948f93e588", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Mat4f` and `Vec4f` [INFO] [stdout] --> src/geometry/sphere.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::linear::{Mat4f, Vec3f, Vec4f}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/geometry/sphere.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_near_eq` [INFO] [stdout] --> src/linear/mat.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | macro_rules! assert_near_eq { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | fn rotate(&mut self, rotation: Vec2f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/aabb.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/capsule.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/capsule.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/capsule.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/circle.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/poly.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/poly.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/poly.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/segment.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/segment.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/sphere.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/sphere.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/triangle.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains` is never used [INFO] [stdout] --> src/geometry/collision/sat.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn contains(main_min: f32, main_max: f32, other_min: f32, other_max: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Matrix` is never used [INFO] [stdout] --> src/linear/mat.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Matrix: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | let sign_1 = unsafe { core::mem::transmute::(edge_1) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let sign_2 = unsafe { core::mem::transmute::(edge_2) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling maths v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let sign_3 = unsafe { core::mem::transmute::(edge_3) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4f` and `Vec4f` [INFO] [stdout] --> src/geometry/sphere.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::linear::{Mat4f, Vec3f, Vec4f}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | fn rotate(&mut self, rotation: Vec2f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/aabb.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/aabb.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/aabb.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/capsule.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/capsule.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/capsule.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/circle.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geometry/poly.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/poly.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/poly.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/poly.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/segment.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/segment.rs:353:30 [INFO] [stdout] | [INFO] [stdout] 353 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/segment.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/geometry/sphere.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/geometry/sphere.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/geometry/triangle.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains` is never used [INFO] [stdout] --> src/geometry/collision/sat.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn contains(main_min: f32, main_max: f32, other_min: f32, other_max: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Matrix` is never used [INFO] [stdout] --> src/linear/mat.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Matrix: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | let sign_1 = unsafe { core::mem::transmute::(edge_1) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let sign_2 = unsafe { core::mem::transmute::(edge_2) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/geometry/triangle.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let sign_3 = unsafe { core::mem::transmute::(edge_3) & 0x8000_0000 }; [INFO] [stdout] | --------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "1486c963814c725a4c647a774388d60aa17c862b59ab2354cbf3b8948f93e588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1486c963814c725a4c647a774388d60aa17c862b59ab2354cbf3b8948f93e588", kill_on_drop: false }` [INFO] [stdout] 1486c963814c725a4c647a774388d60aa17c862b59ab2354cbf3b8948f93e588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae7f8301c04c61e98bcf80278f528ec7690e435e8b8846581cf84c01a7ef75b5 [INFO] running `Command { std: "docker" "start" "-a" "ae7f8301c04c61e98bcf80278f528ec7690e435e8b8846581cf84c01a7ef75b5", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Mat4f` and `Vec4f` [INFO] [stderr] --> src/geometry/sphere.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::linear::{Mat4f, Vec3f, Vec4f}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/geometry/sphere.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `assert_near_eq` [INFO] [stderr] --> src/linear/mat.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | macro_rules! assert_near_eq { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/aabb.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/aabb.rs:117:26 [INFO] [stderr] | [INFO] [stderr] 117 | fn rotate(&mut self, rotation: Vec2f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/geometry/aabb.rs:173:30 [INFO] [stderr] | [INFO] [stderr] 173 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/aabb.rs:185:30 [INFO] [stderr] | [INFO] [stderr] 185 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/aabb.rs:203:26 [INFO] [stderr] | [INFO] [stderr] 203 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/geometry/capsule.rs:27:30 [INFO] [stderr] | [INFO] [stderr] 27 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/geometry/capsule.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/capsule.rs:81:26 [INFO] [stderr] | [INFO] [stderr] 81 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/circle.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/poly.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/geometry/poly.rs:123:30 [INFO] [stderr] | [INFO] [stderr] 123 | fn contains_point(&self, point: Vec3f) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/geometry/poly.rs:127:30 [INFO] [stderr] | [INFO] [stderr] 127 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/poly.rs:160:30 [INFO] [stderr] | [INFO] [stderr] 160 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/poly.rs:186:26 [INFO] [stderr] | [INFO] [stderr] 186 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/segment.rs:287:30 [INFO] [stderr] | [INFO] [stderr] 287 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/geometry/segment.rs:330:30 [INFO] [stderr] | [INFO] [stderr] 330 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/segment.rs:353:30 [INFO] [stderr] | [INFO] [stderr] 353 | fn furthest_point(&self, direction: Vec3f) -> Vec3f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/segment.rs:371:26 [INFO] [stderr] | [INFO] [stderr] 371 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/geometry/sphere.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | fn intersects_ray(&self, ray: &Segment) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rotation` [INFO] [stderr] --> src/geometry/sphere.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | fn rotate(&mut self, rotation: Vec3f) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/geometry/triangle.rs:84:30 [INFO] [stderr] | [INFO] [stderr] 84 | fn furthest_point(&self, direction: Vec2f) -> Vec2f { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] [INFO] [stderr] warning: function `contains` is never used [INFO] [stderr] --> src/geometry/collision/sat.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn contains(main_min: f32, main_max: f32, other_min: f32, other_max: f32) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Matrix` is never used [INFO] [stderr] --> src/linear/mat.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait Matrix: [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/geometry/triangle.rs:52:31 [INFO] [stderr] | [INFO] [stderr] 52 | let sign_1 = unsafe { core::mem::transmute::(edge_1) & 0x8000_0000 }; [INFO] [stderr] | --------------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/geometry/triangle.rs:53:31 [INFO] [stderr] | [INFO] [stderr] 53 | let sign_2 = unsafe { core::mem::transmute::(edge_2) & 0x8000_0000 }; [INFO] [stderr] | --------------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/geometry/triangle.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | let sign_3 = unsafe { core::mem::transmute::(edge_3) & 0x8000_0000 }; [INFO] [stderr] | --------------------------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] [INFO] [stderr] warning: `maths` (lib) generated 29 warnings (run `cargo fix --lib -p maths` to apply 5 suggestions) [INFO] [stderr] warning: `maths` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maths-232ae78cfe90e4fc) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test geometry::aabb::tests::area_test ... ok [INFO] [stdout] test geometry::aabb::tests::contains_test ... ok [INFO] [stdout] test geometry::aabb::tests::contains_point_test ... ok [INFO] [stdout] test geometry::circle::tests::intersects_ray_test ... ok [INFO] [stdout] test geometry::circle::tests::contains_point_test ... ok [INFO] [stdout] test geometry::aabb::tests::centre_test ... ok [INFO] [stdout] test geometry::circle::tests::intersects_test ... ok [INFO] [stdout] test geometry::collision::sat::tests::overlaps_test ... ok [INFO] [stdout] test geometry::segment::tests::clip_bounds_test_all_in ... ok [INFO] [stdout] test geometry::segment::tests::clip_bounds_test_all_out ... ok [INFO] [stdout] test geometry::segment::tests::clip_bounds_test_all_out_intersects ... ok [INFO] [stdout] test geometry::segment::tests::clip_bounds_test_half_in ... ok [INFO] [stdout] test geometry::segment::tests::direction_test ... ok [INFO] [stdout] test geometry::segment::tests::intersection_test ... ok [INFO] [stdout] test geometry::segment::tests::intersects_test ... ok [INFO] [stdout] test geometry::segment::tests::length_test ... ok [INFO] [stdout] test geometry::segment::tests::overlaps_bounds_test ... ok [INFO] [stdout] test geometry::circle::tests::contains_test ... ok [INFO] [stdout] test geometry::aabb::tests::intersects_test ... ok [INFO] [stdout] test geometry::segment::tests::length_sq_test ... ok [INFO] [stdout] test geometry::triangle::tests::intersects_ray_test ... ok [INFO] [stdout] test geometry::triangle::tests::test_area ... ok [INFO] [stdout] test geometry::sphere::tests::intersects_test ... ok [INFO] [stdout] test geometry::segment::tests::overlaps_polygon_test ... ok [INFO] [stdout] test linear::mat::tests::mat3_from_rows ... ok [INFO] [stdout] test linear::mat::tests::mat3_identity ... ok [INFO] [stdout] test linear::mat::tests::mat3_transpose ... ok [INFO] [stdout] test linear::mat::tests::mat4_determinant ... ok [INFO] [stdout] test linear::mat::tests::mat3_inverse ... ok [INFO] [stdout] test geometry::triangle::tests::test_contains_point ... ok [INFO] [stdout] test linear::mat::tests::mat3_mul ... ok [INFO] [stdout] test geometry::sphere::tests::contains_test ... ok [INFO] [stdout] test linear::mat::tests::mat4_identity ... ok [INFO] [stdout] test linear::mat::tests::mat4_mul ... ok [INFO] [stdout] test linear::mat::tests::mat4_transpose ... ok [INFO] [stdout] test linear::mat::tests::mat3_determinant ... ok [INFO] [stdout] test geometry::segment::tests::normal_test ... ok [INFO] [stdout] test linear::mat::tests::mat4_inverse ... ok [INFO] [stdout] test linear::mat::tests::mat3_inverse_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests maths [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" "ae7f8301c04c61e98bcf80278f528ec7690e435e8b8846581cf84c01a7ef75b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7f8301c04c61e98bcf80278f528ec7690e435e8b8846581cf84c01a7ef75b5", kill_on_drop: false }` [INFO] [stdout] ae7f8301c04c61e98bcf80278f528ec7690e435e8b8846581cf84c01a7ef75b5