[INFO] cloning repository https://github.com/youarebamboozled/Simple-Rust-Raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/youarebamboozled/Simple-Rust-Raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouarebamboozled%2FSimple-Rust-Raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouarebamboozled%2FSimple-Rust-Raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 524dec67e2538961ee7e376d461444ab4d3aa11e [INFO] checking youarebamboozled/Simple-Rust-Raytracer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouarebamboozled%2FSimple-Rust-Raytracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer [INFO] finished tweaking git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer [INFO] tweaked toml for git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.15 [INFO] [stderr] Downloaded exr v1.6.5 [INFO] [stderr] Downloaded minifb v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e8026d17cef3b81be2953a16f51dd671b2a9fbfbf070b69b844bb01c79b3dc [INFO] running `Command { std: "docker" "start" "-a" "01e8026d17cef3b81be2953a16f51dd671b2a9fbfbf070b69b844bb01c79b3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e8026d17cef3b81be2953a16f51dd671b2a9fbfbf070b69b844bb01c79b3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e8026d17cef3b81be2953a16f51dd671b2a9fbfbf070b69b844bb01c79b3dc", kill_on_drop: false }` [INFO] [stdout] 01e8026d17cef3b81be2953a16f51dd671b2a9fbfbf070b69b844bb01c79b3dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dc2fa11c00ca739bd7fd963868008ea1f467386b4e9cb8673595cc9bcb63a13 [INFO] running `Command { std: "docker" "start" "-a" "1dc2fa11c00ca739bd7fd963868008ea1f467386b4e9cb8673595cc9bcb63a13", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.15 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling minifb v0.24.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.5 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::structs::ray::Ray` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if (window.is_key_down(Key::W)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if (window.is_key_down(Key::W)) { [INFO] [stdout] 176 + if window.is_key_down(Key::W) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if (window.is_key_down(Key::S)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if (window.is_key_down(Key::S)) { [INFO] [stdout] 179 + if window.is_key_down(Key::S) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if (window.is_key_down(Key::A)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (window.is_key_down(Key::A)) { [INFO] [stdout] 182 + if window.is_key_down(Key::A) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if (window.is_key_down(Key::D)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (window.is_key_down(Key::D)) { [INFO] [stdout] 185 + if window.is_key_down(Key::D) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::ray::Ray` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (window.is_key_down(Key::Space)) { [INFO] [stdout] 188 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] 191 + if window.is_key_down(Key::LeftShift) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if (window.is_key_down(Key::Up)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (window.is_key_down(Key::Up)) { [INFO] [stdout] 194 + if window.is_key_down(Key::Up) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (window.is_key_down(Key::Down)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (window.is_key_down(Key::Down)) { [INFO] [stdout] 197 + if window.is_key_down(Key::Down) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if (window.is_key_down(Key::W)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if (window.is_key_down(Key::W)) { [INFO] [stdout] 176 + if window.is_key_down(Key::W) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if (window.is_key_down(Key::S)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if (window.is_key_down(Key::S)) { [INFO] [stdout] 179 + if window.is_key_down(Key::S) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if (window.is_key_down(Key::A)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (window.is_key_down(Key::A)) { [INFO] [stdout] 182 + if window.is_key_down(Key::A) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if (window.is_key_down(Key::D)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (window.is_key_down(Key::D)) { [INFO] [stdout] 185 + if window.is_key_down(Key::D) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (window.is_key_down(Key::Space)) { [INFO] [stdout] 188 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] 191 + if window.is_key_down(Key::LeftShift) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if (window.is_key_down(Key::Up)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (window.is_key_down(Key::Up)) { [INFO] [stdout] 194 + if window.is_key_down(Key::Up) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (window.is_key_down(Key::Down)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (window.is_key_down(Key::Down)) { [INFO] [stdout] 197 + if window.is_key_down(Key::Down) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_image` is never used [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn render_image(scene: &Scene, camera: &Camera, width: u32, height: u32) -> ImageBuffer, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const WIDTH: usize = 1024; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const HEIGHT: usize = 1024; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `material` is never used [INFO] [stdout] --> src/structs/object.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Object { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 6 | fn intersect(&self, ray: &Ray) -> Option; [INFO] [stdout] 7 | fn material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_image` is never used [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn render_image(scene: &Scene, camera: &Camera, width: u32, height: u32) -> ImageBuffer, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const WIDTH: usize = 1024; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const HEIGHT: usize = 1024; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `material` is never used [INFO] [stdout] --> src/structs/object.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Object { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 6 | fn intersect(&self, ray: &Ray) -> Option; [INFO] [stdout] 7 | fn material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.04s [INFO] running `Command { std: "docker" "inspect" "1dc2fa11c00ca739bd7fd963868008ea1f467386b4e9cb8673595cc9bcb63a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc2fa11c00ca739bd7fd963868008ea1f467386b4e9cb8673595cc9bcb63a13", kill_on_drop: false }` [INFO] [stdout] 1dc2fa11c00ca739bd7fd963868008ea1f467386b4e9cb8673595cc9bcb63a13 [INFO] checking youarebamboozled/Simple-Rust-Raytracer against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyouarebamboozled%2FSimple-Rust-Raytracer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer [INFO] finished tweaking git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer [INFO] tweaked toml for git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/youarebamboozled/Simple-Rust-Raytracer 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4a7335d56d0d8529f00fd775e7d6505410df2ae621be4a6a01def828da93090 [INFO] running `Command { std: "docker" "start" "-a" "a4a7335d56d0d8529f00fd775e7d6505410df2ae621be4a6a01def828da93090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4a7335d56d0d8529f00fd775e7d6505410df2ae621be4a6a01def828da93090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a7335d56d0d8529f00fd775e7d6505410df2ae621be4a6a01def828da93090", kill_on_drop: false }` [INFO] [stdout] a4a7335d56d0d8529f00fd775e7d6505410df2ae621be4a6a01def828da93090 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e1de21c4b3e3cbfe65c2ca47a1935d751a356db846305b8fa078033fd63d88 [INFO] running `Command { std: "docker" "start" "-a" "e7e1de21c4b3e3cbfe65c2ca47a1935d751a356db846305b8fa078033fd63d88", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.ar [INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.15 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling minifb v0.24.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.5 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::structs::ray::Ray` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if (window.is_key_down(Key::W)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if (window.is_key_down(Key::W)) { [INFO] [stdout] 176 + if window.is_key_down(Key::W) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if (window.is_key_down(Key::S)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if (window.is_key_down(Key::S)) { [INFO] [stdout] 179 + if window.is_key_down(Key::S) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if (window.is_key_down(Key::A)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (window.is_key_down(Key::A)) { [INFO] [stdout] 182 + if window.is_key_down(Key::A) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if (window.is_key_down(Key::D)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (window.is_key_down(Key::D)) { [INFO] [stdout] 185 + if window.is_key_down(Key::D) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (window.is_key_down(Key::Space)) { [INFO] [stdout] 188 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] 191 + if window.is_key_down(Key::LeftShift) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if (window.is_key_down(Key::Up)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (window.is_key_down(Key::Up)) { [INFO] [stdout] 194 + if window.is_key_down(Key::Up) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (window.is_key_down(Key::Down)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (window.is_key_down(Key::Down)) { [INFO] [stdout] 197 + if window.is_key_down(Key::Down) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::ray::Ray` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if (window.is_key_down(Key::W)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - if (window.is_key_down(Key::W)) { [INFO] [stdout] 176 + if window.is_key_down(Key::W) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if (window.is_key_down(Key::S)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if (window.is_key_down(Key::S)) { [INFO] [stdout] 179 + if window.is_key_down(Key::S) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if (window.is_key_down(Key::A)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (window.is_key_down(Key::A)) { [INFO] [stdout] 182 + if window.is_key_down(Key::A) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if (window.is_key_down(Key::D)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (window.is_key_down(Key::D)) { [INFO] [stdout] 185 + if window.is_key_down(Key::D) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (window.is_key_down(Key::Space)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - if (window.is_key_down(Key::Space)) { [INFO] [stdout] 188 + if window.is_key_down(Key::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 191 - if (window.is_key_down(Key::LeftShift)) { [INFO] [stdout] 191 + if window.is_key_down(Key::LeftShift) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if (window.is_key_down(Key::Up)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (window.is_key_down(Key::Up)) { [INFO] [stdout] 194 + if window.is_key_down(Key::Up) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if (window.is_key_down(Key::Down)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - if (window.is_key_down(Key::Down)) { [INFO] [stdout] 197 + if window.is_key_down(Key::Down) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_image` is never used [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn render_image(scene: &Scene, camera: &Camera, width: u32, height: u32) -> ImageBuffer, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const WIDTH: usize = 1024; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const HEIGHT: usize = 1024; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `material` is never used [INFO] [stdout] --> src/structs/object.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Object { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 6 | fn intersect(&self, ray: &Ray) -> Option; [INFO] [stdout] 7 | fn material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_image` is never used [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn render_image(scene: &Scene, camera: &Camera, width: u32, height: u32) -> ImageBuffer, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const WIDTH: usize = 1024; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const HEIGHT: usize = 1024; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `material` is never used [INFO] [stdout] --> src/structs/object.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Object { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 6 | fn intersect(&self, ray: &Ray) -> Option; [INFO] [stdout] 7 | fn material(&self) -> &Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.15s [INFO] running `Command { std: "docker" "inspect" "e7e1de21c4b3e3cbfe65c2ca47a1935d751a356db846305b8fa078033fd63d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e1de21c4b3e3cbfe65c2ca47a1935d751a356db846305b8fa078033fd63d88", kill_on_drop: false }` [INFO] [stdout] e7e1de21c4b3e3cbfe65c2ca47a1935d751a356db846305b8fa078033fd63d88