[INFO] cloning repository https://github.com/VKyuXr/RustGraph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VKyuXr/RustGraph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKyuXr%2FRustGraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKyuXr%2FRustGraph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a0fa1879c7191b9d16d30450f18d8c9901f2488 [INFO] checking VKyuXr/RustGraph against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKyuXr%2FRustGraph" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VKyuXr/RustGraph [INFO] finished tweaking git repo https://github.com/VKyuXr/RustGraph [INFO] tweaked toml for git repo https://github.com/VKyuXr/RustGraph written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VKyuXr/RustGraph on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VKyuXr/RustGraph 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.112 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.112 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.62 [INFO] [stderr] Downloaded avif-serialize v0.8.8 [INFO] [stderr] Downloaded drm-sys v0.8.1 [INFO] [stderr] Downloaded tiny-xlib v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.112 [INFO] [stderr] Downloaded ctor-lite v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.112 [INFO] [stderr] Downloaded drm v0.14.2 [INFO] [stderr] Downloaded jiff-static v0.2.21 [INFO] [stderr] Downloaded js-sys v0.3.89 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.12 [INFO] [stderr] Downloaded glfw v0.61.0 [INFO] [stderr] Downloaded toml v1.0.3+spec-1.1.0 [INFO] [stderr] Downloaded drm-ffi v0.9.1 [INFO] [stderr] Downloaded web-sys v0.3.89 [INFO] [stderr] Downloaded jiff v0.2.21 [INFO] [stderr] Downloaded glfw-sys v7.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a28c8f4e6d6822309d1ac7d25a778eb8242ec2a3b3037e6fd4c0df79f3220028 [INFO] running `Command { std: "docker" "start" "-a" "a28c8f4e6d6822309d1ac7d25a778eb8242ec2a3b3037e6fd4c0df79f3220028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a28c8f4e6d6822309d1ac7d25a778eb8242ec2a3b3037e6fd4c0df79f3220028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28c8f4e6d6822309d1ac7d25a778eb8242ec2a3b3037e6fd4c0df79f3220028", kill_on_drop: false }` [INFO] [stdout] a28c8f4e6d6822309d1ac7d25a778eb8242ec2a3b3037e6fd4c0df79f3220028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa1782c40d1dd01141bad75358b433cd054c5c07b00ea32e6c75cc7b152c9c33 [INFO] running `Command { std: "docker" "start" "-a" "fa1782c40d1dd01141bad75358b433cd054c5c07b00ea32e6c75cc7b152c9c33", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling drm-sys v0.8.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Compiling glfw-sys v7.0.0 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking zune-jpeg v0.5.12 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking drm-ffi v0.9.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ctor-lite v0.1.2 [INFO] [stderr] Checking naga v27.0.3 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking drm v0.14.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking jiff v0.2.21 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking toml v1.0.3+spec-1.1.0 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking glfw v0.61.0 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking wgpu-hal v27.0.4 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v27.0.0 [INFO] [stderr] Checking wgpu-core v27.0.3 [INFO] [stderr] Checking wgpu v27.0.1 [INFO] [stderr] Checking RustGraph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/rasterizer.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ Matrix4, Perspective3, Vector2, Vector3, Vector4, max, min }; [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: `max` [INFO] [stdout] --> src/shader.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector2, Vector3, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/rasterizer.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ Matrix4, Perspective3, Vector2, Vector3, Vector4, max, min }; [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: `max` [INFO] [stdout] --> src/shader.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Vector2, Vector3, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_index` [INFO] [stdout] --> src/loader.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let base_index = mesh_positions.len() as u32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let color = payload.color; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_index` [INFO] [stdout] --> src/loader.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let base_index = mesh_positions.len() as u32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let color = payload.color; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut model_pos = Vector3::new(0.0, -0.11, 0.0); [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/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut eye_pos = Vector3::::new(0.0, 0.0, 4.0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Primitive` is never used [INFO] [stdout] --> src/rasterizer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PosBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PosBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct IndBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ColBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_buf`, `ind_buf`, `col_buf`, and `next_id` are never read [INFO] [stdout] --> src/rasterizer.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Rasterizer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pos_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | ind_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 111 | col_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | next_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rasterizer.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Rasterizer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn load_positions(&mut self, positions: Vec>) -> PosBufId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn load_indices(&mut self, indices: Vec>) -> IndBufId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn load_colors(&mut self, colors: Vec>) -> ColBufId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn set_pixel(&mut self, point: Vector2, color: Vector3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | fn rasterize_triangle(&mut self, t: &triangle::Triangle, view_pos: &[Vector3; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | fn get_index(&self, x: u16, y: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn get_next_id(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn to_vec4(v3: Vector3, w: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `a`, `b`, `c`, `set_color`, and `set_tex_coord` are never used [INFO] [stdout] --> src/triangle.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn a(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn b(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn c(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_color(&mut self, ind: u32, r: i32, g: i32, b:i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_tex_coord(&mut self, ind: u32, s: f32, t: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `barycentric`, `tex_coords`, `texture`, and `screen_heights` are never read [INFO] [stdout] --> src/shader.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FragmentShaderPayload { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub barycentric: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub tex_coords: Vector2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub texture: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub screen_heights: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn normal_fragment_shader(payload: &FragmentShaderPayload) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `texture_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn texture_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `displacement_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn displacement_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bump_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn bump_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wireframe_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn wireframe_fragment_shader(payload: &FragmentShaderPayload) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image_data`, `width`, and `height` are never read [INFO] [stdout] --> src/texture.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | image_data: DynamicImage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pixel_to_vec4`, `lerp_vec4`, `sample_nearest`, and `sample_linear` are never used [INFO] [stdout] --> src/texture.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new>(path: P) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn pixel_to_vec4(&self, pixel: impl Pixel) -> Vector4:: { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn lerp_vec4(&self, a: Vector4, b: Vector4, t: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn sample_nearest(&self, u: f32, v: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn sample_linear(&self, u: f32, v: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut model_pos = Vector3::new(0.0, -0.11, 0.0); [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/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut eye_pos = Vector3::::new(0.0, 0.0, 4.0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Primitive` is never used [INFO] [stdout] --> src/rasterizer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PosBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PosBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct IndBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColBufId` is never constructed [INFO] [stdout] --> src/rasterizer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ColBufId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_buf`, `ind_buf`, `col_buf`, and `next_id` are never read [INFO] [stdout] --> src/rasterizer.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Rasterizer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pos_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | ind_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 111 | col_buf: BTreeMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | next_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rasterizer.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Rasterizer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn load_positions(&mut self, positions: Vec>) -> PosBufId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn load_indices(&mut self, indices: Vec>) -> IndBufId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn load_colors(&mut self, colors: Vec>) -> ColBufId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn set_pixel(&mut self, point: Vector2, color: Vector3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | fn rasterize_triangle(&mut self, t: &triangle::Triangle, view_pos: &[Vector3; 3]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | fn get_index(&self, x: u16, y: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn get_next_id(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn to_vec4(v3: Vector3, w: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `a`, `b`, `c`, `set_color`, and `set_tex_coord` are never used [INFO] [stdout] --> src/triangle.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn a(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn b(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn c(&self) -> Vector3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_color(&mut self, ind: u32, r: i32, g: i32, b:i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_tex_coord(&mut self, ind: u32, s: f32, t: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `barycentric`, `tex_coords`, `texture`, and `screen_heights` are never read [INFO] [stdout] --> src/shader.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FragmentShaderPayload { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub barycentric: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub tex_coords: Vector2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub texture: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub screen_heights: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn normal_fragment_shader(payload: &FragmentShaderPayload) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `texture_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn texture_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `displacement_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn displacement_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bump_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn bump_fragment_shader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wireframe_fragment_shader` is never used [INFO] [stdout] --> src/shader.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn wireframe_fragment_shader(payload: &FragmentShaderPayload) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `image_data`, `width`, and `height` are never read [INFO] [stdout] --> src/texture.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | image_data: DynamicImage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pixel_to_vec4`, `lerp_vec4`, `sample_nearest`, and `sample_linear` are never used [INFO] [stdout] --> src/texture.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new>(path: P) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn pixel_to_vec4(&self, pixel: impl Pixel) -> Vector4:: { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn lerp_vec4(&self, a: Vector4, b: Vector4, t: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn sample_nearest(&self, u: f32, v: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn sample_linear(&self, u: f32, v: f32) -> Vector4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "fa1782c40d1dd01141bad75358b433cd054c5c07b00ea32e6c75cc7b152c9c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1782c40d1dd01141bad75358b433cd054c5c07b00ea32e6c75cc7b152c9c33", kill_on_drop: false }` [INFO] [stdout] fa1782c40d1dd01141bad75358b433cd054c5c07b00ea32e6c75cc7b152c9c33