[INFO] cloning repository https://github.com/nekronos/swr_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nekronos/swr_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekronos%2Fswr_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekronos%2Fswr_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45f876454a44b2c1fbab9686d16141d6018f12ce [INFO] building nekronos/swr_rs against master#ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekronos%2Fswr_rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nekronos/swr_rs on toolchain ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nekronos/swr_rs [INFO] finished tweaking git repo https://github.com/nekronos/swr_rs [INFO] tweaked toml for git repo https://github.com/nekronos/swr_rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/nekronos/swr_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nekronos/md3_rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded minifb v0.9.0 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded dylib v0.0.1 [INFO] [stderr] Downloaded x11-dl v2.2.1 [INFO] [stderr] Downloaded libc v0.2.18 [INFO] [stderr] Downloaded gcc v0.3.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac5e04cde01718571cded48a09d9699748b3833c57a80cccd1be163b0a368348 [INFO] running `Command { std: "docker" "start" "-a" "ac5e04cde01718571cded48a09d9699748b3833c57a80cccd1be163b0a368348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac5e04cde01718571cded48a09d9699748b3833c57a80cccd1be163b0a368348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5e04cde01718571cded48a09d9699748b3833c57a80cccd1be163b0a368348", kill_on_drop: false }` [INFO] [stdout] ac5e04cde01718571cded48a09d9699748b3833c57a80cccd1be163b0a368348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a75415a69a9bb5f3802f06cc77e3fc12171798235b8cb8650b06df17132611f [INFO] running `Command { std: "docker" "start" "-a" "4a75415a69a9bb5f3802f06cc77e3fc12171798235b8cb8650b06df17132611f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling gcc v0.3.39 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling md3_rs v0.1.0 (https://github.com/nekronos/md3_rs#b4940fa5) [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dylib v0.0.1 [INFO] [stderr] Compiling x11-dl v2.2.1 [INFO] [stderr] Compiling minifb v0.9.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling swr_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `math::matrix::Matrix2` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use math::matrix::Matrix2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/main.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let mut sphere = Mesh::sphere(Vector3::zero(), 1.0, 16, 16); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut cube = Mesh::cube(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/main.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut triangle = Mesh::triangle(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `torus` [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut torus = Mesh::torus(1.0, 0.5, 32, 32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let r = Vector3::new(r, r, r); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | let mut sphere = Mesh::sphere(Vector3::zero(), 1.0, 16, 16); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let mut cube = Mesh::cube(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let mut triangle = Mesh::triangle(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut torus = Mesh::torus(1.0, 0.5, 32, 32); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `md3_to_mesh` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn md3_to_mesh(md3: &Md3) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn round(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fpart` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn fpart(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rfpart` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn rfpart(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_point` is never used [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw_point(&mut self, point: Vector2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `plot` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn plot(&mut self, x: i32, y: i32, c: f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_line` is never used [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn draw_line(&mut self, p1: Vector2, p2: Vector2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_line_aa` is never used [INFO] [stdout] --> src/main.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn draw_line_aa(&mut self, p1: Vector3, p2: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length_sqr` is never used [INFO] [stdout] --> src/math/vector.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn length_sqr(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length` is never used [INFO] [stdout] --> src/math/vector.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lerp` is never used [INFO] [stdout] --> src/math/vector.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn lerp(a: Vector2, b: Vector2, t: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cross` is never used [INFO] [stdout] --> src/math/vector.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn cross(self, rhs: Vector2) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dot` is never used [INFO] [stdout] --> src/math/vector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn dot(self, rhs: Vector2) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit_x` is never used [INFO] [stdout] --> src/math/vector.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn unit_x() -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit_z` is never used [INFO] [stdout] --> src/math/vector.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn unit_z() -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lerp` is never used [INFO] [stdout] --> src/math/vector.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn lerp(self, b: Vector3, t: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/math/vector.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn zero() -> Vector4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/matrix.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(m11: f64, m12: f64, m21: f64, m22: f64) -> Matrix2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `determinant` is never used [INFO] [stdout] --> src/math/matrix.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn determinant(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_euler_angle` is never used [INFO] [stdout] --> src/math/quaternion.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_euler_angle(quaternion: Quaternion) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bounds` is never used [INFO] [stdout] --> src/geometry/mesh.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn bounds(&self) -> (Vector3, Vector3) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.82s [INFO] running `Command { std: "docker" "inspect" "4a75415a69a9bb5f3802f06cc77e3fc12171798235b8cb8650b06df17132611f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a75415a69a9bb5f3802f06cc77e3fc12171798235b8cb8650b06df17132611f", kill_on_drop: false }` [INFO] [stdout] 4a75415a69a9bb5f3802f06cc77e3fc12171798235b8cb8650b06df17132611f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53d69d9d4fd378256d5e8c67262cebea223719ca1a26b09a9dcf8419b0ab176d [INFO] running `Command { std: "docker" "start" "-a" "53d69d9d4fd378256d5e8c67262cebea223719ca1a26b09a9dcf8419b0ab176d", kill_on_drop: false }` [INFO] [stderr] Compiling swr_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `math::matrix::Matrix2` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use math::matrix::Matrix2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/main.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let mut sphere = Mesh::sphere(Vector3::zero(), 1.0, 16, 16); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut cube = Mesh::cube(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/main.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut triangle = Mesh::triangle(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `torus` [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut torus = Mesh::torus(1.0, 0.5, 32, 32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_torus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let r = Vector3::new(r, r, r); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | let mut sphere = Mesh::sphere(Vector3::zero(), 1.0, 16, 16); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let mut cube = Mesh::cube(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let mut triangle = Mesh::triangle(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut torus = Mesh::torus(1.0, 0.5, 32, 32); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `md3_to_mesh` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn md3_to_mesh(md3: &Md3) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn round(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fpart` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn fpart(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rfpart` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn rfpart(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_point` is never used [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn draw_point(&mut self, point: Vector2) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `plot` is never used [INFO] [stdout] --> src/main.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn plot(&mut self, x: i32, y: i32, c: f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_line` is never used [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn draw_line(&mut self, p1: Vector2, p2: Vector2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_line_aa` is never used [INFO] [stdout] --> src/main.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn draw_line_aa(&mut self, p1: Vector3, p2: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length_sqr` is never used [INFO] [stdout] --> src/math/vector.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn length_sqr(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length` is never used [INFO] [stdout] --> src/math/vector.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lerp` is never used [INFO] [stdout] --> src/math/vector.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn lerp(a: Vector2, b: Vector2, t: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cross` is never used [INFO] [stdout] --> src/math/vector.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn cross(self, rhs: Vector2) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dot` is never used [INFO] [stdout] --> src/math/vector.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn dot(self, rhs: Vector2) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit_x` is never used [INFO] [stdout] --> src/math/vector.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn unit_x() -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit_z` is never used [INFO] [stdout] --> src/math/vector.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn unit_z() -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lerp` is never used [INFO] [stdout] --> src/math/vector.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn lerp(self, b: Vector3, t: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/math/vector.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn zero() -> Vector4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/matrix.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(m11: f64, m12: f64, m21: f64, m22: f64) -> Matrix2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `determinant` is never used [INFO] [stdout] --> src/math/matrix.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn determinant(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_euler_angle` is never used [INFO] [stdout] --> src/math/quaternion.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn to_euler_angle(quaternion: Quaternion) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bounds` is never used [INFO] [stdout] --> src/geometry/mesh.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn bounds(&self) -> (Vector3, Vector3) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "53d69d9d4fd378256d5e8c67262cebea223719ca1a26b09a9dcf8419b0ab176d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d69d9d4fd378256d5e8c67262cebea223719ca1a26b09a9dcf8419b0ab176d", kill_on_drop: false }` [INFO] [stdout] 53d69d9d4fd378256d5e8c67262cebea223719ca1a26b09a9dcf8419b0ab176d