[INFO] cloning repository https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lee-Garcon/rust-raytracer-quest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLee-Garcon%2Frust-raytracer-quest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLee-Garcon%2Frust-raytracer-quest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d8367c743a5b5a41165962fe792ce008d13a7da [INFO] checking Lee-Garcon/rust-raytracer-quest against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLee-Garcon%2Frust-raytracer-quest" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lee-Garcon/rust-raytracer-quest on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] finished tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] tweaked toml for git repo https://github.com/Lee-Garcon/rust-raytracer-quest written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lee-Garcon/rust-raytracer-quest 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Lee-Garcon/rust-raytracer-quest against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLee-Garcon%2Frust-raytracer-quest" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lee-Garcon/rust-raytracer-quest on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] finished tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] tweaked toml for git repo https://github.com/Lee-Garcon/rust-raytracer-quest written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lee-Garcon/rust-raytracer-quest 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Lee-Garcon/rust-raytracer-quest against try#925e66ec5d7d73da31ddd13e53f21e4674feb4ba for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLee-Garcon%2Frust-raytracer-quest" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lee-Garcon/rust-raytracer-quest on toolchain 925e66ec5d7d73da31ddd13e53f21e4674feb4ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] finished tweaking git repo https://github.com/Lee-Garcon/rust-raytracer-quest [INFO] tweaked toml for git repo https://github.com/Lee-Garcon/rust-raytracer-quest written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lee-Garcon/rust-raytracer-quest 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" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1376225ecc618760141cae48f6e703443824267176f7d457df4b700f8e458c46 [INFO] running `Command { std: "docker" "start" "-a" "1376225ecc618760141cae48f6e703443824267176f7d457df4b700f8e458c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1376225ecc618760141cae48f6e703443824267176f7d457df4b700f8e458c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1376225ecc618760141cae48f6e703443824267176f7d457df4b700f8e458c46", kill_on_drop: false }` [INFO] [stdout] 1376225ecc618760141cae48f6e703443824267176f7d457df4b700f8e458c46 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+925e66ec5d7d73da31ddd13e53f21e4674feb4ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa7a5242220e79a86cc009b11927dd718e95632186e361b1d61c66072abf50db [INFO] running `Command { std: "docker" "start" "-a" "aa7a5242220e79a86cc009b11927dd718e95632186e361b1d61c66072abf50db", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking num-rational v0.2.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage` [INFO] [stdout] --> src/frame/objects/assets/primitives/color.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/frame/frame.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage`, `Pixel`, `Rgba` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage` [INFO] [stdout] --> src/frame/objects/assets/primitives/color.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rgba` [INFO] [stdout] --> src/frame/frame.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage`, `Pixel`, `Rgba` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/frame/frame.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_point` [INFO] [stdout] --> src/frame/objects/assets/plane.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn surface_normal(&self, hit_point: &Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/frame/frame.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, GenericImage, Pixel, Rgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_light` [INFO] [stdout] --> src/frame/frame.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let in_light = shadow_intersection.is_none() || [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/frame/frame.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | Some(t) => Some(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane1` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let plane1 = Plane { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane2` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let plane2 = Plane { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light2` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let light2 = Light::DirectionalLight(DirectionalLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut element_vector = vec![ [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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut light_vector = vec![ [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut frame = Frame { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Plane` is never constructed [INFO] [stdout] --> src/frame/objects/element.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Element { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 11 | Plane(Plane), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/frame/objects/element.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Element { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn debug(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `display`, `debug`, and `values` are never used [INFO] [stdout] --> src/frame/objects/assets/primitives/vector.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vector { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn cross(&self, v: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn debug(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn values(&self) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `values` and `display` are never used [INFO] [stdout] --> src/frame/objects/assets/primitives/ray.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Ray { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn values(&self) -> (Vector, Vector){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | image.save("trace.png"); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = image.save("trace.png"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_point` [INFO] [stdout] --> src/frame/objects/assets/plane.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn surface_normal(&self, hit_point: &Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_light` [INFO] [stdout] --> src/frame/frame.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let in_light = shadow_intersection.is_none() || [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/frame/frame.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | Some(t) => Some(s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane1` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let plane1 = Plane { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane2` [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let plane2 = Plane { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light2` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let light2 = Light::DirectionalLight(DirectionalLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut element_vector = vec![ [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:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut light_vector = vec![ [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut frame = Frame { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Plane` is never constructed [INFO] [stdout] --> src/frame/objects/element.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Element { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 11 | Plane(Plane), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/frame/objects/element.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Element { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn debug(&self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `display`, `debug`, and `values` are never used [INFO] [stdout] --> src/frame/objects/assets/primitives/vector.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vector { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn cross(&self, v: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn debug(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn values(&self) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `values` and `display` are never used [INFO] [stdout] --> src/frame/objects/assets/primitives/ray.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Ray { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn values(&self) -> (Vector, Vector){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | image.save("trace.png"); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = image.save("trace.png"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "aa7a5242220e79a86cc009b11927dd718e95632186e361b1d61c66072abf50db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7a5242220e79a86cc009b11927dd718e95632186e361b1d61c66072abf50db", kill_on_drop: false }` [INFO] [stdout] aa7a5242220e79a86cc009b11927dd718e95632186e361b1d61c66072abf50db