[INFO] cloning repository https://github.com/kevinclancy/raytracing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevinclancy/raytracing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2Fraytracing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2Fraytracing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee7805259c7b31571bd939cb0cc28c432b9c5dcd [INFO] checking kevinclancy/raytracing-rust against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2Fraytracing-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kevinclancy/raytracing-rust [INFO] finished tweaking git repo https://github.com/kevinclancy/raytracing-rust [INFO] tweaked toml for git repo https://github.com/kevinclancy/raytracing-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevinclancy/raytracing-rust on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevinclancy/raytracing-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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f46df09e9fc04012804065160d07b95ba465506c72f84926c1cac4cebe6b0b8d [INFO] running `Command { std: "docker" "start" "-a" "f46df09e9fc04012804065160d07b95ba465506c72f84926c1cac4cebe6b0b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f46df09e9fc04012804065160d07b95ba465506c72f84926c1cac4cebe6b0b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f46df09e9fc04012804065160d07b95ba465506c72f84926c1cac4cebe6b0b8d", kill_on_drop: false }` [INFO] [stdout] f46df09e9fc04012804065160d07b95ba465506c72f84926c1cac4cebe6b0b8d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5951f85d4a0873d6f8c1990504923ccdfab688cd3d309849cbe7086de04cae [INFO] running `Command { std: "docker" "start" "-a" "0a5951f85d4a0873d6f8c1990504923ccdfab688cd3d309849cbe7086de04cae", kill_on_drop: false }` [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/color.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write_color(w: &mut (impl Write), pixel_color: &Color) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub fn write_color(w: &mut (impl Write), pixel_color: &Color) { [INFO] [stdout] 27 + pub fn write_color(w: &mut impl Write , pixel_color: &Color) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/sphere.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(self: &Sphere, r: &Ray, ray_t: Interval) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sphere.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (discriminant < 0.) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (discriminant < 0.) { [INFO] [stdout] 23 + if discriminant < 0. { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/color.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write_color(w: &mut (impl Write), pixel_color: &Color) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub fn write_color(w: &mut (impl Write), pixel_color: &Color) { [INFO] [stdout] 27 + pub fn write_color(w: &mut impl Write , pixel_color: &Color) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/sphere.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(self: &Sphere, r: &Ray, ray_t: Interval) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sphere.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if (discriminant < 0.) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (discriminant < 0.) { [INFO] [stdout] 23 + if discriminant < 0. { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hit_anything` is assigned to, but never used [INFO] [stdout] --> src/hittable_list.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_anything` is never read [INFO] [stdout] --> src/hittable_list.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | hit_anything = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hit_anything` is assigned to, but never used [INFO] [stdout] --> src/hittable_list.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (lib test) due to 1 previous error; 4 warnings emitted [INFO] [stdout] warning: value assigned to `hit_anything` is never read [INFO] [stdout] --> src/hittable_list.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | hit_anything = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a5951f85d4a0873d6f8c1990504923ccdfab688cd3d309849cbe7086de04cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5951f85d4a0873d6f8c1990504923ccdfab688cd3d309849cbe7086de04cae", kill_on_drop: false }` [INFO] [stdout] 0a5951f85d4a0873d6f8c1990504923ccdfab688cd3d309849cbe7086de04cae