[INFO] cloning repository https://github.com/sema/rusty_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/sema/rusty_ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsema%2Frusty_ray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsema%2Frusty_ray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75658f0d31c468f644392ea0153666b61e2c2c12 [INFO] checking sema/rusty_ray_tracer against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsema%2Frusty_ray_tracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sema/rusty_ray_tracer [INFO] finished tweaking git repo https://github.com/sema/rusty_ray_tracer [INFO] tweaked toml for git repo https://github.com/sema/rusty_ray_tracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sema/rusty_ray_tracer on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sema/rusty_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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24c3488282fc280cf750c02374c8e2813441cef107d45b2fe9c0269ad8ee6534 [INFO] running `Command { std: "docker" "start" "-a" "24c3488282fc280cf750c02374c8e2813441cef107d45b2fe9c0269ad8ee6534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24c3488282fc280cf750c02374c8e2813441cef107d45b2fe9c0269ad8ee6534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c3488282fc280cf750c02374c8e2813441cef107d45b2fe9c0269ad8ee6534", kill_on_drop: false }` [INFO] [stdout] 24c3488282fc280cf750c02374c8e2813441cef107d45b2fe9c0269ad8ee6534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd4ec79dc9ee9a644790c9bf639b184a8effc84e3b02aaa5dbb3c6a095474d00 [INFO] running `Command { std: "docker" "start" "-a" "fd4ec79dc9ee9a644790c9bf639b184a8effc84e3b02aaa5dbb3c6a095474d00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking rand_core v0.9.3 [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.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rusty_ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vector.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if (p.length_squared() < 1.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - if (p.length_squared() < 1.0) { [INFO] [stdout] 170 + if p.length_squared() < 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if (choose_material < 0.8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - if (choose_material < 0.8) { [INFO] [stdout] 94 + if choose_material < 0.8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | } else if (choose_material < 0.95) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - } else if (choose_material < 0.95) { [INFO] [stdout] 100 + } else if choose_material < 0.95 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vector.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if (p.length_squared() < 1.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - if (p.length_squared() < 1.0) { [INFO] [stdout] 170 + if p.length_squared() < 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | if (choose_material < 0.8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - if (choose_material < 0.8) { [INFO] [stdout] 94 + if choose_material < 0.8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | } else if (choose_material < 0.95) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - } else if (choose_material < 0.95) { [INFO] [stdout] 100 + } else if choose_material < 0.95 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_on_hemisphere` is never used [INFO] [stdout] --> src/vector.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl VectorGen{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn generate_on_hemisphere(&mut self, sphere_normal: Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `universe`, `size`, and `surrounds` are never used [INFO] [stdout] --> src/math.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn empty() -> Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn universe() -> Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn surrounds(&self, v: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialCatalogue` is never constructed [INFO] [stdout] --> src/material.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct MaterialCatalogue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl MaterialCatalogue { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 110 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option; [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] 8 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option { [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] 43 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option where M: Material { [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] 77 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option> where M: Material { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_on_hemisphere` is never used [INFO] [stdout] --> src/vector.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl VectorGen{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn generate_on_hemisphere(&mut self, sphere_normal: Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `universe`, and `size` are never used [INFO] [stdout] --> src/math.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn empty() -> Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn universe() -> Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialCatalogue` is never constructed [INFO] [stdout] --> src/material.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct MaterialCatalogue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl MaterialCatalogue { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 110 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option; [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] 8 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option { [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] 43 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option where M: Material { [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] 77 | fn hit_by(&self, ray: Ray, t_bounds: Interval) -> Option> where M: Material { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "fd4ec79dc9ee9a644790c9bf639b184a8effc84e3b02aaa5dbb3c6a095474d00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4ec79dc9ee9a644790c9bf639b184a8effc84e3b02aaa5dbb3c6a095474d00", kill_on_drop: false }` [INFO] [stdout] fd4ec79dc9ee9a644790c9bf639b184a8effc84e3b02aaa5dbb3c6a095474d00