[INFO] cloning repository https://github.com/samuel-hawker/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samuel-hawker/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuel-hawker%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuel-hawker%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d05a35b663f4b13e89736f417703a5b9977a5d04 [INFO] checking samuel-hawker/raytracer against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuel-hawker%2Fraytracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/samuel-hawker/raytracer [INFO] finished tweaking git repo https://github.com/samuel-hawker/raytracer [INFO] tweaked toml for git repo https://github.com/samuel-hawker/raytracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/samuel-hawker/raytracer on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/samuel-hawker/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad8d05ba44377d0af8784f73b1bf5d14ef71cf39536c4bc30f134c9b2d660bcf [INFO] running `Command { std: "docker" "start" "-a" "ad8d05ba44377d0af8784f73b1bf5d14ef71cf39536c4bc30f134c9b2d660bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad8d05ba44377d0af8784f73b1bf5d14ef71cf39536c4bc30f134c9b2d660bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8d05ba44377d0af8784f73b1bf5d14ef71cf39536c4bc30f134c9b2d660bcf", kill_on_drop: false }` [INFO] [stdout] ad8d05ba44377d0af8784f73b1bf5d14ef71cf39536c4bc30f134c9b2d660bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6fc88ae8b02edaff9b14b235f30469a503d0edc1b117dd5707548402e678efa [INFO] running `Command { std: "docker" "start" "-a" "b6fc88ae8b02edaff9b14b235f30469a503d0edc1b117dd5707548402e678efa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | fn write_color(out: &std::io::Stdout, pixel_color: &color, samples_per_pixel: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | fn write_color(out: &std::io::Stdout, pixel_color: &color, samples_per_pixel: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/main.rs:545:23 [INFO] [stdout] | [INFO] [stdout] 545 | fn scatter(&self, ray_in: &Ray, record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cross` and `random` are never used [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | fn cross(&self, v: &Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zeros` is never used [INFO] [stdout] --> src/main.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 277 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 278 | fn zeros() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `face_normal` are never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 354 | impl<'a> HitRecord<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn face_normal(ray: &Ray, outward_normal: Vec3) -> (Vec3, bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/main.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 447 | impl<'a> HittableList<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 451 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pi` is never used [INFO] [stdout] --> src/main.rs:626:7 [INFO] [stdout] | [INFO] [stdout] 626 | const pi: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/main.rs:629:4 [INFO] [stdout] | [INFO] [stdout] 629 | fn degrees_to_radians(degrees: degrees) -> radians { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 385 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 405 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 460 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/main.rs:545:23 [INFO] [stdout] | [INFO] [stdout] 545 | fn scatter(&self, ray_in: &Ray, record: &HitRecord) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `infinity` should have an upper case name [INFO] [stdout] --> src/main.rs:625:7 [INFO] [stdout] | [INFO] [stdout] 625 | const infinity: f64 = std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 625 - const infinity: f64 = std::f64::INFINITY; [INFO] [stdout] 625 + const INFINITY: f64 = std::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pi` should have an upper case name [INFO] [stdout] --> src/main.rs:626:7 [INFO] [stdout] | [INFO] [stdout] 626 | const pi: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 626 - const pi: f64 = std::f64::consts::PI; [INFO] [stdout] 626 + const PI: f64 = std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cross` and `random` are never used [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | fn cross(&self, v: &Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zeros` is never used [INFO] [stdout] --> src/main.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 277 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 278 | fn zeros() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `face_normal` are never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 354 | impl<'a> HitRecord<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn face_normal(ray: &Ray, outward_normal: Vec3) -> (Vec3, bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/main.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 447 | impl<'a> HittableList<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 451 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pi` is never used [INFO] [stdout] --> src/main.rs:626:7 [INFO] [stdout] | [INFO] [stdout] 626 | const pi: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/main.rs:629:4 [INFO] [stdout] | [INFO] [stdout] 629 | fn degrees_to_radians(degrees: degrees) -> radians { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 385 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 405 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 460 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 460 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `infinity` should have an upper case name [INFO] [stdout] --> src/main.rs:625:7 [INFO] [stdout] | [INFO] [stdout] 625 | const infinity: f64 = std::f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 625 - const infinity: f64 = std::f64::INFINITY; [INFO] [stdout] 625 + const INFINITY: f64 = std::f64::INFINITY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pi` should have an upper case name [INFO] [stdout] --> src/main.rs:626:7 [INFO] [stdout] | [INFO] [stdout] 626 | const pi: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 626 - const pi: f64 = std::f64::consts::PI; [INFO] [stdout] 626 + const PI: f64 = std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "b6fc88ae8b02edaff9b14b235f30469a503d0edc1b117dd5707548402e678efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6fc88ae8b02edaff9b14b235f30469a503d0edc1b117dd5707548402e678efa", kill_on_drop: false }` [INFO] [stdout] b6fc88ae8b02edaff9b14b235f30469a503d0edc1b117dd5707548402e678efa