[INFO] cloning repository https://github.com/MarkJGx/rust-rayon-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarkJGx/rust-rayon-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkJGx%2Frust-rayon-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkJGx%2Frust-rayon-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84944a10875ef469c5a32e64c1ab99bc354360e [INFO] testing MarkJGx/rust-rayon-raytracer against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkJGx%2Frust-rayon-raytracer" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarkJGx/rust-rayon-raytracer on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarkJGx/rust-rayon-raytracer [INFO] finished tweaking git repo https://github.com/MarkJGx/rust-rayon-raytracer [INFO] tweaked toml for git repo https://github.com/MarkJGx/rust-rayon-raytracer written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate git repo https://github.com/MarkJGx/rust-rayon-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fca7c720c5b0166af2d72cf3d0f70c87025780f34559842fce346e1ac912fc55 [INFO] running `Command { std: "docker" "start" "-a" "fca7c720c5b0166af2d72cf3d0f70c87025780f34559842fce346e1ac912fc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fca7c720c5b0166af2d72cf3d0f70c87025780f34559842fce346e1ac912fc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca7c720c5b0166af2d72cf3d0f70c87025780f34559842fce346e1ac912fc55", kill_on_drop: false }` [INFO] [stdout] fca7c720c5b0166af2d72cf3d0f70c87025780f34559842fce346e1ac912fc55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf3852e9447798671ab45eb18dfb187dd53ca77339980ee6848c4fb767484e33 [INFO] running `Command { std: "docker" "start" "-a" "cf3852e9447798671ab45eb18dfb187dd53ca77339980ee6848c4fb767484e33", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling random-trait v0.1.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling glam v0.13.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling piston2d-graphics v0.39.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling random-fast-rng v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.72.0 [INFO] [stderr] Compiling piston v0.52.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.68.2 [INFO] [stderr] Compiling piston_window v0.117.0 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fastrand::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fastrand::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::{self, Sum}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stdout] 53 + let cos_theta = f32::min((-*uv).dot(*normal), 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sum` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::{self, Sum}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `camera` is never read [INFO] [stdout] --> src/main.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let mut camera: Camera = Camera::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let mut direction: Vec3A; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut vertical_fov = 60.0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec3ASummable` [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Vec3ASummable(Vec3A); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_minmax` [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn random_minmax(min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn random_in_hemisphere(normal: Vec3A) -> Vec3A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn new(origin: Vec3A, direction: Vec3A) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.95s [INFO] running `Command { std: "docker" "inspect" "cf3852e9447798671ab45eb18dfb187dd53ca77339980ee6848c4fb767484e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3852e9447798671ab45eb18dfb187dd53ca77339980ee6848c4fb767484e33", kill_on_drop: false }` [INFO] [stdout] cf3852e9447798671ab45eb18dfb187dd53ca77339980ee6848c4fb767484e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969c61155f071932256b8c53a27e6d3a015caf5a5b73a447596514791aa0cfd3 [INFO] running `Command { std: "docker" "start" "-a" "969c61155f071932256b8c53a27e6d3a015caf5a5b73a447596514791aa0cfd3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fastrand::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fastrand::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::{self, Sum}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stdout] 53 + let cos_theta = f32::min((-*uv).dot(*normal), 1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sum` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::{self, Sum}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `camera` is never read [INFO] [stdout] --> src/main.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let mut camera: Camera = Camera::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let mut direction: Vec3A; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | let mut vertical_fov = 60.0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec3ASummable` [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Vec3ASummable(Vec3A); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_minmax` [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn random_minmax(min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn random_in_hemisphere(normal: Vec3A) -> Vec3A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn new(origin: Vec3A, direction: Vec3A) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "969c61155f071932256b8c53a27e6d3a015caf5a5b73a447596514791aa0cfd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969c61155f071932256b8c53a27e6d3a015caf5a5b73a447596514791aa0cfd3", kill_on_drop: false }` [INFO] [stdout] 969c61155f071932256b8c53a27e6d3a015caf5a5b73a447596514791aa0cfd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14859c3bbdd327b712a19b1fd2c0b5b4b5782cdb2d723113f4cd395470809723 [INFO] running `Command { std: "docker" "start" "-a" "14859c3bbdd327b712a19b1fd2c0b5b4b5782cdb2d723113f4cd395470809723", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `fastrand::*` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use fastrand::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | use std::iter::{self, Sum}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:53:30 [INFO] [stderr] | [INFO] [stderr] 53 | let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - let cos_theta = f32::min(((-*uv).dot(*normal)), 1.0); [INFO] [stderr] 53 + let cos_theta = f32::min((-*uv).dot(*normal), 1.0); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:189:19 [INFO] [stderr] | [INFO] [stderr] 189 | material: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:339:19 [INFO] [stderr] | [INFO] [stderr] 339 | material: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MaterialTrait + Send + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sum` [INFO] [stderr] --> src/main.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | use std::iter::{self, Sum}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `camera` is never read [INFO] [stderr] --> src/main.rs:444:13 [INFO] [stderr] | [INFO] [stderr] 444 | let mut camera: Camera = Camera::new( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/main.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | ray: &Ray, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | let mut direction: Vec3A; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:439:9 [INFO] [stderr] | [INFO] [stderr] 439 | let mut vertical_fov = 60.0; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Vec3ASummable` [INFO] [stderr] --> src/main.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Vec3ASummable(Vec3A); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_minmax` [INFO] [stderr] --> src/main.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn random_minmax(min: f32, max: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_in_hemisphere` [INFO] [stderr] --> src/main.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | fn random_in_hemisphere(normal: Vec3A) -> Vec3A { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | fn new(origin: Vec3A, direction: Vec3A) -> Ray { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytrace` (bin "raytrace" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytrace-5b1231be9099d32b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14859c3bbdd327b712a19b1fd2c0b5b4b5782cdb2d723113f4cd395470809723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14859c3bbdd327b712a19b1fd2c0b5b4b5782cdb2d723113f4cd395470809723", kill_on_drop: false }` [INFO] [stdout] 14859c3bbdd327b712a19b1fd2c0b5b4b5782cdb2d723113f4cd395470809723