[INFO] cloning repository https://github.com/hey-ewan/rt-in-a-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hey-ewan/rt-in-a-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-ewan%2Frt-in-a-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-ewan%2Frt-in-a-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 649effd0e578fd5d2ade2f7195c5d49522e4eb40 [INFO] checking hey-ewan/rt-in-a-weekend against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhey-ewan%2Frt-in-a-weekend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hey-ewan/rt-in-a-weekend [INFO] finished tweaking git repo https://github.com/hey-ewan/rt-in-a-weekend [INFO] tweaked toml for git repo https://github.com/hey-ewan/rt-in-a-weekend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hey-ewan/rt-in-a-weekend on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hey-ewan/rt-in-a-weekend 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5de1893e930ce4671fafa7cb2ccdf9c13c6664af6894dc17514caf087b4790ff [INFO] running `Command { std: "docker" "start" "-a" "5de1893e930ce4671fafa7cb2ccdf9c13c6664af6894dc17514caf087b4790ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5de1893e930ce4671fafa7cb2ccdf9c13c6664af6894dc17514caf087b4790ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de1893e930ce4671fafa7cb2ccdf9c13c6664af6894dc17514caf087b4790ff", kill_on_drop: false }` [INFO] [stdout] 5de1893e930ce4671fafa7cb2ccdf9c13c6664af6894dc17514caf087b4790ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de0b83cbe372516233ac09a1ab9f612da99a86dd6208f12fcc7f61e6f763e852 [INFO] running `Command { std: "docker" "start" "-a" "de0b83cbe372516233ac09a1ab9f612da99a86dd6208f12fcc7f61e6f763e852", kill_on_drop: false }` [INFO] [stderr] Checking rt-in-a-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (t > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (t > 0.0) { [INFO] [stdout] 29 + if t > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (t > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (t > 0.0) { [INFO] [stdout] 29 + if t > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecord` is never constructed [INFO] [stdout] --> src/hittable.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_face_normal` is never used [INFO] [stdout] --> src/hittable.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HitRecord { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn set_face_normal(r: &Ray, outward_normal: &Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hittable` is never used [INFO] [stdout] --> src/hittable.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Hittable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(center: Point3, radius: f64) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecord` is never constructed [INFO] [stdout] --> src/hittable.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_face_normal` is never used [INFO] [stdout] --> src/hittable.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HitRecord { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn set_face_normal(r: &Ray, outward_normal: &Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hittable` is never used [INFO] [stdout] --> src/hittable.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Hittable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> src/sphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(center: Point3, radius: f64) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "de0b83cbe372516233ac09a1ab9f612da99a86dd6208f12fcc7f61e6f763e852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0b83cbe372516233ac09a1ab9f612da99a86dd6208f12fcc7f61e6f763e852", kill_on_drop: false }` [INFO] [stdout] de0b83cbe372516233ac09a1ab9f612da99a86dd6208f12fcc7f61e6f763e852