[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-9/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15122d3867722d57d0e1ca6928ae43f14301afc01d4721d8080dccdba8a51e91 [INFO] running `Command { std: "docker" "start" "-a" "15122d3867722d57d0e1ca6928ae43f14301afc01d4721d8080dccdba8a51e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15122d3867722d57d0e1ca6928ae43f14301afc01d4721d8080dccdba8a51e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15122d3867722d57d0e1ca6928ae43f14301afc01d4721d8080dccdba8a51e91", kill_on_drop: false }` [INFO] [stdout] 15122d3867722d57d0e1ca6928ae43f14301afc01d4721d8080dccdba8a51e91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb74a3b0882844390c4655e50e1ba2cc5a30f9a67761ffe889dfa5286d181b36 [INFO] running `Command { std: "docker" "start" "-a" "fb74a3b0882844390c4655e50e1ba2cc5a30f9a67761ffe889dfa5286d181b36", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [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 num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking uuid v0.8.2 [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 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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/primitives/cone.rs (1 fix) [INFO] [stderr] Fixed src/samples/cylinders_sample.rs (3 fixes) [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.05s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking shindex-rust-tracer-challenge v0.1.0 (/tmp/fixit) [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: 28 warnings emitted [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "fb74a3b0882844390c4655e50e1ba2cc5a30f9a67761ffe889dfa5286d181b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb74a3b0882844390c4655e50e1ba2cc5a30f9a67761ffe889dfa5286d181b36", kill_on_drop: false }` [INFO] [stdout] fb74a3b0882844390c4655e50e1ba2cc5a30f9a67761ffe889dfa5286d181b36