[INFO] cloning repository https://github.com/whenyd/rt_one_weekend_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whenyd/rt_one_weekend_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhenyd%2Frt_one_weekend_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhenyd%2Frt_one_weekend_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849fdc534d8af6ee449da878027425dc48a3ff47 [INFO] checking whenyd/rt_one_weekend_in_rust against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhenyd%2Frt_one_weekend_in_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/whenyd/rt_one_weekend_in_rust [INFO] finished tweaking git repo https://github.com/whenyd/rt_one_weekend_in_rust [INFO] tweaked toml for git repo https://github.com/whenyd/rt_one_weekend_in_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/whenyd/rt_one_weekend_in_rust on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/whenyd/rt_one_weekend_in_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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4441a3aa3881f64de24d730e2c613dffc5e84a8069fe5ae2d4c02784c15dd73a [INFO] running `Command { std: "docker" "start" "-a" "4441a3aa3881f64de24d730e2c613dffc5e84a8069fe5ae2d4c02784c15dd73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4441a3aa3881f64de24d730e2c613dffc5e84a8069fe5ae2d4c02784c15dd73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4441a3aa3881f64de24d730e2c613dffc5e84a8069fe5ae2d4c02784c15dd73a", kill_on_drop: false }` [INFO] [stdout] 4441a3aa3881f64de24d730e2c613dffc5e84a8069fe5ae2d4c02784c15dd73a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e38537d722a7ca506475d1f37a758efc8f7638feb9c3fe523b8eb39016111d8 [INFO] running `Command { std: "docker" "start" "-a" "0e38537d722a7ca506475d1f37a758efc8f7638feb9c3fe523b8eb39016111d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [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 rt_in_one_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::Hittable` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::Hittable` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut direction: Vec3; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut sphere_material: Rc; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn random_on_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | fn new(object: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `contains` are never used [INFO] [stdout] --> src/interval.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/interval.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const EMPTY: Interval = Interval { min: INFINITY, max: -INFINITY }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIVERSE` is never used [INFO] [stdout] --> src/interval.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const UNIVERSE: Interval = Interval { min: -INFINITY, max: INFINITY }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut direction: Vec3; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut sphere_material: Rc; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn random_on_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | fn new(object: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `contains` are never used [INFO] [stdout] --> src/interval.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/interval.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const EMPTY: Interval = Interval { min: INFINITY, max: -INFINITY }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIVERSE` is never used [INFO] [stdout] --> src/interval.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const UNIVERSE: Interval = Interval { min: -INFINITY, max: INFINITY }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "0e38537d722a7ca506475d1f37a758efc8f7638feb9c3fe523b8eb39016111d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e38537d722a7ca506475d1f37a758efc8f7638feb9c3fe523b8eb39016111d8", kill_on_drop: false }` [INFO] [stdout] 0e38537d722a7ca506475d1f37a758efc8f7638feb9c3fe523b8eb39016111d8