[INFO] cloning repository https://github.com/onagonanja/Rust-Tiny-Renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onagonanja/Rust-Tiny-Renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonagonanja%2FRust-Tiny-Renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonagonanja%2FRust-Tiny-Renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a7dd064eaa284d3b548d0d00e6834222a6db712 [INFO] building onagonanja/Rust-Tiny-Renderer against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonagonanja%2FRust-Tiny-Renderer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/onagonanja/Rust-Tiny-Renderer [INFO] finished tweaking git repo https://github.com/onagonanja/Rust-Tiny-Renderer [INFO] tweaked toml for git repo https://github.com/onagonanja/Rust-Tiny-Renderer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/onagonanja/Rust-Tiny-Renderer on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/onagonanja/Rust-Tiny-Renderer 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782b50d1fa44a2dd116cf1b58e7450ba7cc27152d5e31edfa0d5ad4804b63248 [INFO] running `Command { std: "docker" "start" "-a" "782b50d1fa44a2dd116cf1b58e7450ba7cc27152d5e31edfa0d5ad4804b63248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782b50d1fa44a2dd116cf1b58e7450ba7cc27152d5e31edfa0d5ad4804b63248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782b50d1fa44a2dd116cf1b58e7450ba7cc27152d5e31edfa0d5ad4804b63248", kill_on_drop: false }` [INFO] [stdout] 782b50d1fa44a2dd116cf1b58e7450ba7cc27152d5e31edfa0d5ad4804b63248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6cdfa3743a1ba80270af0ebcaadec91bedc48ef3da0297d9da8e346d27f941 [INFO] running `Command { std: "docker" "start" "-a" "9b6cdfa3743a1ba80270af0ebcaadec91bedc48ef3da0297d9da8e346d27f941", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rgb v0.8.49 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling tobj v4.0.2 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling RustRenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output_image` [INFO] [stdout] --> src/render.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | img_io::{output_image, WModel}, [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 imports: `Matrix3x2` and `Vector2` [INFO] [stdout] --> src/shader.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Matrix2x3, Matrix3, Matrix3x2, Matrix4, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT` [INFO] [stdout] --> src/shader.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{LIGHT, LIGHT_DIR, WIDTH}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/shader.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output_image` [INFO] [stdout] --> src/render.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | img_io::{output_image, WModel}, [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 imports: `Matrix3x2` and `Vector2` [INFO] [stdout] --> src/shader.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Matrix2x3, Matrix3, Matrix3x2, Matrix4, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT` [INFO] [stdout] --> src/shader.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{LIGHT, LIGHT_DIR, WIDTH}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/shader.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HEIGHT` is never used [INFO] [stdout] --> src/consts.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static HEIGHT: u32 = 1600; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEPTH` is never used [INFO] [stdout] --> src/consts.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static DEPTH: i32 = 100; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_OBJ` is never used [INFO] [stdout] --> src/consts.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub static DIABLO3_OBJ: &str = "obj/diablo3_pose.obj"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_DIFFUSE` is never used [INFO] [stdout] --> src/consts.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static DIABLO3_DIFFUSE: &str = "obj/diablo3_pose_diffuse.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_SPECTURE` is never used [INFO] [stdout] --> src/consts.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static DIABLO3_SPECTURE: &str = "obj/diablo3_pose_spec.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_NORMAL` is never used [INFO] [stdout] --> src/consts.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static DIABLO3_NORMAL: &str = "obj/diablo3_pose_nm.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normals` and `light` are never read [INFO] [stdout] --> src/img_io.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct WModel { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub normals: Vec<[Vector3; 3]>, // normals[face_index] = [[nx1, ny1, nz1], [nx2, ny2, nz2], [nx3, ny3, nz3]] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub light: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_face_normal`, `trans_normals`, `trans_light`, and `get_normal` are never used [INFO] [stdout] --> src/img_io.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl WModel { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_face_normal(&self, face_index: usize) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn trans_normals(&mut self, m: &Matrix4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn trans_light(&mut self, m: &Matrix4) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_normal(&self, face_index: usize, bc_screen: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "9b6cdfa3743a1ba80270af0ebcaadec91bedc48ef3da0297d9da8e346d27f941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6cdfa3743a1ba80270af0ebcaadec91bedc48ef3da0297d9da8e346d27f941", kill_on_drop: false }` [INFO] [stdout] 9b6cdfa3743a1ba80270af0ebcaadec91bedc48ef3da0297d9da8e346d27f941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd5eb17db03a0f1b792fefa3c070f42aa191054fb13759ad3f9d689245798ca [INFO] running `Command { std: "docker" "start" "-a" "2fd5eb17db03a0f1b792fefa3c070f42aa191054fb13759ad3f9d689245798ca", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `output_image` [INFO] [stdout] --> src/render.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | img_io::{output_image, WModel}, [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 imports: `Matrix3x2` and `Vector2` [INFO] [stdout] --> src/shader.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Matrix2x3, Matrix3, Matrix3x2, Matrix4, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT` [INFO] [stdout] --> src/shader.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{LIGHT, LIGHT_DIR, WIDTH}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/shader.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling RustRenderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output_image` [INFO] [stdout] --> src/render.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | img_io::{output_image, WModel}, [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 imports: `Matrix3x2` and `Vector2` [INFO] [stdout] --> src/shader.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Matrix2x3, Matrix3, Matrix3x2, Matrix4, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT` [INFO] [stdout] --> src/shader.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{LIGHT, LIGHT_DIR, WIDTH}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/shader.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HEIGHT` is never used [INFO] [stdout] --> src/consts.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static HEIGHT: u32 = 1600; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEPTH` is never used [INFO] [stdout] --> src/consts.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub static DEPTH: i32 = 100; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_OBJ` is never used [INFO] [stdout] --> src/consts.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub static DIABLO3_OBJ: &str = "obj/diablo3_pose.obj"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_DIFFUSE` is never used [INFO] [stdout] --> src/consts.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static DIABLO3_DIFFUSE: &str = "obj/diablo3_pose_diffuse.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_SPECTURE` is never used [INFO] [stdout] --> src/consts.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static DIABLO3_SPECTURE: &str = "obj/diablo3_pose_spec.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIABLO3_NORMAL` is never used [INFO] [stdout] --> src/consts.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static DIABLO3_NORMAL: &str = "obj/diablo3_pose_nm.tga"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `normals` and `light` are never read [INFO] [stdout] --> src/img_io.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct WModel { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub normals: Vec<[Vector3; 3]>, // normals[face_index] = [[nx1, ny1, nz1], [nx2, ny2, nz2], [nx3, ny3, nz3]] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub light: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_face_normal`, `trans_normals`, `trans_light`, and `get_normal` are never used [INFO] [stdout] --> src/img_io.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl WModel { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_face_normal(&self, face_index: usize) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn trans_normals(&mut self, m: &Matrix4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn trans_light(&mut self, m: &Matrix4) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_normal(&self, face_index: usize, bc_screen: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output_image` [INFO] [stdout] --> src/render.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | img_io::{output_image, WModel}, [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 imports: `Matrix3x2` and `Vector2` [INFO] [stdout] --> src/shader.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{Matrix2x3, Matrix3, Matrix3x2, Matrix4, Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LIGHT` [INFO] [stdout] --> src/shader.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{LIGHT, LIGHT_DIR, WIDTH}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/shader.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/shader.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | fn fragment(&mut self, color: &mut Rgb, bar: Vector3) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "2fd5eb17db03a0f1b792fefa3c070f42aa191054fb13759ad3f9d689245798ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd5eb17db03a0f1b792fefa3c070f42aa191054fb13759ad3f9d689245798ca", kill_on_drop: false }` [INFO] [stdout] 2fd5eb17db03a0f1b792fefa3c070f42aa191054fb13759ad3f9d689245798ca