[INFO] cloning repository https://github.com/will-zegers/raytracer-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/will-zegers/raytracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d570a4c53f2bf7e31f7a73999ada0ffec704b215 [INFO] checking will-zegers/raytracer-challenge against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/will-zegers/raytracer-challenge on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/will-zegers/raytracer-challenge [INFO] finished tweaking git repo https://github.com/will-zegers/raytracer-challenge [INFO] tweaked toml for git repo https://github.com/will-zegers/raytracer-challenge written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/will-zegers/raytracer-challenge 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aa8fa2af46db7df6fd783bab223f74cdd85dda7e977fb30a31002d857879b5d [INFO] running `Command { std: "docker" "start" "-a" "2aa8fa2af46db7df6fd783bab223f74cdd85dda7e977fb30a31002d857879b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa8fa2af46db7df6fd783bab223f74cdd85dda7e977fb30a31002d857879b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa8fa2af46db7df6fd783bab223f74cdd85dda7e977fb30a31002d857879b5d", kill_on_drop: false }` [INFO] [stdout] 2aa8fa2af46db7df6fd783bab223f74cdd85dda7e977fb30a31002d857879b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1bced5f1d5f42d562d40b40f5d81308f1a8d174c82b29099cc109c0792408a6 [INFO] running `Command { std: "docker" "start" "-a" "b1bced5f1d5f42d562d40b40f5d81308f1a8d174c82b29099cc109c0792408a6", kill_on_drop: false }` [INFO] [stderr] Checking bdd-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read [INFO] [stdout] --> src/hit_record.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HitRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub t: f64, [INFO] [stdout] | ^ [INFO] [stdout] 15 | pub object: Rc, [INFO] [stdout] 16 | pub point: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub inside: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/light.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl PointLight { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_ambient`, `with_specular`, and `with_shininess` are never used [INFO] [stdout] --> src/material.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Material { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_ambient(mut self, ambient: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn with_specular(mut self, specular: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn with_shininess(mut self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_transform` are never used [INFO] [stdout] --> src/patterns/gradient.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Gradient { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(color_from: Color, color_to: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_transform` are never used [INFO] [stdout] --> src/patterns/ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ring { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(color1: Color, color2: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/patterns/solid.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `default`, `with_material`, `with_transform`, and `with_bounds` are never used [INFO] [stdout] --> src/shape/cone.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Cone { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_bounds(mut self, min: f64, max: f64, closed: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_material` and `set_transform` are never used [INFO] [stdout] --> src/shape/cube.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_material(&mut self, m: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_transform(&mut self, tf: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `default`, `with_material`, `with_transform`, and `with_bounds` are never used [INFO] [stdout] --> src/shape/cylinder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cylinder { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_bounds(mut self, min: f64, max: f64, closed: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_material`, and `with_transform` are never used [INFO] [stdout] --> src/shape/plane.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Plane { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(transform: Matrix, material: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_transform(mut self, t: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `glass` is never used [INFO] [stdout] --> src/shape/sphere.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn glass() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/world.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn add(&mut self, shape: Rc) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_ambient`, `with_specular`, and `with_shininess` are never used [INFO] [stdout] --> src/material.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Material { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_ambient(mut self, ambient: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn with_specular(mut self, specular: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn with_shininess(mut self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/patterns/gradient.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Gradient { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/patterns/ring.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ring { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/patterns/solid.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_transform` is never used [INFO] [stdout] --> src/patterns/test_pattern.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TestPattern { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_material`, and `with_transform` are never used [INFO] [stdout] --> src/shape/cone.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Cone { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_material` and `set_transform` are never used [INFO] [stdout] --> src/shape/cube.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_material(&mut self, m: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_transform(&mut self, tf: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_material`, and `with_transform` are never used [INFO] [stdout] --> src/shape/cylinder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Cylinder { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shape/plane.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(transform: Matrix, material: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "b1bced5f1d5f42d562d40b40f5d81308f1a8d174c82b29099cc109c0792408a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1bced5f1d5f42d562d40b40f5d81308f1a8d174c82b29099cc109c0792408a6", kill_on_drop: false }` [INFO] [stdout] b1bced5f1d5f42d562d40b40f5d81308f1a8d174c82b29099cc109c0792408a6