[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-zegers%2Fraytracer-challenge" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/will-zegers/raytracer-challenge on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 214d7ff14d26577a369d88b24026149ed335256c9aeda9b36ec192a47c0b3dbd [INFO] running `Command { std: "docker" "start" "-a" "214d7ff14d26577a369d88b24026149ed335256c9aeda9b36ec192a47c0b3dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "214d7ff14d26577a369d88b24026149ed335256c9aeda9b36ec192a47c0b3dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214d7ff14d26577a369d88b24026149ed335256c9aeda9b36ec192a47c0b3dbd", kill_on_drop: false }` [INFO] [stdout] 214d7ff14d26577a369d88b24026149ed335256c9aeda9b36ec192a47c0b3dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ca92b11cabe724ad5530b000ddcfdbb3112f05e4f8952ea0835d4c76342a33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17ca92b11cabe724ad5530b000ddcfdbb3112f05e4f8952ea0835d4c76342a33", kill_on_drop: false }` [INFO] [stderr] Checking bdd-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/light.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/material.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_ambient` [INFO] [stdout] --> src/material.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn with_ambient(mut self, ambient: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_specular` [INFO] [stdout] --> src/material.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn with_specular(mut self, specular: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_shininess` [INFO] [stdout] --> src/material.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn with_shininess(mut self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/patterns/gradient.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(color_from: Color, color_to: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/gradient.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/patterns/ring.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(color1: Color, color2: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/ring.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/solid.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/cone.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/shape/cone.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_material` [INFO] [stdout] --> src/shape/cone.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/shape/cone.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bounds` [INFO] [stdout] --> src/shape/cone.rs:61:12 [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: associated function is never used: `set_material` [INFO] [stdout] --> src/shape/cube.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_material(&mut self, m: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/shape/cube.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_transform(&mut self, tf: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/cylinder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/shape/cylinder.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_material` [INFO] [stdout] --> src/shape/cylinder.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/shape/cylinder.rs:54:12 [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 is never used: `with_bounds` [INFO] [stdout] --> src/shape/cylinder.rs:63:12 [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 function is never used: `new` [INFO] [stdout] --> src/shape/plane.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(transform: Matrix, material: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_material` [INFO] [stdout] --> src/shape/plane.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/shape/plane.rs:40:12 [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 is never used: `glass` [INFO] [stdout] --> src/shape/sphere.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn glass() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/world.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add(&mut self, shape: Rc) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_ambient` [INFO] [stdout] --> src/material.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn with_ambient(mut self, ambient: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_specular` [INFO] [stdout] --> src/material.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn with_specular(mut self, specular: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_shininess` [INFO] [stdout] --> src/material.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn with_shininess(mut self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/gradient.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/ring.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/solid.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/patterns/test_pattern.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/cone.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_material` [INFO] [stdout] --> src/shape/cone.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/shape/cone.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn with_transform(mut self, tf: Matrix) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_material` [INFO] [stdout] --> src/shape/cube.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_material(&mut self, m: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/shape/cube.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn set_transform(&mut self, tf: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/cylinder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(material: Material, tf: Matrix, bounds: (f64, f64), closed: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_material` [INFO] [stdout] --> src/shape/cylinder.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn with_material(mut self, m: Material) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transform` [INFO] [stdout] --> src/shape/cylinder.rs:54:12 [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 is never used: `new` [INFO] [stdout] --> src/shape/plane.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(transform: Matrix, material: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "17ca92b11cabe724ad5530b000ddcfdbb3112f05e4f8952ea0835d4c76342a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ca92b11cabe724ad5530b000ddcfdbb3112f05e4f8952ea0835d4c76342a33", kill_on_drop: false }` [INFO] [stdout] 17ca92b11cabe724ad5530b000ddcfdbb3112f05e4f8952ea0835d4c76342a33