[INFO] cloning repository https://github.com/fredrikln/the-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/fredrikln/the-raytracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 731e9e48fc675afe77d1b9d2d63aaf76fed006ef [INFO] checking fredrikln/the-raytracer-challenge against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikln/the-raytracer-challenge on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fredrikln/the-raytracer-challenge [INFO] finished tweaking git repo https://github.com/fredrikln/the-raytracer-challenge [INFO] tweaked toml for git repo https://github.com/fredrikln/the-raytracer-challenge written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fredrikln/the-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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking fredrikln/the-raytracer-challenge against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredrikln/the-raytracer-challenge on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fredrikln/the-raytracer-challenge [INFO] finished tweaking git repo https://github.com/fredrikln/the-raytracer-challenge [INFO] tweaked toml for git repo https://github.com/fredrikln/the-raytracer-challenge written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fredrikln/the-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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9368c042435748784fef3c7221d5d7f671691468ee778eb17575ddf9bdecaf5d [INFO] running `Command { std: "docker" "start" "-a" "9368c042435748784fef3c7221d5d7f671691468ee778eb17575ddf9bdecaf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9368c042435748784fef3c7221d5d7f671691468ee778eb17575ddf9bdecaf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9368c042435748784fef3c7221d5d7f671691468ee778eb17575ddf9bdecaf5d", kill_on_drop: false }` [INFO] [stdout] 9368c042435748784fef3c7221d5d7f671691468ee778eb17575ddf9bdecaf5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96bd160f92c31f2fdb32ded0e58e51b5f9f83118c9d74615a8c8f4dfe1769bb7 [INFO] running `Command { std: "docker" "start" "-a" "96bd160f92c31f2fdb32ded0e58e51b5f9f83118c9d74615a8c8f4dfe1769bb7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/cube.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/intersection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/plane.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/plane.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/sphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/sphere.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector::Vector` [INFO] [stdout] --> src/world.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/cube.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/intersection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/plane.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/plane.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matrix::Matrix` [INFO] [stdout] --> src/plane.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/plane.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::canvas::Color` [INFO] [stdout] --> src/plane.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::canvas::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/plane.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::object::{Object, Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/ray.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::intersection::Intersection` [INFO] [stdout] --> src/sphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::intersection::Intersection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/sphere.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::object::{Object,Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/sphere.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | use crate::object::{Object, Intersectable}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector::Vector` [INFO] [stdout] --> src/world.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/plane.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn normal(&self, p: Point) -> Vector { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/camera.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | let image = c.render(w); [INFO] [stdout] | ^^^^^^--- two arguments of type `bool` and `u8` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/camera.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn render(self, w: World, antialias: bool, max_steps: u8) -> Canvas { [INFO] [stdout] | ^^^^^^ -------- --------------- ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 379 | let image = c.render(w, /* bool */, /* u8 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | let mut object_intersections = object.intersect(r); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light1` [INFO] [stdout] --> src/main.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | let light1 = PointLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light2` [INFO] [stdout] --> src/main.rs:260:7 [INFO] [stdout] | [INFO] [stdout] 260 | let light2 = PointLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light3` [INFO] [stdout] --> src/main.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | let light3 = PointLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light4` [INFO] [stdout] --> src/main.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | let light4 = PointLight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/canvas.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 86 | impl Canvas { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_pixel(&self, x: u32, y: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/cube.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 67 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lighting` is never used [INFO] [stdout] --> src/material.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl Material { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn lighting(&self, light: PointLight, position: Point, eye_vector: Vector, normal: Vector, in_shadow: bool) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cofactor`, `determinant`, and `shear` are never used [INFO] [stdout] --> src/matrix.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn shear(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/pattern.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl StripedPattern { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn default() -> StripedPattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/pattern.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 58 | impl GradientPattern { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn default() -> GradientPattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/plane.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 47 | impl Plane { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/sphere.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 58 | impl Sphere { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_transform(&mut self, transform: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/world.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl World { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 22 | pub fn new() -> World { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn default() -> World { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96bd160f92c31f2fdb32ded0e58e51b5f9f83118c9d74615a8c8f4dfe1769bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bd160f92c31f2fdb32ded0e58e51b5f9f83118c9d74615a8c8f4dfe1769bb7", kill_on_drop: false }` [INFO] [stdout] 96bd160f92c31f2fdb32ded0e58e51b5f9f83118c9d74615a8c8f4dfe1769bb7