[INFO] cloning repository https://github.com/josephch405/rust-raytrace-challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josephch405/rust-raytrace-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 576f04c33d37ea9910c307498b3be01a68becbf3 [INFO] checking josephch405/rust-raytrace-challenge against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephch405%2Frust-raytrace-challenge" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/josephch405/rust-raytrace-challenge on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/josephch405/rust-raytrace-challenge [INFO] finished tweaking git repo https://github.com/josephch405/rust-raytrace-challenge [INFO] tweaked toml for git repo https://github.com/josephch405/rust-raytrace-challenge written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/josephch405/rust-raytrace-challenge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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 indicatif v0.16.2 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] c18ea304d5821ce13aae5992fdf14a6976d201b96c9e9317cb394e3a238a0ba9 [INFO] running `Command { std: "docker" "start" "-a" "c18ea304d5821ce13aae5992fdf14a6976d201b96c9e9317cb394e3a238a0ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18ea304d5821ce13aae5992fdf14a6976d201b96c9e9317cb394e3a238a0ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18ea304d5821ce13aae5992fdf14a6976d201b96c9e9317cb394e3a238a0ba9", kill_on_drop: false }` [INFO] [stdout] c18ea304d5821ce13aae5992fdf14a6976d201b96c9e9317cb394e3a238a0ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3314f3630b02756706240fbfbe2bd1e4ec07f05f2971f36ad87a8152df5ae0b0 [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" "3314f3630b02756706240fbfbe2bd1e4ec07f05f2971f36ad87a8152df5ae0b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/canvas.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get(&self, w: u64, h: u64) -> 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: `add` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/color.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply_color` [INFO] [stdout] --> src/color.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn multiply_color(&self, c: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `I4` [INFO] [stdout] --> src/matrix.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / const I4: Matrix4 = [ [INFO] [stdout] 17 | | [1., 0., 0., 0.], [INFO] [stdout] 18 | | [0., 1., 0., 0.], [INFO] [stdout] 19 | | [0., 0., 1., 0.], [INFO] [stdout] 20 | | [0., 0., 0., 1.], [INFO] [stdout] 21 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mm` [INFO] [stdout] --> src/matrix.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn mm(m1: Matrix4, m2: Matrix4) -> Matrix4 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `t` [INFO] [stdout] --> src/matrix.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn t(m: Matrix4) -> Matrix4 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `I` [INFO] [stdout] --> src/matrix.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub const I: Matrix4 = I4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invertible` [INFO] [stdout] --> src/matrix.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/matrix.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn eq(a: Matrix4, b: Matrix4) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scale` [INFO] [stdout] --> src/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn scale(x: f32, y: f32, z: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_x` [INFO] [stdout] --> src/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn rotate_x(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_y` [INFO] [stdout] --> src/matrix.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn rotate_y(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_z` [INFO] [stdout] --> src/matrix.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn rotate_z(rad: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shear` [INFO] [stdout] --> src/matrix.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn shear(x_y: f32, x_z: f32, y_x: f32, y_z: f32, z_x: f32, z_y: f32) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chain` [INFO] [stdout] --> src/matrix.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn chain(ms: Vec) -> Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `position` [INFO] [stdout] --> src/ray.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn position(&self, time: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sphere_unit` [INFO] [stdout] --> src/shapes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sphere_unit() -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hit` [INFO] [stdout] --> src/shapes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn hit(intersections: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/tuple.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn add(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/tuple.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/tuple.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn multiply(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/tuple.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/tuple.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn cross(&self, other: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&self, other: Color) -> 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: `subtract` [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn subtract(&self, other: Color) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/color.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn multiply(&self, k: f32) -> Color { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invertible` [INFO] [stdout] --> src/matrix.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn invertible(m: Matrix4) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/tuple.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn negate(&self) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `divide` [INFO] [stdout] --> src/tuple.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn divide(&self, k: f32) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.69s [INFO] running `Command { std: "docker" "inspect" "3314f3630b02756706240fbfbe2bd1e4ec07f05f2971f36ad87a8152df5ae0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3314f3630b02756706240fbfbe2bd1e4ec07f05f2971f36ad87a8152df5ae0b0", kill_on_drop: false }` [INFO] [stdout] 3314f3630b02756706240fbfbe2bd1e4ec07f05f2971f36ad87a8152df5ae0b0