[INFO] cloning repository https://github.com/matejur/ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matejur/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatejur%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatejur%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e17101ece8fe227eba0eca18f4bf178fae8ddbae [INFO] checking matejur/ray_tracer against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatejur%2Fray_tracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matejur/ray_tracer [INFO] finished tweaking git repo https://github.com/matejur/ray_tracer [INFO] tweaked toml for git repo https://github.com/matejur/ray_tracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matejur/ray_tracer on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matejur/ray_tracer 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 641f0dd7b8978b46bf14fb253eb59f7a82ae502ef8ed98d127e2e933e2bb87f8 [INFO] running `Command { std: "docker" "start" "-a" "641f0dd7b8978b46bf14fb253eb59f7a82ae502ef8ed98d127e2e933e2bb87f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641f0dd7b8978b46bf14fb253eb59f7a82ae502ef8ed98d127e2e933e2bb87f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641f0dd7b8978b46bf14fb253eb59f7a82ae502ef8ed98d127e2e933e2bb87f8", kill_on_drop: false }` [INFO] [stdout] 641f0dd7b8978b46bf14fb253eb59f7a82ae502ef8ed98d127e2e933e2bb87f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d0d2dfc80478c0572b8f4486c7e0b02295c730cf74c895b686fdcc02d4c36a [INFO] running `Command { std: "docker" "start" "-a" "41d0d2dfc80478c0572b8f4486c7e0b02295c730cf74c895b686fdcc02d4c36a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/material.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `front_face: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> MaterialData { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/material.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `front_face: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:55:63 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | point, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | normal, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `normal: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> HittableList<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/utility.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/material.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `front_face: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> MaterialData { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: &'a impl Material) -> Sphere { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: &'a impl Material) -> Sphere<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/material.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `front_face: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:55:63 [INFO] [stdout] | [INFO] [stdout] 55 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/material.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^ help: try ignoring the field: `t: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material` [INFO] [stdout] --> src/material.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | if let HitRecord::Hit { point, t, normal, front_face, material } = record { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `material: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | point, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | normal, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `normal: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> HittableList<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/utility.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittable.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 37 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: &'a impl Material) -> Sphere { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: &'a impl Material) -> Sphere<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> HitRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "41d0d2dfc80478c0572b8f4486c7e0b02295c730cf74c895b686fdcc02d4c36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d0d2dfc80478c0572b8f4486c7e0b02295c730cf74c895b686fdcc02d4c36a", kill_on_drop: false }` [INFO] [stdout] 41d0d2dfc80478c0572b8f4486c7e0b02295c730cf74c895b686fdcc02d4c36a