[INFO] cloning repository https://github.com/RobiFox/RustTracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobiFox/RustTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobiFox%2FRustTracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobiFox%2FRustTracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 721b2f834097173184e3072be7ade4affc0bd810
[INFO] building RobiFox/RustTracer against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobiFox%2FRustTracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RobiFox/RustTracer
[INFO] finished tweaking git repo https://github.com/RobiFox/RustTracer
[INFO] tweaked toml for git repo https://github.com/RobiFox/RustTracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RobiFox/RustTracer 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/RobiFox/RustTracer 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] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a7ed8303b006a3f6bfaaaecf23e42905ace48d0ac0c6c610a1613b99cd98895c
[INFO] running `Command { std: "docker" "start" "-a" "a7ed8303b006a3f6bfaaaecf23e42905ace48d0ac0c6c610a1613b99cd98895c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7ed8303b006a3f6bfaaaecf23e42905ace48d0ac0c6c610a1613b99cd98895c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7ed8303b006a3f6bfaaaecf23e42905ace48d0ac0c6c610a1613b99cd98895c", kill_on_drop: false }`
[INFO] [stdout] a7ed8303b006a3f6bfaaaecf23e42905ace48d0ac0c6c610a1613b99cd98895c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3bc82eb5ef6ce9d97e3a646dceebc7edd7623e177fbaae2602e5e5d8d1971ca6
[INFO] running `Command { std: "docker" "start" "-a" "3bc82eb5ef6ce9d97e3a646dceebc7edd7623e177fbaae2602e5e5d8d1971ca6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.15.4
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling xcursor v0.3.5
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]    Compiling winit v0.26.1
[INFO] [stderr]    Compiling zerocopy v0.8.0-alpha.6
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling takeable-option v0.5.0
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nix v0.22.3
[INFO] [stderr]    Compiling memmap2 v0.3.1
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling glium v0.31.0
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.9.0-alpha.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0-alpha.1
[INFO] [stderr]    Compiling rand v0.9.0-alpha.1
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling calloop v0.9.3
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling wayland-egl v0.29.5
[INFO] [stderr]    Compiling glutin v0.28.0
[INFO] [stderr]    Compiling pixel-canvas v0.2.3
[INFO] [stderr]    Compiling RustTracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/camera.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `std::io::Write`
[INFO] [stdout]  --> src/camera.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libs`
[INFO] [stdout]  --> src/camera.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{IMAGE_HEIGHT, IMAGE_WIDTH, libs};
[INFO] [stdout]   |                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyboardInput`
[INFO] [stdout]   --> src/main.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pixel_canvas::input::glutin::event::{ElementState, KeyboardInput, VirtualKeyCode};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:125:24
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     if (input.state == ElementState::Pressed) {
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -                     if (input.state == ElementState::Pressed) {
[INFO] [stdout] 125 +                     if input.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> src/camera.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 for sample in 0..self.samples_per_pixel {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `direction` is never read
[INFO] [stdout]   --> src/material.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 let mut direction = Vec3::new(0.0, 0.0, 0.0);
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/main.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn handle_input(info: &CanvasInfo, mouse: &mut MouseState, event: &Event<()>) -> bool {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse`
[INFO] [stdout]    --> src/main.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn handle_input(info: &CanvasInfo, mouse: &mut MouseState, event: &Event<()>) -> bool {
[INFO] [stdout]     |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `pixels` is never read
[INFO] [stdout]   --> src/main.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             pixels = CAMERA.render(&world);
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse`
[INFO] [stdout]   --> src/main.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     canvas.render(move |mouse, image| {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |             pixels = CAMERA.render(&world);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:158:58
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.25, 0.0).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:162:58
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   CAMERA.forward = CAMERA.forward.rotate(-0.25, 0.0).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:166:58
[INFO] [stdout]     |
[INFO] [stdout] 166 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.0, -0.25).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:170:58
[INFO] [stdout]     |
[INFO] [stdout] 170 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.0, 0.25).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `VEC3_DEFAULT` is never used
[INFO] [stdout]   --> src/main.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut VEC3_DEFAULT: Vec3 = Vec3 {x: 0.0, y: 0.0, z: 0.0};
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]  --> src/libs.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn write_color(color: &Vec3) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_vector` is never used
[INFO] [stdout]   --> src/libs.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn random_vector() -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_on_hemisphere` is never used
[INFO] [stdout]   --> src/libs.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn random_on_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "3bc82eb5ef6ce9d97e3a646dceebc7edd7623e177fbaae2602e5e5d8d1971ca6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bc82eb5ef6ce9d97e3a646dceebc7edd7623e177fbaae2602e5e5d8d1971ca6", kill_on_drop: false }`
[INFO] [stdout] 3bc82eb5ef6ce9d97e3a646dceebc7edd7623e177fbaae2602e5e5d8d1971ca6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eaccb159b11880cf2295377b7c5ca01694ea57ad51bec18210d5ab09a4cea7a6
[INFO] running `Command { std: "docker" "start" "-a" "eaccb159b11880cf2295377b7c5ca01694ea57ad51bec18210d5ab09a4cea7a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling RustTracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/camera.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `std::io::Write`
[INFO] [stdout]  --> src/camera.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libs`
[INFO] [stdout]  --> src/camera.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{IMAGE_HEIGHT, IMAGE_WIDTH, libs};
[INFO] [stdout]   |                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lazy_static::lazy_static`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyboardInput`
[INFO] [stdout]   --> src/main.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pixel_canvas::input::glutin::event::{ElementState, KeyboardInput, VirtualKeyCode};
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:125:24
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     if (input.state == ElementState::Pressed) {
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -                     if (input.state == ElementState::Pressed) {
[INFO] [stdout] 125 +                     if input.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> src/camera.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 for sample in 0..self.samples_per_pixel {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `pixels` is never read
[INFO] [stdout]   --> src/main.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             pixels = CAMERA.render(&world);
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: did you mean to capture by reference instead?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse`
[INFO] [stdout]   --> src/main.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     canvas.render(move |mouse, image| {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/main.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn handle_input(info: &CanvasInfo, mouse: &mut MouseState, event: &Event<()>) -> bool {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse`
[INFO] [stdout]    --> src/main.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn handle_input(info: &CanvasInfo, mouse: &mut MouseState, event: &Event<()>) -> bool {
[INFO] [stdout]     |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `direction` is never read
[INFO] [stdout]   --> src/material.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 let mut direction = Vec3::new(0.0, 0.0, 0.0);
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `VEC3_DEFAULT` is never used
[INFO] [stdout]   --> src/main.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut VEC3_DEFAULT: Vec3 = Vec3 {x: 0.0, y: 0.0, z: 0.0};
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]  --> src/libs.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn write_color(color: &Vec3) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_vector` is never used
[INFO] [stdout]   --> src/libs.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn random_vector() -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_on_hemisphere` is never used
[INFO] [stdout]   --> src/libs.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn random_on_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |             pixels = CAMERA.render(&world);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:158:58
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.25, 0.0).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:162:58
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   CAMERA.forward = CAMERA.forward.rotate(-0.25, 0.0).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:166:58
[INFO] [stdout]     |
[INFO] [stdout] 166 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.0, -0.25).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:170:58
[INFO] [stdout]     |
[INFO] [stdout] 170 | ...                   CAMERA.forward = CAMERA.forward.rotate(0.0, 0.25).normalize();
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "eaccb159b11880cf2295377b7c5ca01694ea57ad51bec18210d5ab09a4cea7a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaccb159b11880cf2295377b7c5ca01694ea57ad51bec18210d5ab09a4cea7a6", kill_on_drop: false }`
[INFO] [stdout] eaccb159b11880cf2295377b7c5ca01694ea57ad51bec18210d5ab09a4cea7a6
