[INFO] cloning repository https://github.com/mokshitagupta/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/mokshitagupta/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9193cb02e579c53240396f9f3038c47e90613f9d [INFO] checking mokshitagupta/rust-raytracer against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file renders/sample11.ppm [INFO] [stderr] error: unable to write file renders/sample2.ppm [INFO] [stderr] error: unable to write file renders/sample3.ppm [INFO] [stderr] error: unable to write file renders/sample4.ppm [INFO] [stderr] error: unable to write file renders/sample5.ppm [INFO] [stderr] error: unable to write file renders/sample6.ppm [INFO] [stderr] error: unable to write file renders/sample7.ppm [INFO] [stderr] error: unable to write file renders/sample8.ppm [INFO] [stderr] error: unable to write file renders/sample9.ppm [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking mokshitagupta/rust-raytracer against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file renders/sample11.ppm [INFO] [stderr] error: unable to write file renders/sample2.ppm [INFO] [stderr] error: unable to write file renders/sample3.ppm [INFO] [stderr] error: unable to write file renders/sample4.ppm [INFO] [stderr] error: unable to write file renders/sample5.ppm [INFO] [stderr] error: unable to write file renders/sample6.ppm [INFO] [stderr] error: unable to write file renders/sample7.ppm [INFO] [stderr] error: unable to write file renders/sample8.ppm [INFO] [stderr] error: unable to write file renders/sample9.ppm [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking mokshitagupta/rust-raytracer against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file renders/normal4.ppm [INFO] [stderr] error: unable to write file renders/sample.ppm [INFO] [stderr] error: unable to write file renders/sample1.ppm [INFO] [stderr] error: unable to write file renders/sample10.ppm [INFO] [stderr] error: unable to write file renders/sample11.ppm [INFO] [stderr] error: unable to write file renders/sample2.ppm [INFO] [stderr] error: unable to write file renders/sample3.ppm [INFO] [stderr] error: unable to write file renders/sample4.ppm [INFO] [stderr] error: unable to write file renders/sample5.ppm [INFO] [stderr] error: unable to write file renders/sample6.ppm [INFO] [stderr] error: unable to write file renders/sample7.ppm [INFO] [stderr] error: unable to write file renders/sample8.ppm [INFO] [stderr] error: unable to write file renders/sample9.ppm [INFO] [stderr] fatal: cannot create directory at 'src': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking mokshitagupta/rust-raytracer against try#2b41547e41f63ea0ca9cb25417ddd569b19e6a50 for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokshitagupta%2Frust-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mokshitagupta/rust-raytracer on toolchain 2b41547e41f63ea0ca9cb25417ddd569b19e6a50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mokshitagupta/rust-raytracer [INFO] finished tweaking git repo https://github.com/mokshitagupta/rust-raytracer [INFO] tweaked toml for git repo https://github.com/mokshitagupta/rust-raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mokshitagupta/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" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3bc9c0d5694d7b8f047762c972dfae610f0adc14554578036a6aa593d1efcee [INFO] running `Command { std: "docker" "start" "-a" "b3bc9c0d5694d7b8f047762c972dfae610f0adc14554578036a6aa593d1efcee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3bc9c0d5694d7b8f047762c972dfae610f0adc14554578036a6aa593d1efcee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3bc9c0d5694d7b8f047762c972dfae610f0adc14554578036a6aa593d1efcee", kill_on_drop: false }` [INFO] [stdout] b3bc9c0d5694d7b8f047762c972dfae610f0adc14554578036a6aa593d1efcee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2b41547e41f63ea0ca9cb25417ddd569b19e6a50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda4cf46252444a69ffa5c7b1dc818a88e14618b522db52f4d51becfa0758bfe [INFO] running `Command { std: "docker" "start" "-a" "fda4cf46252444a69ffa5c7b1dc818a88e14618b522db52f4d51becfa0758bfe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `rand_outside` and `rand_unit_vector` [INFO] [stdout] --> src/camera.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | cmp, rand_norm, rand_outside, rand_unit_vector, unit_vector, write_clr, Color3, HitRecord, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/camera.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn render(&self, world: &mut (impl Hittable)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn render(&self, world: &mut (impl Hittable)) { [INFO] [stdout] 20 + pub fn render(&self, world: &mut impl Hittable) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | r = (intensity.clamp(r) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - r = (intensity.clamp(r) * (255.0 as f64)); [INFO] [stdout] 21 + r = intensity.clamp(r) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | g = (intensity.clamp(g) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - g = (intensity.clamp(g) * (255.0 as f64)); [INFO] [stdout] 22 + g = intensity.clamp(g) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | b = (intensity.clamp(b) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - b = (intensity.clamp(b) * (255.0 as f64)); [INFO] [stdout] 23 + b = intensity.clamp(b) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use intervals::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | self.e[0] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - self.e[0] *= (1.0 / rhs); [INFO] [stdout] 149 + self.e[0] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | self.e[1] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - self.e[1] *= (1.0 / rhs); [INFO] [stdout] 150 + self.e[1] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | self.e[2] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - self.e[2] *= (1.0 / rhs); [INFO] [stdout] 151 + self.e[2] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rand_outside` and `rand_unit_vector` [INFO] [stdout] --> src/camera.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | cmp, rand_norm, rand_outside, rand_unit_vector, unit_vector, write_clr, Color3, HitRecord, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/camera.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn render(&self, world: &mut (impl Hittable)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub fn render(&self, world: &mut (impl Hittable)) { [INFO] [stdout] 20 + pub fn render(&self, world: &mut impl Hittable) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | r = (intensity.clamp(r) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - r = (intensity.clamp(r) * (255.0 as f64)); [INFO] [stdout] 21 + r = intensity.clamp(r) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | g = (intensity.clamp(g) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - g = (intensity.clamp(g) * (255.0 as f64)); [INFO] [stdout] 22 + g = intensity.clamp(g) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/color.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | b = (intensity.clamp(b) * (255.0 as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - b = (intensity.clamp(b) * (255.0 as f64)); [INFO] [stdout] 23 + b = intensity.clamp(b) * (255.0 as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intervals::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use intervals::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | self.e[0] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - self.e[0] *= (1.0 / rhs); [INFO] [stdout] 149 + self.e[0] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | self.e[1] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - self.e[1] *= (1.0 / rhs); [INFO] [stdout] 150 + self.e[1] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vec3.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | self.e[2] *= (1.0 / rhs); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - self.e[2] *= (1.0 / rhs); [INFO] [stdout] 151 + self.e[2] *= 1.0 / rhs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/camera.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | for s in 0..self.samplesPerPixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/camera.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | for s in 0..self.samplesPerPixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | r_in: Ray, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/intervals.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const EMPTY: Interval = Interval::from(INFINTY, -INFINTY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIVERSE` is never used [INFO] [stdout] --> src/intervals.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const UNIVERSE: Interval = Interval::from(-INFINTY, INFINTY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/utils.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PI: f64 = 3.1415926535897932385; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg2rad` is never used [INFO] [stdout] --> src/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn deg2rad(deg: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/vec3.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn cross(u: Vec3, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_outside` is never used [INFO] [stdout] --> src/vec3.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rand_outside(norm: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aspectRatio` should have a snake case name [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let aspectRatio: f64 = 16.0 / 9.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelDeltau` should have a snake case name [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pixelDeltau: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelDeltav` should have a snake case name [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pixelDeltav: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `samplesPerPixel` should have a snake case name [INFO] [stdout] --> src/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | samplesPerPixel: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelSamplesScale` should have a snake case name [INFO] [stdout] --> src/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pixelSamplesScale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_samples_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `maxDepth` should have a snake case name [INFO] [stdout] --> src/camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | maxDepth: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelClr` should have a snake case name [INFO] [stdout] --> src/camera.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let pixelClr: Color3 = self.ray_color(r, self.maxDepth, world); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_clr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelCenter` should have a snake case name [INFO] [stdout] --> src/camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let pixelCenter = self.pixel00 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> src/camera.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let rayDir = pixelCenter - self.center; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `samplesPerPixel` should have a snake case name [INFO] [stdout] --> src/camera.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(aspect_ratio: f64, w: u64, samplesPerPixel: u64, maxDepth: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxDepth` should have a snake case name [INFO] [stdout] --> src/camera.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(aspect_ratio: f64, w: u64, samplesPerPixel: u64, maxDepth: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `focalLength` should have a snake case name [INFO] [stdout] --> src/camera.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let focalLength = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `focal_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpHeight` should have a snake case name [INFO] [stdout] --> src/camera.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vpHeight = 2.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vp_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpWidth` should have a snake case name [INFO] [stdout] --> src/camera.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let vpWidth = vpHeight * (w as f64 / h as f64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vp_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `camCenter` should have a snake case name [INFO] [stdout] --> src/camera.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let camCenter: Point3 = Point3::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cam_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelDeltau` should have a snake case name [INFO] [stdout] --> src/camera.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pixelDeltau = vpu / (w as f64); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelDeltav` should have a snake case name [INFO] [stdout] --> src/camera.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let pixelDeltav = vpv / (h as f64); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpUpperLeft` should have a snake case name [INFO] [stdout] --> src/camera.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let vpUpperLeft = camCenter - Vec3::from(0.0, 0.0, focalLength) - (vpu / 2.0) - (vpv / 2.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vp_upper_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uDir` should have a snake case name [INFO] [stdout] --> src/camera.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let uDir: Vec3 = unit_vector(r.direction()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `u_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | r_in: Ray, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/intervals.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const EMPTY: Interval = Interval::from(INFINTY, -INFINTY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIVERSE` is never used [INFO] [stdout] --> src/intervals.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const UNIVERSE: Interval = Interval::from(-INFINTY, INFINTY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/utils.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PI: f64 = 3.1415926535897932385; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg2rad` is never used [INFO] [stdout] --> src/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn deg2rad(deg: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross` is never used [INFO] [stdout] --> src/vec3.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn cross(u: Vec3, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_outside` is never used [INFO] [stdout] --> src/vec3.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rand_outside(norm: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aspectRatio` should have a snake case name [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let aspectRatio: f64 = 16.0 / 9.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelDeltau` should have a snake case name [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pixelDeltau: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelDeltav` should have a snake case name [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pixelDeltav: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `samplesPerPixel` should have a snake case name [INFO] [stdout] --> src/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | samplesPerPixel: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `pixelSamplesScale` should have a snake case name [INFO] [stdout] --> src/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pixelSamplesScale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_samples_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `maxDepth` should have a snake case name [INFO] [stdout] --> src/camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | maxDepth: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelClr` should have a snake case name [INFO] [stdout] --> src/camera.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let pixelClr: Color3 = self.ray_color(r, self.maxDepth, world); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pixel_clr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelCenter` should have a snake case name [INFO] [stdout] --> src/camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let pixelCenter = self.pixel00 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rayDir` should have a snake case name [INFO] [stdout] --> src/camera.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let rayDir = pixelCenter - self.center; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ray_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `samplesPerPixel` should have a snake case name [INFO] [stdout] --> src/camera.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(aspect_ratio: f64, w: u64, samplesPerPixel: u64, maxDepth: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxDepth` should have a snake case name [INFO] [stdout] --> src/camera.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(aspect_ratio: f64, w: u64, samplesPerPixel: u64, maxDepth: u32) -> Camera { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `focalLength` should have a snake case name [INFO] [stdout] --> src/camera.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let focalLength = 1.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `focal_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpHeight` should have a snake case name [INFO] [stdout] --> src/camera.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vpHeight = 2.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vp_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpWidth` should have a snake case name [INFO] [stdout] --> src/camera.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let vpWidth = vpHeight * (w as f64 / h as f64); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vp_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `camCenter` should have a snake case name [INFO] [stdout] --> src/camera.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let camCenter: Point3 = Point3::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cam_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelDeltau` should have a snake case name [INFO] [stdout] --> src/camera.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let pixelDeltau = vpu / (w as f64); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pixelDeltav` should have a snake case name [INFO] [stdout] --> src/camera.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let pixelDeltav = vpv / (h as f64); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pixel_deltav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vpUpperLeft` should have a snake case name [INFO] [stdout] --> src/camera.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let vpUpperLeft = camCenter - Vec3::from(0.0, 0.0, focalLength) - (vpu / 2.0) - (vpv / 2.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vp_upper_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uDir` should have a snake case name [INFO] [stdout] --> src/camera.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let uDir: Vec3 = unit_vector(r.direction()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `u_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.12s [INFO] running `Command { std: "docker" "inspect" "fda4cf46252444a69ffa5c7b1dc818a88e14618b522db52f4d51becfa0758bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda4cf46252444a69ffa5c7b1dc818a88e14618b522db52f4d51becfa0758bfe", kill_on_drop: false }` [INFO] [stdout] fda4cf46252444a69ffa5c7b1dc818a88e14618b522db52f4d51becfa0758bfe