[INFO] cloning repository https://github.com/Skynse/tiny3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skynse/tiny3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Ftiny3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Ftiny3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d36449e9f7b0fed6f4f253b9de28d4897d6c50a7 [INFO] building Skynse/tiny3d against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Ftiny3d" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Skynse/tiny3d [INFO] finished tweaking git repo https://github.com/Skynse/tiny3d [INFO] tweaked toml for git repo https://github.com/Skynse/tiny3d written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skynse/tiny3d on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Skynse/tiny3d 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6ede56d73853fd479d730c19e33d96411901c3c1f790f81b18e8f3dd69e819 [INFO] running `Command { std: "docker" "start" "-a" "1a6ede56d73853fd479d730c19e33d96411901c3c1f790f81b18e8f3dd69e819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6ede56d73853fd479d730c19e33d96411901c3c1f790f81b18e8f3dd69e819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6ede56d73853fd479d730c19e33d96411901c3c1f790f81b18e8f3dd69e819", kill_on_drop: false }` [INFO] [stdout] 1a6ede56d73853fd479d730c19e33d96411901c3c1f790f81b18e8f3dd69e819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 98e25f96aaa3279ca4d1ac42fb973fea942eb4e273f2cc49c6a26026987b097c [INFO] running `Command { std: "docker" "start" "-a" "98e25f96aaa3279ca4d1ac42fb973fea942eb4e273f2cc49c6a26026987b097c", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling tiny3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FloatExt`, `Mat4`, `Vec2`, `Vec3`, `Vec4Swizzles`, `Vec4`, `vec2`, and `vec4` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::{vec2, vec3, vec4, FloatExt, Mat4, Vec2, Vec3, Vec4, Vec4Swizzles}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{prelude::*, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec4` and `vec3` [INFO] [stdout] --> src/linalg.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{vec2, vec3, vec4, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec2`, `Vec4`, `vec2`, and `vec4` [INFO] [stdout] --> src/object.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{vec2, vec4, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_sphere` and `generate_torus` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{generate_sphere, generate_torus, linalg::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut z_near = 0.01; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut z_far = 100.0; [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/linalg.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn fill_triangle(a: Vec2, mut b: Vec2, mut c: Vec2, color: Color) { [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/linalg.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn fill_triangle(a: Vec2, mut b: Vec2, mut c: Vec2, color: Color) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faces` [INFO] [stdout] --> src/object.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let faces = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_faces` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertices` [INFO] [stdout] --> src/render.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let vertices = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/render.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let indices = vec![ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_x` [INFO] [stdout] --> src/render.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | let (mouse_x, mouse_y) = mouse_wheel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `aspect_ratio` is never read [INFO] [stdout] --> src/render.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let mut aspect_ratio = screen_width() / screen_height(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_sphere` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn generate_sphere(radius: f32, segments: usize, rings: usize) -> Object3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_torus` is never used [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn generate_torus( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_lerp` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn float_lerp(lhs: f32, rhs: f32, s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_rand` is never used [INFO] [stdout] --> src/linalg.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn custom_rand(start: usize, end: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_wireframe_edges` is never used [INFO] [stdout] --> src/linalg.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn draw_wireframe_edges(a: Vec2, b: Vec2, c: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pixel` is never used [INFO] [stdout] --> src/linalg.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw_pixel(x: i32, y: i32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PerpDot` is never used [INFO] [stdout] --> src/linalg.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | trait PerpDot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.68s [INFO] running `Command { std: "docker" "inspect" "98e25f96aaa3279ca4d1ac42fb973fea942eb4e273f2cc49c6a26026987b097c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e25f96aaa3279ca4d1ac42fb973fea942eb4e273f2cc49c6a26026987b097c", kill_on_drop: false }` [INFO] [stdout] 98e25f96aaa3279ca4d1ac42fb973fea942eb4e273f2cc49c6a26026987b097c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] da5b2ea8e5992cddb7b97efd9f0601560609c9aec1db0ba02b0265bad87f1483 [INFO] running `Command { std: "docker" "start" "-a" "da5b2ea8e5992cddb7b97efd9f0601560609c9aec1db0ba02b0265bad87f1483", kill_on_drop: false }` [INFO] [stderr] Compiling tiny3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FloatExt`, `Mat4`, `Vec2`, `Vec3`, `Vec4Swizzles`, `Vec4`, `vec2`, and `vec4` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::{vec2, vec3, vec4, FloatExt, Mat4, Vec2, Vec3, Vec4, Vec4Swizzles}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{prelude::*, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec4` and `vec3` [INFO] [stdout] --> src/linalg.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{vec2, vec3, vec4, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec2`, `Vec4`, `vec2`, and `vec4` [INFO] [stdout] --> src/object.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use glam::{vec2, vec4, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_sphere` and `generate_torus` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{generate_sphere, generate_torus, linalg::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut z_near = 0.01; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut z_far = 100.0; [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/linalg.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn fill_triangle(a: Vec2, mut b: Vec2, mut c: Vec2, color: Color) { [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/linalg.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn fill_triangle(a: Vec2, mut b: Vec2, mut c: Vec2, color: Color) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faces` [INFO] [stdout] --> src/object.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let faces = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_faces` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertices` [INFO] [stdout] --> src/render.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let vertices = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/render.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let indices = vec![ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_x` [INFO] [stdout] --> src/render.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | let (mouse_x, mouse_y) = mouse_wheel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `aspect_ratio` is never read [INFO] [stdout] --> src/render.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let mut aspect_ratio = screen_width() / screen_height(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_sphere` is never used [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn generate_sphere(radius: f32, segments: usize, rings: usize) -> Object3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_torus` is never used [INFO] [stdout] --> src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn generate_torus( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float_lerp` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn float_lerp(lhs: f32, rhs: f32, s: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_rand` is never used [INFO] [stdout] --> src/linalg.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn custom_rand(start: usize, end: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_wireframe_edges` is never used [INFO] [stdout] --> src/linalg.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn draw_wireframe_edges(a: Vec2, b: Vec2, c: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_pixel` is never used [INFO] [stdout] --> src/linalg.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw_pixel(x: i32, y: i32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PerpDot` is never used [INFO] [stdout] --> src/linalg.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | trait PerpDot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "da5b2ea8e5992cddb7b97efd9f0601560609c9aec1db0ba02b0265bad87f1483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5b2ea8e5992cddb7b97efd9f0601560609c9aec1db0ba02b0265bad87f1483", kill_on_drop: false }` [INFO] [stdout] da5b2ea8e5992cddb7b97efd9f0601560609c9aec1db0ba02b0265bad87f1483