[INFO] cloning repository https://github.com/clynamen/RayTracingInOneWeekendRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clynamen/RayTracingInOneWeekendRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclynamen%2FRayTracingInOneWeekendRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclynamen%2FRayTracingInOneWeekendRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47f500db933d322f3396eecb0f2f29cc78f98030
[INFO] building clynamen/RayTracingInOneWeekendRust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclynamen%2FRayTracingInOneWeekendRust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/clynamen/RayTracingInOneWeekendRust
[INFO] finished tweaking git repo https://github.com/clynamen/RayTracingInOneWeekendRust
[INFO] tweaked toml for git repo https://github.com/clynamen/RayTracingInOneWeekendRust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/clynamen/RayTracingInOneWeekendRust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/clynamen/RayTracingInOneWeekendRust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded piston_window v0.112.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.18
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded serde_derive v1.0.111
[INFO] [stderr]   Downloaded piston2d-graphics v0.37.0
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded syn v1.0.30
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.66.0
[INFO] [stderr]   Downloaded paste-impl v0.1.16
[INFO] [stderr]   Downloaded ordered-float v1.1.0
[INFO] [stderr]   Downloaded libloading v0.6.3
[INFO] [stderr]   Downloaded pkg-config v0.3.18
[INFO] [stderr]   Downloaded piston-shaders_graphics2d v0.3.1
[INFO] [stderr]   Downloaded angle v0.4.0
[INFO] [stderr]   Downloaded piston-gfx_texture v0.41.0
[INFO] [stderr]   Downloaded gl v0.11.0
[INFO] [stderr]   Downloaded num-iter v0.1.41
[INFO] [stderr]   Downloaded tiff v0.5.0
[INFO] [stderr]   Downloaded arc-swap v0.4.7
[INFO] [stderr]   Downloaded color-rs v0.5.0
[INFO] [stderr]   Downloaded png v0.16.7
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.74.0
[INFO] [stderr]   Downloaded rayon v1.4.0
[INFO] [stderr]   Downloaded object v0.20.0
[INFO] [stderr]   Downloaded libm v0.2.1
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.20
[INFO] [stderr]   Downloaded image v0.23.9
[INFO] [stderr]   Downloaded winit v0.19.5
[INFO] [stderr]   Downloaded rayon-core v1.8.0
[INFO] [stderr]   Downloaded backtrace v0.3.50
[INFO] [stderr]   Downloaded cc v1.0.59
[INFO] [stderr]   Downloaded serde v1.0.111
[INFO] [stderr]   Downloaded miniz_oxide v0.4.1
[INFO] [stderr]   Downloaded cocoa v0.18.5
[INFO] [stderr]   Downloaded generic-array v0.13.2
[INFO] [stderr]   Downloaded rand_distr v0.2.2
[INFO] [stderr]   Downloaded nalgebra v0.21.0
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.70.0
[INFO] [stderr]   Downloaded gl_generator v0.10.0
[INFO] [stderr]   Downloaded addr2line v0.13.0
[INFO] [stderr]   Downloaded log v0.4.11
[INFO] [stderr]   Downloaded dyn-clone v1.0.2
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.16
[INFO] [stderr]   Downloaded simba v0.1.2
[INFO] [stderr]   Downloaded piston v0.52.0
[INFO] [stderr]   Downloaded bytemuck v1.4.0
[INFO] [stderr]   Downloaded either v1.6.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.15
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded smallvec v0.6.13
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] [stderr]   Downloaded paste v0.1.16
[INFO] [stderr]   Downloaded memoffset v0.5.5
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded gimli v0.22.0
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded glutin v0.21.2
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21c9a5725fcc4231737264ff4009196a22108606651bbe83995a5b73b87d8452
[INFO] running `Command { std: "docker" "start" "-a" "21c9a5725fcc4231737264ff4009196a22108606651bbe83995a5b73b87d8452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21c9a5725fcc4231737264ff4009196a22108606651bbe83995a5b73b87d8452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21c9a5725fcc4231737264ff4009196a22108606651bbe83995a5b73b87d8452", kill_on_drop: false }`
[INFO] [stdout] 21c9a5725fcc4231737264ff4009196a22108606651bbe83995a5b73b87d8452
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba51b319a46a28757afa18f85a93257311f91e28c6d9172d2ce2ea65cb3b3c38
[INFO] running `Command { std: "docker" "start" "-a" "ba51b319a46a28757afa18f85a93257311f91e28c6d9172d2ce2ea65cb3b3c38", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling rayon-core v1.8.0
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling tiff v0.5.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.4.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling piston2d-graphics v0.37.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling dyn-clone v1.0.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]    Compiling paste-impl v0.1.16
[INFO] [stderr]    Compiling image v0.23.9
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling paste v0.1.16
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling simba v0.1.2
[INFO] [stderr]    Compiling nalgebra v0.21.0
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.74.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.70.0
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling angle v0.4.0
[INFO] [stderr]    Compiling color-rs v0.5.0
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.52.0
[INFO] [stderr]    Compiling piston v0.52.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.66.0
[INFO] [stderr]    Compiling piston_window v0.112.0
[INFO] [stderr]    Compiling ray_tracing_in_one_weekend_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `normal3f_to_rgb8` and `rgb8_to_vector3f`
[INFO] [stdout]  --> src/renderer/renderer.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::{normal3f_to_rgb8, vector3f_to_rgb8, rgb8_to_vector3f};
[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: `scale_rgb8`
[INFO] [stdout]  --> src/renderer/renderer.rs:6:54
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::types::{Rgb8, Size2i, Vector2i, Vector3f, scale_rgb8, PointwiseSqrtExt };
[INFO] [stdout]   |                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/renderer/renderer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clone_trait_object`
[INFO] [stdout]  --> src/material/material.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use dyn_clone::{clone_trait_object, DynClone};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 |     if(user_input.pressed_keys.contains(&Key::A)) {
[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] 161 -     if(user_input.pressed_keys.contains(&Key::A)) {
[INFO] [stdout] 161 +     if user_input.pressed_keys.contains(&Key::A)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:163:15
[INFO] [stdout]     |
[INFO] [stdout] 163 |     } else if (user_input.pressed_keys.contains(&Key::D)) {
[INFO] [stdout]     |               ^                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -     } else if (user_input.pressed_keys.contains(&Key::D)) {
[INFO] [stdout] 163 +     } else if user_input.pressed_keys.contains(&Key::D)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/geom/sphere.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn hit_sphere(sphere: &Sphere, ray: &Ray, t_min:f32, t_max:f32) -> Option<HitPoint> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_size`
[INFO] [stdout]   --> src/image/image.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let image_size = self.size.height() * self.size.width();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]   --> src/material/material.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |         fn scatter  (&self, ray: &Ray, rec: &HitPoint)-> Option<(Vector3f, Ray)> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_conf`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         game_conf: GameConf,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_conf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `running` is never read
[INFO] [stdout]   --> src/main.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     running = false;
[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: `e`
[INFO] [stdout]    --> src/main.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let mut wasd_vector = make_wasd_vector(user_input);
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ArcMutex` is never used
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | type ArcMutex<T> = std::sync::Arc<std::sync::Mutex<T>>;
[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 `make_arc_mutex` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn make_arc_mutex<T>(value: T) -> ArcMutex<T>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `camera_size` is never read
[INFO] [stdout]    --> src/main.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct GameConf{
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 110 |     camera_size: Vector2i
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl GameState {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 271 |     pub fn new(camera: Camera) -> GameState {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scale_rgb8` is never used
[INFO] [stdout]   --> src/types/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn scale_rgb8(color: Rgb8, scale: f32) -> Rgb8 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rgb8_to_vector3f` is never used
[INFO] [stdout]   --> src/types/mod.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn rgb8_to_vector3f(rgb: Rgb8) -> Vector3f {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normal3f_to_rgb8` is never used
[INFO] [stdout]   --> src/types/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn normal3f_to_rgb8(v: Vector3f) -> Rgb8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             renderer_framebuffer_tx.send(image_buffer_rgba);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let _ = renderer_framebuffer_tx.send(image_buffer_rgba);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             user_input_tx.send(user_input);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let _ = user_input_tx.send(user_input);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "ba51b319a46a28757afa18f85a93257311f91e28c6d9172d2ce2ea65cb3b3c38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba51b319a46a28757afa18f85a93257311f91e28c6d9172d2ce2ea65cb3b3c38", kill_on_drop: false }`
[INFO] [stdout] ba51b319a46a28757afa18f85a93257311f91e28c6d9172d2ce2ea65cb3b3c38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3f94cb35be8ef02edd11277fc1c728973e38b36c86c468cfa7c2929599f2b6c
[INFO] running `Command { std: "docker" "start" "-a" "a3f94cb35be8ef02edd11277fc1c728973e38b36c86c468cfa7c2929599f2b6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling ray_tracing_in_one_weekend_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `normal3f_to_rgb8` and `rgb8_to_vector3f`
[INFO] [stdout]  --> src/renderer/renderer.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::{normal3f_to_rgb8, vector3f_to_rgb8, rgb8_to_vector3f};
[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: `scale_rgb8`
[INFO] [stdout]  --> src/renderer/renderer.rs:6:54
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::types::{Rgb8, Size2i, Vector2i, Vector3f, scale_rgb8, PointwiseSqrtExt };
[INFO] [stdout]   |                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/renderer/renderer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clone_trait_object`
[INFO] [stdout]  --> src/material/material.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use dyn_clone::{clone_trait_object, DynClone};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 |     if(user_input.pressed_keys.contains(&Key::A)) {
[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] 161 -     if(user_input.pressed_keys.contains(&Key::A)) {
[INFO] [stdout] 161 +     if user_input.pressed_keys.contains(&Key::A)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:163:15
[INFO] [stdout]     |
[INFO] [stdout] 163 |     } else if (user_input.pressed_keys.contains(&Key::D)) {
[INFO] [stdout]     |               ^                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -     } else if (user_input.pressed_keys.contains(&Key::D)) {
[INFO] [stdout] 163 +     } else if user_input.pressed_keys.contains(&Key::D)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/geom/sphere.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn hit_sphere(sphere: &Sphere, ray: &Ray, t_min:f32, t_max:f32) -> Option<HitPoint> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_size`
[INFO] [stdout]   --> src/image/image.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let image_size = self.size.height() * self.size.width();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]   --> src/material/material.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |         fn scatter  (&self, ray: &Ray, rec: &HitPoint)-> Option<(Vector3f, Ray)> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_conf`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         game_conf: GameConf,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_conf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `running` is never read
[INFO] [stdout]   --> src/main.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     running = false;
[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: `e`
[INFO] [stdout]    --> src/main.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |             Err(e) => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let mut wasd_vector = make_wasd_vector(user_input);
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ArcMutex` is never used
[INFO] [stdout]   --> src/main.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | type ArcMutex<T> = std::sync::Arc<std::sync::Mutex<T>>;
[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 `make_arc_mutex` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn make_arc_mutex<T>(value: T) -> ArcMutex<T>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `camera_size` is never read
[INFO] [stdout]    --> src/main.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct GameConf{
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 110 |     camera_size: Vector2i
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl GameState {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 271 |     pub fn new(camera: Camera) -> GameState {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scale_rgb8` is never used
[INFO] [stdout]   --> src/types/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn scale_rgb8(color: Rgb8, scale: f32) -> Rgb8 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rgb8_to_vector3f` is never used
[INFO] [stdout]   --> src/types/mod.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn rgb8_to_vector3f(rgb: Rgb8) -> Vector3f {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normal3f_to_rgb8` is never used
[INFO] [stdout]   --> src/types/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn normal3f_to_rgb8(v: Vector3f) -> Rgb8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             renderer_framebuffer_tx.send(image_buffer_rgba);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let _ = renderer_framebuffer_tx.send(image_buffer_rgba);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             user_input_tx.send(user_input);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let _ = user_input_tx.send(user_input);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "a3f94cb35be8ef02edd11277fc1c728973e38b36c86c468cfa7c2929599f2b6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3f94cb35be8ef02edd11277fc1c728973e38b36c86c468cfa7c2929599f2b6c", kill_on_drop: false }`
[INFO] [stdout] a3f94cb35be8ef02edd11277fc1c728973e38b36c86c468cfa7c2929599f2b6c
