[INFO] cloning repository https://github.com/Akihiro120/rust-raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akihiro120/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkihiro120%2Frust-raytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkihiro120%2Frust-raytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e92d79bce71903c86dcb045aa8e98b51123a29d6
[INFO] checking Akihiro120/rust-raytracer against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkihiro120%2Frust-raytracer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Akihiro120/rust-raytracer
[INFO] finished tweaking git repo https://github.com/Akihiro120/rust-raytracer
[INFO] tweaked toml for git repo https://github.com/Akihiro120/rust-raytracer written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akihiro120/rust-raytracer on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Akihiro120/rust-raytracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e74e40739730d2800eebec71f95e364a674265cb09351385ee8d84f881d1999
[INFO] running `Command { std: "docker" "start" "-a" "2e74e40739730d2800eebec71f95e364a674265cb09351385ee8d84f881d1999", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e74e40739730d2800eebec71f95e364a674265cb09351385ee8d84f881d1999", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e74e40739730d2800eebec71f95e364a674265cb09351385ee8d84f881d1999", kill_on_drop: false }`
[INFO] [stdout] 2e74e40739730d2800eebec71f95e364a674265cb09351385ee8d84f881d1999
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 391d3d80c6818bfbca149aaad1a48ddfc16602106aba158f6ff89d17c46ed7c1
[INFO] running `Command { std: "docker" "start" "-a" "391d3d80c6818bfbca149aaad1a48ddfc16602106aba158f6ff89d17c46ed7c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking value-bag v1.7.0
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking async-executor v1.8.0
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking polling v3.5.0
[INFO] [stderr]     Checking async-io v2.3.1
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking raytracing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.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 imports: `BufWriter` and `Write`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufWriter, Write};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vec3::*`
[INFO] [stdout]  --> src/hittable_list.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vec3::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::*`
[INFO] [stdout]  --> src/hittable_list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::task::*`
[INFO] [stdout]   --> src/camera.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::task::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fastrand::*`
[INFO] [stdout]  --> src/utility.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use fastrand::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.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 imports: `BufWriter` and `Write`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufWriter, Write};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vec3::*`
[INFO] [stdout]  --> src/hittable_list.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vec3::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::*`
[INFO] [stdout]  --> src/hittable_list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::task::*`
[INFO] [stdout]   --> src/camera.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::task::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fastrand::*`
[INFO] [stdout]  --> src/utility.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use fastrand::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]  --> src/aabb.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 6 | struct AABB {
[INFO] [stdout] 7 |     x: Interval,
[INFO] [stdout]   |     ----------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0204]: the trait `Copy` cannot be implemented for this type
[INFO] [stdout]  --> src/aabb.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 6 | struct AABB {
[INFO] [stdout] 7 |     x: Interval,
[INFO] [stdout]   |     ----------- this field does not implement `Copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Interval: Clone` is not satisfied
[INFO] [stdout]  --> src/aabb.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone)]
[INFO] [stdout]   |                ----- in this derive macro expansion
[INFO] [stdout] 6 | struct AABB {
[INFO] [stdout] 7 |     x: Interval,
[INFO] [stdout]   |     ^^^^^^^^^^^ the trait `Clone` is not implemented for `Interval`
[INFO] [stdout]   |
[INFO] [stdout] note: required by a bound in `AssertParamIsClone`
[INFO] [stdout]  --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/core/src/clone.rs:325:1
[INFO] [stdout] help: consider annotating `Interval` with `#[derive(Clone)]`
[INFO] [stdout]  --> src/interval.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 + #[derive(Clone)]
[INFO] [stdout] 3 | pub struct Interval {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Interval: Clone` is not satisfied
[INFO] [stdout]  --> src/aabb.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone)]
[INFO] [stdout]   |                ----- in this derive macro expansion
[INFO] [stdout] 6 | struct AABB {
[INFO] [stdout] 7 |     x: Interval,
[INFO] [stdout]   |     ^^^^^^^^^^^ the trait `Clone` is not implemented for `Interval`
[INFO] [stdout]   |
[INFO] [stdout] note: required by a bound in `AssertParamIsClone`
[INFO] [stdout]  --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/core/src/clone.rs:325:1
[INFO] [stdout] help: consider annotating `Interval` with `#[derive(Clone)]`
[INFO] [stdout]  --> src/interval.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 + #[derive(Clone)]
[INFO] [stdout] 3 | pub struct Interval {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:41:63
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let t0 = f64::min((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:41:83
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let t0 = f64::min((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:41:63
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let t0 = f64::min((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:41:83
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let t0 = f64::min((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:42:63
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:42:83
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:43:63
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let t1 = f64::max((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:42:63
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:43:83
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let t1 = f64::max((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:42:83
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:43:63
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let t1 = f64::max((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:44:63
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:43:83
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let t1 = f64::max((self.axis(a).min() - r.origin()[a]) / r.direction()[a],
[INFO] [stdout]    |                                                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:44:83
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:44:63
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `vec3::Vec3`
[INFO] [stdout]   --> src/aabb.rs:44:83
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   (self.axis(a).max() - r.origin()[a]) / r.direction()[a]);
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/aabb.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |             ray_t.min() = f64::max(t0, ray_t.min());
[INFO] [stdout]    |             ----------- ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/aabb.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |             ray_t.max() = f64::min(t1, ray_t.max());
[INFO] [stdout]    |             ----------- ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/aabb.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |             ray_t.min() = f64::max(t0, ray_t.min());
[INFO] [stdout]    |             ----------- ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/aabb.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |             ray_t.max() = f64::min(t1, ray_t.max());
[INFO] [stdout]    |             ----------- ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/camera.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let r = Ray::ray(&self.center, &ray_direction); 
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 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] 
[INFO] [stdout] warning: unused variable: `focal_length`
[INFO] [stdout]    --> src/camera.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let focal_length = (self.look_from - self.look_at).length();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]  --> src/material.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]  --> src/material.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attenuation`
[INFO] [stdout]  --> src/material.rs:7:52
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]  --> src/material.rs:7:76
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/camera.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let r = Ray::ray(&self.center, &ray_direction); 
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 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] 
[INFO] [stdout] warning: unused variable: `focal_length`
[INFO] [stdout]    --> src/camera.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let focal_length = (self.look_from - self.look_at).length();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]  --> src/material.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]  --> src/material.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attenuation`
[INFO] [stdout]  --> src/material.rs:7:52
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]  --> src/material.rs:7:76
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) -> bool {
[INFO] [stdout]   |                                                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.y` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             return self.y;
[INFO] [stdout]    |                    ^^^^^^ move occurs because `self.y` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             return self.y;
[INFO] [stdout]    |                    ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.y` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             return self.y;
[INFO] [stdout]    |                    ^^^^^^ move occurs because `self.y` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             return self.y;
[INFO] [stdout]    |                    ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.z` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return self.z;
[INFO] [stdout]    |                    ^^^^^^ move occurs because `self.z` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return self.z;
[INFO] [stdout]    |                    ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.x` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |         return self.x;
[INFO] [stdout]    |                ^^^^^^ move occurs because `self.x` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |         return self.x;
[INFO] [stdout]    |                ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.z` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return self.z;
[INFO] [stdout]    |                    ^^^^^^ move occurs because `self.z` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return self.z;
[INFO] [stdout]    |                    ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.x` which is behind a shared reference
[INFO] [stdout]   --> src/aabb.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |         return self.x;
[INFO] [stdout]    |                ^^^^^^ move occurs because `self.x` has type `Interval`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Interval` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/interval.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Interval {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/aabb.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |         return self.x;
[INFO] [stdout]    |                ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0204, E0277, E0507, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0204, E0277, E0507, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raytracing` (bin "raytracing" test) due to 15 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `raytracing` (bin "raytracing") due to 15 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "391d3d80c6818bfbca149aaad1a48ddfc16602106aba158f6ff89d17c46ed7c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "391d3d80c6818bfbca149aaad1a48ddfc16602106aba158f6ff89d17c46ed7c1", kill_on_drop: false }`
[INFO] [stdout] 391d3d80c6818bfbca149aaad1a48ddfc16602106aba158f6ff89d17c46ed7c1
