[INFO] cloning repository https://github.com/alpluspluss/almathlibrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alpluspluss/almathlibrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpluspluss%2Falmathlibrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpluspluss%2Falmathlibrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15eb0f98571e7dde6e91d4b5ed6a23dd1e385ec9 [INFO] testing alpluspluss/almathlibrs against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpluspluss%2Falmathlibrs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alpluspluss/almathlibrs on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alpluspluss/almathlibrs [INFO] finished tweaking git repo https://github.com/alpluspluss/almathlibrs [INFO] tweaked toml for git repo https://github.com/alpluspluss/almathlibrs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alpluspluss/almathlibrs 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b19e16322fe158b8de679fc13990fc024d319cd4ba869c6901d290b9dbcca1bb [INFO] running `Command { std: "docker" "start" "-a" "b19e16322fe158b8de679fc13990fc024d319cd4ba869c6901d290b9dbcca1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b19e16322fe158b8de679fc13990fc024d319cd4ba869c6901d290b9dbcca1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19e16322fe158b8de679fc13990fc024d319cd4ba869c6901d290b9dbcca1bb", kill_on_drop: false }` [INFO] [stdout] b19e16322fe158b8de679fc13990fc024d319cd4ba869c6901d290b9dbcca1bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac83509321e782b751c174a393935f6312390409e914aad4275739aa2d79f507 [INFO] running `Command { std: "docker" "start" "-a" "ac83509321e782b751c174a393935f6312390409e914aad4275739aa2d79f507", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libmrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PI: f32 = std::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAU` is never used [INFO] [stdout] --> src/math.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const TAU: f32 = 6.28318530718; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const E: f32 = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT_2` is never used [INFO] [stdout] --> src/math.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SQRT_2: f32 = std::f32::consts::SQRT_2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_2` is never used [INFO] [stdout] --> src/math.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LN_2: f32 = std::f32::consts::LN_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEG_TO_RAD` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DEG_TO_RAD: f32 = PI / 180.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAD_TO_DEG` is never used [INFO] [stdout] --> src/math.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RAD_TO_DEG: f32 = 180.0 / PI; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/math.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const EPSILON: f32 = 1e-5; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/math.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn min(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/math.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn max(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/math.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn clamp(value: f32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn lerp(start: f32, end: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_equal` is never used [INFO] [stdout] --> src/math.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn approx_equal(a: f32, b: f32, epsilon: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_zero` is never used [INFO] [stdout] --> src/math.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn approx_zero(a: f32, epsilon: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/math.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn degrees_to_radians(degrees: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_degrees` is never used [INFO] [stdout] --> src/math.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn radians_to_degrees(radians: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin` is never used [INFO] [stdout] --> src/math.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn sin(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos` is never used [INFO] [stdout] --> src/math.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn cos(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tan` is never used [INFO] [stdout] --> src/math.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn tan(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mat4 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new_identity() -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_zero() -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn mul(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mul_simd(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mul_auto(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn invert(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn scale(sx: f32, sy: f32, sz: f32) -> Mat4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn rotate_x(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn rotate_y(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn rotate_z(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn translate(tx: f32, ty: f32, tz: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vec2 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | pub fn new(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add(&self, other: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn sub(&self, other: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn mul_scalar(&self, scalar: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn dot(&self, other: &Vec2) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn unit(&self) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sub(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn mul_scalar(&self, scalar: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn dot(&self, other: &Vec3) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Vec4 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 129 | pub fn as_ptr(&self) -> *const f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn new(x: f32, y: f32, z: f32, w: f32) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn add(&self, other: &Vec4) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn sub(&self, other: &Vec4) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn mul_scalar(&self, scalar: f32) -> Vec4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn dot(&self, other: &Vec4) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn dot_simd(&self, other: &Vec4) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn unit(&self) -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "ac83509321e782b751c174a393935f6312390409e914aad4275739aa2d79f507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac83509321e782b751c174a393935f6312390409e914aad4275739aa2d79f507", kill_on_drop: false }` [INFO] [stdout] ac83509321e782b751c174a393935f6312390409e914aad4275739aa2d79f507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a5dd5bd0d79a6ad84ce755f3b0bc2de75e623e4f04d4d834bf4579b7998095 [INFO] running `Command { std: "docker" "start" "-a" "03a5dd5bd0d79a6ad84ce755f3b0bc2de75e623e4f04d4d834bf4579b7998095", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.19 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PI: f32 = std::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAU` is never used [INFO] [stdout] --> src/math.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const TAU: f32 = 6.28318530718; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const E: f32 = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT_2` is never used [INFO] [stdout] --> src/math.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SQRT_2: f32 = std::f32::consts::SQRT_2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_2` is never used [INFO] [stdout] --> src/math.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LN_2: f32 = std::f32::consts::LN_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEG_TO_RAD` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DEG_TO_RAD: f32 = PI / 180.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAD_TO_DEG` is never used [INFO] [stdout] --> src/math.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const RAD_TO_DEG: f32 = 180.0 / PI; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/math.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const EPSILON: f32 = 1e-5; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/math.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn min(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/math.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn max(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/math.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn clamp(value: f32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/math.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn lerp(start: f32, end: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_equal` is never used [INFO] [stdout] --> src/math.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn approx_equal(a: f32, b: f32, epsilon: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_zero` is never used [INFO] [stdout] --> src/math.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn approx_zero(a: f32, epsilon: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/math.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn degrees_to_radians(degrees: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_degrees` is never used [INFO] [stdout] --> src/math.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn radians_to_degrees(radians: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin` is never used [INFO] [stdout] --> src/math.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn sin(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos` is never used [INFO] [stdout] --> src/math.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn cos(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tan` is never used [INFO] [stdout] --> src/math.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn tan(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mat4 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new_identity() -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_zero() -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn mul(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mul_simd(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mul_auto(&self, other: &Mat4) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn invert(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn scale(sx: f32, sy: f32, sz: f32) -> Mat4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn rotate_x(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn rotate_y(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn rotate_z(angle: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn translate(tx: f32, ty: f32, tz: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vec2 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | pub fn new(x: f32, y: f32) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add(&self, other: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn sub(&self, other: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn mul_scalar(&self, scalar: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn dot(&self, other: &Vec2) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn unit(&self) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sub(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn mul_scalar(&self, scalar: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn dot(&self, other: &Vec3) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Vec4 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 129 | pub fn as_ptr(&self) -> *const f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn new(x: f32, y: f32, z: f32, w: f32) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn add(&self, other: &Vec4) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn sub(&self, other: &Vec4) -> Vec4 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn mul_scalar(&self, scalar: f32) -> Vec4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn dot(&self, other: &Vec4) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn dot_simd(&self, other: &Vec4) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn unit(&self) -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap v4.5.19 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling libmrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const E: f32 = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SQRT_2` is never used [INFO] [stdout] --> src/math.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SQRT_2: f32 = std::f32::consts::SQRT_2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_2` is never used [INFO] [stdout] --> src/math.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const LN_2: f32 = std::f32::consts::LN_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.98s [INFO] running `Command { std: "docker" "inspect" "03a5dd5bd0d79a6ad84ce755f3b0bc2de75e623e4f04d4d834bf4579b7998095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a5dd5bd0d79a6ad84ce755f3b0bc2de75e623e4f04d4d834bf4579b7998095", kill_on_drop: false }` [INFO] [stdout] 03a5dd5bd0d79a6ad84ce755f3b0bc2de75e623e4f04d4d834bf4579b7998095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f481289c143f0f40185e7b22fdeacaa5c9ec56d33b6591cedf6ef55d5c0d4bf [INFO] running `Command { std: "docker" "start" "-a" "6f481289c143f0f40185e7b22fdeacaa5c9ec56d33b6591cedf6ef55d5c0d4bf", kill_on_drop: false }` [INFO] [stderr] warning: constant `PI` is never used [INFO] [stderr] --> src/math.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const PI: f32 = std::f32::consts::PI; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `TAU` is never used [INFO] [stderr] --> src/math.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const TAU: f32 = 6.28318530718; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `E` is never used [INFO] [stderr] --> src/math.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const E: f32 = std::f32::consts::E; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: constant `SQRT_2` is never used [INFO] [stderr] --> src/math.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const SQRT_2: f32 = std::f32::consts::SQRT_2; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LN_2` is never used [INFO] [stderr] --> src/math.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const LN_2: f32 = std::f32::consts::LN_2; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEG_TO_RAD` is never used [INFO] [stderr] --> src/math.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const DEG_TO_RAD: f32 = PI / 180.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RAD_TO_DEG` is never used [INFO] [stderr] --> src/math.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const RAD_TO_DEG: f32 = 180.0 / PI; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EPSILON` is never used [INFO] [stderr] --> src/math.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const EPSILON: f32 = 1e-5; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `min` is never used [INFO] [stderr] --> src/math.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn min(a: f32, b: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `max` is never used [INFO] [stderr] --> src/math.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn max(a: f32, b: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clamp` is never used [INFO] [stderr] --> src/math.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn clamp(value: f32, min: f32, max: f32) -> f32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `lerp` is never used [INFO] [stderr] --> src/math.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn lerp(start: f32, end: f32, t: f32) -> f32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `approx_equal` is never used [INFO] [stderr] --> src/math.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn approx_equal(a: f32, b: f32, epsilon: f32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `approx_zero` is never used [INFO] [stderr] --> src/math.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn approx_zero(a: f32, epsilon: f32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `degrees_to_radians` is never used [INFO] [stderr] --> src/math.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn degrees_to_radians(degrees: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `radians_to_degrees` is never used [INFO] [stderr] --> src/math.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn radians_to_degrees(radians: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sin` is never used [INFO] [stderr] --> src/math.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn sin(x: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cos` is never used [INFO] [stderr] --> src/math.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn cos(x: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `tan` is never used [INFO] [stderr] --> src/math.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn tan(x: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/matrix.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Mat4 { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 15 | pub fn new_identity() -> Mat4 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn new_zero() -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn add(&self, other: &Mat4) -> Mat4 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn mul(&self, other: &Mat4) -> Mat4 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub fn mul_simd(&self, other: &Mat4) -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn mul_auto(&self, other: &Mat4) -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | pub fn invert(&self) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn scale(sx: f32, sy: f32, sz: f32) -> Mat4 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub fn rotate_x(angle: f32) -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn rotate_y(angle: f32) -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn rotate_z(angle: f32) -> Mat4 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn translate(tx: f32, ty: f32, tz: f32) -> Mat4 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/vector.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Vec2 { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 30 | pub fn new(x: f32, y: f32) -> Vec2 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn add(&self, other: &Vec2) -> Vec2 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn sub(&self, other: &Vec2) -> Vec2 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn mul_scalar(&self, scalar: f32) -> Vec2 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn dot(&self, other: &Vec2) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn length(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn unit(&self) -> Vec2 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/vector.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl Vec3 { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 74 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn add(&self, other: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn sub(&self, other: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn mul_scalar(&self, scalar: f32) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn dot(&self, other: &Vec3) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn cross(&self, other: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn length(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn normalize(&self) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/vector.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 128 | impl Vec4 { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 129 | pub fn as_ptr(&self) -> *const f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn new(x: f32, y: f32, z: f32, w: f32) -> Vec4 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn add(&self, other: &Vec4) -> Vec4 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn sub(&self, other: &Vec4) -> Vec4 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn mul_scalar(&self, scalar: f32) -> Vec4 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | pub fn dot(&self, other: &Vec4) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 168 | pub fn dot_simd(&self, other: &Vec4) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn length(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn unit(&self) -> Vec4 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libmrs` (lib) generated 23 warnings [INFO] [stderr] warning: constant `E` is never used [INFO] [stderr] --> src/math.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const E: f32 = std::f32::consts::E; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `libmrs` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libmrs-a3d750b95c458831) [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stdout] test math::tests::degrees_to_radians_conversion ... ok [INFO] [stdout] test math::tests::approx_zero_within_epsilon ... ok [INFO] [stdout] test math::tests::clamp_value_within_range ... ok [INFO] [stdout] test math::tests::approx_equal_within_epsilon ... ok [INFO] [stdout] test math::tests::cos_computes_correctly ... ok [INFO] [stdout] test math::tests::max_returns_larger_value ... ok [INFO] [stdout] test math::tests::min_returns_smaller_value ... ok [INFO] [stdout] test math::tests::tan_computes_correctly ... ok [INFO] [stdout] test matrix::tests::test_add ... ok [INFO] [stdout] test matrix::tests::test_invert ... ok [INFO] [stdout] test matrix::tests::test_new_identity ... ok [INFO] [stdout] test math::tests::radians_to_degrees_conversion ... ok [INFO] [stdout] test matrix::tests::test_new_zero ... ok [INFO] [stdout] test matrix::tests::test_mul ... ok [INFO] [stdout] test matrix::tests::test_rotate_x ... ok [INFO] [stdout] test matrix::tests::test_mul_auto ... ok [INFO] [stdout] test matrix::tests::test_rotate_y ... ok [INFO] [stdout] test matrix::tests::test_scale ... ok [INFO] [stdout] test matrix::tests::test_rotate_z ... ok [INFO] [stdout] test matrix::tests::test_translate ... ok [INFO] [stdout] test vector::tests::test_vec2_creation ... ok [INFO] [stdout] test vector::tests::test_vec2_length ... ok [INFO] [stdout] test vector::tests::test_vec2_dot ... ok [INFO] [stdout] test vector::tests::test_vec2_add ... ok [INFO] [stdout] test vector::tests::test_vec2_sub ... ok [INFO] [stdout] test vector::tests::test_vec2_mul_scalar ... ok [INFO] [stdout] test vector::tests::test_vec2_unit ... ok [INFO] [stdout] test vector::tests::test_vec3_creation ... ok [INFO] [stdout] test vector::tests::test_vec3_normalize ... ok [INFO] [stdout] test vector::tests::test_vec3_length ... ok [INFO] [stdout] test vector::tests::test_vec3_mul_scalar ... ok [INFO] [stdout] test vector::tests::test_vec3_cross ... ok [INFO] [stdout] test math::tests::lerp_interpolates_correctly ... ok [INFO] [stdout] test vector::tests::test_vec3_dot ... ok [INFO] [stdout] test vector::tests::test_vec3_sub ... ok [INFO] [stdout] test vector::tests::test_vec3_add ... ok [INFO] [stdout] test vector::tests::test_vec4_add ... ok [INFO] [stdout] test vector::tests::test_vec4_creation ... ok [INFO] [stdout] test vector::tests::test_vec4_dot ... ok [INFO] [stdout] test vector::tests::test_vec4_length ... ok [INFO] [stdout] test vector::tests::test_vec4_mul_scalar ... ok [INFO] [stdout] test vector::tests::test_vec4_unit ... ok [INFO] [stdout] test vector::tests::test_vec4_sub ... ok [INFO] [stdout] test math::tests::sin_computes_correctly ... ok [INFO] [stdout] test vector::tests::test_vec4_dot_simd ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- vector::tests::test_vec4_dot_simd stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'vector::tests::test_vec4_dot_simd' panicked at src/vector.rs:366:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 37.0 [INFO] [stdout] right: 70.0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x631674fa035a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x631674fa035a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x631674fa035a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x631674fa035a - ::fmt::h71a62eb3b9696b12 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x631674fc8323 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x631674fc8323 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x631674f9ceb3 - std::io::Write::write_fmt::hab1b4cd059a79022 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x631674fa01a2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x631674fa177f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x631674fa1598 - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x631674f6a3b3 - as core::ops::function::Fn>::call::hdb53814c496a4d34 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 11: 0x631674f6a3b3 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x631674fa2273 - as core::ops::function::Fn>::call::h591b2225413a77e9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 13: 0x631674fa2273 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x631674fa1f2a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x631674fa0859 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x631674fa1bbd - rust_begin_unwind [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x631674fc6370 - core::panicking::panic_fmt::h9e7c637e9e5f29c9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x631674fc6692 - core::panicking::assert_failed_inner::h538bec7c1374cd9c [INFO] [stdout] 19: 0x631674f29179 - core::panicking::assert_failed::h78e60cadcfec7d8a [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x631674f30112 - libmrs::vector::tests::test_vec4_dot_simd::heb23a0795d41d1cf [INFO] [stdout] at /opt/rustwide/workdir/src/vector.rs:366:9 [INFO] [stdout] 21: 0x631674f30037 - libmrs::vector::tests::test_vec4_dot_simd::{{closure}}::hb89b449765f799b4 [INFO] [stdout] at /opt/rustwide/workdir/src/vector.rs:362:28 [INFO] [stdout] 22: 0x631674f28316 - core::ops::function::FnOnce::call_once::h30e7f54cdd1b1228 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x631674f6fb0b - core::ops::function::FnOnce::call_once::he27718dfdd183f43 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x631674f6fb0b - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x631674f6ea43 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x631674f6ea43 - as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x631674f6ea43 - std::panicking::try::do_call::h3da0561d9ab99c25 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x631674f6ea43 - std::panicking::try::h41c9fa508bc61df6 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x631674f6ea43 - std::panic::catch_unwind::h6b3ff07bb5afad93 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x631674f6ea43 - test::run_test_in_process::hc7253dd11b39b9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x631674f6ea43 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x631674f31b25 - test::run_test::{{closure}}::h56a17aa7a282a9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x631674f31b25 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x631674f3540a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x631674f3540a - as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x631674f3540a - std::panicking::try::do_call::h2f73af3616c35465 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x631674f3540a - std::panicking::try::hd1660ce9efadef5a [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x631674f3540a - std::panic::catch_unwind::h5ee8d7823b8ca744 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x631674f3540a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x631674f3540a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x631674fa61ab - as core::ops::function::FnOnce>::call_once::ha52bedf99a3b4981 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 42: 0x631674fa61ab - as core::ops::function::FnOnce>::call_once::h567748934d80ccf8 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 43: 0x631674fa61ab - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x76b803309ac3 - [INFO] [stdout] 45: 0x76b80339aa04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] vector::tests::test_vec4_dot_simd [INFO] [stdout] [INFO] [stdout] test result: FAILED. 44 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "6f481289c143f0f40185e7b22fdeacaa5c9ec56d33b6591cedf6ef55d5c0d4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f481289c143f0f40185e7b22fdeacaa5c9ec56d33b6591cedf6ef55d5c0d4bf", kill_on_drop: false }` [INFO] [stdout] 6f481289c143f0f40185e7b22fdeacaa5c9ec56d33b6591cedf6ef55d5c0d4bf