[INFO] cloning repository https://github.com/DarthStrom/rust-ray-tracer-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarthStrom/rust-ray-tracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarthStrom%2Frust-ray-tracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarthStrom%2Frust-ray-tracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3eef3ac26abab4021614deee3999d164bd536838 [INFO] checking DarthStrom/rust-ray-tracer-challenge against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarthStrom%2Frust-ray-tracer-challenge" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DarthStrom/rust-ray-tracer-challenge on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DarthStrom/rust-ray-tracer-challenge [INFO] finished tweaking git repo https://github.com/DarthStrom/rust-ray-tracer-challenge [INFO] tweaked toml for git repo https://github.com/DarthStrom/rust-ray-tracer-challenge written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/DarthStrom/rust-ray-tracer-challenge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf1228ddc58825547a484da1fcd0730b9c5b858f2b54b255f576e84d89a78ff1 [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" "bf1228ddc58825547a484da1fcd0730b9c5b858f2b54b255f576e84d89a78ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf1228ddc58825547a484da1fcd0730b9c5b858f2b54b255f576e84d89a78ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1228ddc58825547a484da1fcd0730b9c5b858f2b54b255f576e84d89a78ff1", kill_on_drop: false }` [INFO] [stdout] bf1228ddc58825547a484da1fcd0730b9c5b858f2b54b255f576e84d89a78ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69e5546bb79e7495e243ec4dac57cfd9cdf7c4c447c1bc6fb82aa2a56108ebb5 [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" "69e5546bb79e7495e243ec4dac57cfd9cdf7c4c447c1bc6fb82aa2a56108ebb5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking ray-tracer-challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `canvas::Canvas` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use canvas::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray::Ray` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ray::Ray; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canvas::Canvas` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use canvas::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray::Ray` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ray::Ray; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/canvas.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn pixel_at(&self, x: usize, y: usize) -> Color { [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: `position` [INFO] [stdout] --> src/light.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn position(self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intensity` [INFO] [stdout] --> src/light.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn intensity(self, r: f64, g: f64, b: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ambient` [INFO] [stdout] --> src/material.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ambient(self, ambient: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shininess` [INFO] [stdout] --> src/material.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn shininess(self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/ray/intersections.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/ray/intersections.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn append(&mut self, other: &mut Intersections<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t` [INFO] [stdout] --> src/ray/intersections.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | t: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inside` [INFO] [stdout] --> src/ray/intersections.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | inside: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/ray/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn origin(self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `direction` [INFO] [stdout] --> src/ray/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn direction(self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_source` [INFO] [stdout] --> src/world.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn light_source(self, light_source: PointLight) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object` [INFO] [stdout] --> src/world.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn object(self, object: Sphere) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ambient` [INFO] [stdout] --> src/material.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn ambient(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: `shininess` [INFO] [stdout] --> src/material.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn shininess(self, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append` [INFO] [stdout] --> src/ray/intersections.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn append(&mut self, other: &mut Intersections<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.69s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "69e5546bb79e7495e243ec4dac57cfd9cdf7c4c447c1bc6fb82aa2a56108ebb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e5546bb79e7495e243ec4dac57cfd9cdf7c4c447c1bc6fb82aa2a56108ebb5", kill_on_drop: false }` [INFO] [stdout] 69e5546bb79e7495e243ec4dac57cfd9cdf7c4c447c1bc6fb82aa2a56108ebb5