[INFO] cloning repository https://github.com/rayguo17/Ray-Tracing-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rayguo17/Ray-Tracing-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayguo17%2FRay-Tracing-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayguo17%2FRay-Tracing-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bba46a65c44bf5d0255bf243fe398d93012b15e0 [INFO] checking rayguo17/Ray-Tracing-Rust against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frayguo17%2FRay-Tracing-Rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rayguo17/Ray-Tracing-Rust [INFO] finished tweaking git repo https://github.com/rayguo17/Ray-Tracing-Rust [INFO] tweaked toml for git repo https://github.com/rayguo17/Ray-Tracing-Rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rayguo17/Ray-Tracing-Rust on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rayguo17/Ray-Tracing-Rust 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 032db2a719993f20c15b084bbb6e89649e1eb2f6f315fe5559cdbc4458433839 [INFO] running `Command { std: "docker" "start" "-a" "032db2a719993f20c15b084bbb6e89649e1eb2f6f315fe5559cdbc4458433839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "032db2a719993f20c15b084bbb6e89649e1eb2f6f315fe5559cdbc4458433839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "032db2a719993f20c15b084bbb6e89649e1eb2f6f315fe5559cdbc4458433839", kill_on_drop: false }` [INFO] [stdout] 032db2a719993f20c15b084bbb6e89649e1eb2f6f315fe5559cdbc4458433839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa80d690c2f4662f6af48f5f621bd4a36e121c47e14ebcf3caeb3b1b4b934a0 [INFO] running `Command { std: "docker" "start" "-a" "0aa80d690c2f4662f6af48f5f621bd4a36e121c47e14ebcf3caeb3b1b4b934a0", 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.168 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [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 image_gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Dummy` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use material::{Dielectric, Dummy, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::x86_64::_CMP_FALSE_OQ` [INFO] [stdout] --> src/camera.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{arch::x86_64::_CMP_FALSE_OQ, f64::INFINITY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/material.rs:1:146 [INFO] [stdout] | [INFO] [stdout] 1 | ..., vec3::{dot, random_unit_vector, reflect, refract, unit_vector, Vec3}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dummy` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use material::{Dielectric, Dummy, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::x86_64::_CMP_FALSE_OQ` [INFO] [stdout] --> src/camera.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{arch::x86_64::_CMP_FALSE_OQ, f64::INFINITY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/material.rs:1:146 [INFO] [stdout] | [INFO] [stdout] 1 | ..., vec3::{dot, random_unit_vector, reflect, refract, unit_vector, Vec3}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focal_length` [INFO] [stdout] --> src/camera.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let focal_length = (self.lookfrom - self.lookat).length(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length` [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/material.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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: `focal_length` [INFO] [stdout] --> src/camera.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let focal_length = (self.lookfrom - self.lookat).length(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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 Color, 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 Color, 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:77 [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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_in` [INFO] [stdout] --> src/material.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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_in` [INFO] [stdout] --> src/material.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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: `col` [INFO] [stdout] --> src/main.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn color_modi(col : &mut Color){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camera_world` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn camera_world() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_color_main` is never used [INFO] [stdout] --> src/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn test_color_main(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_modi` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn color_modi(col : &mut Color){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INFINITY` is never used [INFO] [stdout] --> src/rtweekend.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INFINITY: f64 = std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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 Color, 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 Color, 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:77 [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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_in` [INFO] [stdout] --> src/material.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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_in` [INFO] [stdout] --> src/material.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn scatter(&self,r_in : &Ray, rec: &HitRecord, attenuation: &mut Color, 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: `col` [INFO] [stdout] --> src/main.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | fn color_modi(col : &mut Color){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `camera_world` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn camera_world() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_color_main` is never used [INFO] [stdout] --> src/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn test_color_main(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_modi` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn color_modi(col : &mut Color){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INFINITY` is never used [INFO] [stdout] --> src/rtweekend.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INFINITY: f64 = std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.06s [INFO] running `Command { std: "docker" "inspect" "0aa80d690c2f4662f6af48f5f621bd4a36e121c47e14ebcf3caeb3b1b4b934a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa80d690c2f4662f6af48f5f621bd4a36e121c47e14ebcf3caeb3b1b4b934a0", kill_on_drop: false }` [INFO] [stdout] 0aa80d690c2f4662f6af48f5f621bd4a36e121c47e14ebcf3caeb3b1b4b934a0