[INFO] cloning repository https://github.com/AlcyZ/shindex-rust-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/AlcyZ/shindex-rust-tracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db399c72495e098a01cdcbe8d90fb4f926d02f62 [INFO] checking AlcyZ/shindex-rust-tracer-challenge against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlcyZ/shindex-rust-tracer-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/AlcyZ/shindex-rust-tracer-challenge [INFO] finished tweaking git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge [INFO] tweaked toml for git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AlcyZ/shindex-rust-tracer-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] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 6f5365c4f4065d25ec4215c06dd4c4cfc01fd559308388e33d64e893ce04000d [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" "6f5365c4f4065d25ec4215c06dd4c4cfc01fd559308388e33d64e893ce04000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f5365c4f4065d25ec4215c06dd4c4cfc01fd559308388e33d64e893ce04000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5365c4f4065d25ec4215c06dd4c4cfc01fd559308388e33d64e893ce04000d", kill_on_drop: false }` [INFO] [stdout] 6f5365c4f4065d25ec4215c06dd4c4cfc01fd559308388e33d64e893ce04000d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 1ca044d24538b6e35197d3bd7c8608a5862dee7d1076b589370e39162472ac0e [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" "1ca044d24538b6e35197d3bd7c8608a5862dee7d1076b589370e39162472ac0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking shindex-rust-tracer-challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rotation_y` [INFO] [stdout] --> src/samples/cylinders_sample.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::transformation::{rotation_y, scaling, translation}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `water_material` [INFO] [stdout] --> src/samples/cylinders_sample.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | date_ymd_his, glass_material, mirror_material, save, water_material, SceneCamera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/samples/cylinders_sample.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rotation_y` [INFO] [stdout] --> src/samples/cylinders_sample.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::transformation::{rotation_y, scaling, translation}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `water_material` [INFO] [stdout] --> src/samples/cylinders_sample.rs:8:58 [INFO] [stdout] | [INFO] [stdout] 8 | date_ymd_his, glass_material, mirror_material, save, water_material, SceneCamera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/samples/cylinders_sample.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/primitives/cone.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | fn local_normal_at(&self, point: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/math/matrix.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | fn get(&self, row: usize, column: usize) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotation_x` [INFO] [stdout] --> src/math/transformation.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn rotation_x(radians: f64) -> M4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotation_y` [INFO] [stdout] --> src/math/transformation.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn rotation_y(radians: f64) -> M4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotation_z` [INFO] [stdout] --> src/math/transformation.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn rotation_z(radians: f64) -> M4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shearing` [INFO] [stdout] --> src/math/transformation.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> M4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point` [INFO] [stdout] --> src/math/tuple.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_direction` [INFO] [stdout] --> src/math/tuple.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn is_direction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pattern/checker.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(a: Color, b: Color) -> CheckerPattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pattern/gradient.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(a: Color, b: Color) -> GradientPattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pattern/ring.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn new(a: Color, b: Color) -> RingPattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pattern/stripe.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn new(a: Color, b: Color) -> StripePattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/pattern/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn default() -> PatternProps { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_transform` [INFO] [stdout] --> src/pattern/mod.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn set_transform(&mut self, new: M4) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/primitives/cone.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new() -> Cone { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/primitives/cone.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/primitives/cylinder.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new() -> Cylinder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/primitives/plane.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new() -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_material` [INFO] [stdout] --> src/primitives/shape.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn set_material(&mut self, new: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pattern` [INFO] [stdout] --> src/primitives/shape.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn set_pattern(&mut self, new: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `glass` [INFO] [stdout] --> src/primitives/sphere.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn glass() -> Sphere { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `water_material` [INFO] [stdout] --> src/samples/utility.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(super) fn water_material(props: &mut ShapeProps) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fov` [INFO] [stdout] --> src/scene/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fov: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_color` [INFO] [stdout] --> src/scene/shading/material.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn get_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pattern` [INFO] [stdout] --> src/scene/shading/material.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) fn set_pattern(&mut self, new: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> src/scene/tracing/intersection.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub(crate) fn first(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last` [INFO] [stdout] --> src/scene/tracing/intersection.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | pub(crate) fn last(&self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/scene/tracing/intersection.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/scene/tracing/intersection.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) fn get(&self, index: usize) -> Option<&Intersection> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/primitives/cone.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | fn local_normal_at(&self, point: Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/primitives/cone.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `water_material` [INFO] [stdout] --> src/samples/utility.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(super) fn water_material(props: &mut ShapeProps) { [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 26.41s [INFO] running `Command { std: "docker" "inspect" "1ca044d24538b6e35197d3bd7c8608a5862dee7d1076b589370e39162472ac0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca044d24538b6e35197d3bd7c8608a5862dee7d1076b589370e39162472ac0e", kill_on_drop: false }` [INFO] [stdout] 1ca044d24538b6e35197d3bd7c8608a5862dee7d1076b589370e39162472ac0e