[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/will-zegers/raytracer-challenge on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddfceb4dae90c07f07b605ae009b47c79f6123f8191f5d3981f71f2e58057a1a [INFO] running `Command { std: "docker" "start" "-a" "ddfceb4dae90c07f07b605ae009b47c79f6123f8191f5d3981f71f2e58057a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddfceb4dae90c07f07b605ae009b47c79f6123f8191f5d3981f71f2e58057a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddfceb4dae90c07f07b605ae009b47c79f6123f8191f5d3981f71f2e58057a1a", kill_on_drop: false }` [INFO] [stdout] ddfceb4dae90c07f07b605ae009b47c79f6123f8191f5d3981f71f2e58057a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc91ee1181d7bd2b388eb52306e7901125085b2ed4185d757d4564a1ef281ea [INFO] running `Command { std: "docker" "start" "-a" "bcc91ee1181d7bd2b388eb52306e7901125085b2ed4185d757d4564a1ef281ea", 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.59s [INFO] running `Command { std: "docker" "inspect" "bcc91ee1181d7bd2b388eb52306e7901125085b2ed4185d757d4564a1ef281ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc91ee1181d7bd2b388eb52306e7901125085b2ed4185d757d4564a1ef281ea", kill_on_drop: false }` [INFO] [stdout] bcc91ee1181d7bd2b388eb52306e7901125085b2ed4185d757d4564a1ef281ea [INFO] checking will-zegers/raytracer-challenge against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/will-zegers/raytracer-challenge on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-5-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b630d53e57e2c773cf0e0a35d6ee22460a461b19ba00063b3820729cfaa8ad4 [INFO] running `Command { std: "docker" "start" "-a" "9b630d53e57e2c773cf0e0a35d6ee22460a461b19ba00063b3820729cfaa8ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b630d53e57e2c773cf0e0a35d6ee22460a461b19ba00063b3820729cfaa8ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b630d53e57e2c773cf0e0a35d6ee22460a461b19ba00063b3820729cfaa8ad4", kill_on_drop: false }` [INFO] [stdout] 9b630d53e57e2c773cf0e0a35d6ee22460a461b19ba00063b3820729cfaa8ad4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39b9d4cd9959b1be8f667c2c3ae2542d51a3e5b0b9b1da5490417f6224669b2 [INFO] running `Command { std: "docker" "start" "-a" "e39b9d4cd9959b1be8f667c2c3ae2542d51a3e5b0b9b1da5490417f6224669b2", 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.56s [INFO] running `Command { std: "docker" "inspect" "e39b9d4cd9959b1be8f667c2c3ae2542d51a3e5b0b9b1da5490417f6224669b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39b9d4cd9959b1be8f667c2c3ae2542d51a3e5b0b9b1da5490417f6224669b2", kill_on_drop: false }` [INFO] [stdout] e39b9d4cd9959b1be8f667c2c3ae2542d51a3e5b0b9b1da5490417f6224669b2