[INFO] cloning repository https://github.com/patrickcsullivan/rtc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickcsullivan/rtc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87cc275ee3092d7765c06e7b72a5644a94b4858e [INFO] checking patrickcsullivan/rtc against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patrickcsullivan/rtc on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/patrickcsullivan/rtc [INFO] finished tweaking git repo https://github.com/patrickcsullivan/rtc [INFO] tweaked toml for git repo https://github.com/patrickcsullivan/rtc written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/patrickcsullivan/rtc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 467e4bfc9d22c9878eda32cb47a519771531e90e4510a77059ea1cbc78f9186d [INFO] running `Command { std: "docker" "start" "-a" "467e4bfc9d22c9878eda32cb47a519771531e90e4510a77059ea1cbc78f9186d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "467e4bfc9d22c9878eda32cb47a519771531e90e4510a77059ea1cbc78f9186d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467e4bfc9d22c9878eda32cb47a519771531e90e4510a77059ea1cbc78f9186d", kill_on_drop: false }` [INFO] [stdout] 467e4bfc9d22c9878eda32cb47a519771531e90e4510a77059ea1cbc78f9186d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ec70dff3984c9df39f420d4e680b4eeb5dc004b0f85ae92f72036b653faa51a [INFO] running `Command { std: "docker" "start" "-a" "4ec70dff3984c9df39f420d4e680b4eeb5dc004b0f85ae92f72036b653faa51a", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking glam v0.13.1 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking nom_stl v0.2.2 [INFO] [stderr] Checking bvh v0.5.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rtc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PerspectiveFov`, `Vector2` [INFO] [stdout] --> src/camera.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | Angle, InnerSpace, Matrix4, PerspectiveFov, Point2, Point3, Rad, Transform, Vector2, Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `Deg` [INFO] [stdout] --> src/camera.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | use cgmath::{Angle, Deg, Rad}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene` [INFO] [stdout] --> src/camera.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | scene, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseNum`, `InnerSpace` [INFO] [stdout] --> src/geometry/point.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{BaseNum, InnerSpace, Point2, Point3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interaction::SurfaceInteraction` [INFO] [stdout] --> src/light.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | color::RgbSpectrum, geometry::vector, interaction::SurfaceInteraction, material::Material, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `light::PointLight` [INFO] [stdout] --> src/primitive/aggregate.rs:70:58 [INFO] [stdout] | [INFO] [stdout] 70 | color::RgbSpectrum, geometry::matrix::identity4, light::PointLight, material::Material, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::ApproxEq` [INFO] [stdout] --> src/scene.rs:175:68 [INFO] [stdout] | [INFO] [stdout] 175 | primitive::PrimitiveAggregate, scene::Scene, shape::Shape, test::ApproxEq, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Transform`, `Vector3` [INFO] [stdout] --> src/scene.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | use cgmath::{Matrix4, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PerspectiveFov`, `Vector2` [INFO] [stdout] --> src/camera.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | Angle, InnerSpace, Matrix4, PerspectiveFov, Point2, Point3, Rad, Transform, Vector2, Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseNum`, `InnerSpace` [INFO] [stdout] --> src/geometry/point.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{BaseNum, InnerSpace, Point2, Point3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interaction::SurfaceInteraction` [INFO] [stdout] --> src/light.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | color::RgbSpectrum, geometry::vector, interaction::SurfaceInteraction, material::Material, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | let scene: Scene = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 32 | let sampler = MockSampler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | let scene: Scene = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 32 | let sampler = MockSampler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let scene: Scene = todo!(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let sampler = MockSampler; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let camera = todo!(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integrator` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let integrator = SampleIntegrator::new(sampler, camera); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integrator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/main.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | fn start_pixel(&mut self, pixel: cgmath::Point2) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn prepare_1d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn prepare_2d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/main.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn start_nth_sample(&mut self, sample_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/integrator.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(&self, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_error` [INFO] [stdout] --> src/shape/mesh/triangle.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let p_error = efloat::gamma(7) * Vector3::new(x_abs_sum, y_abs_sum, z_abs_sum); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_hit` [INFO] [stdout] --> src/shape/mesh/triangle.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let uv_hit = point::add_point2(vec![b0 * uv0, b1 * uv1, b2 * uv2]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let scene: Scene = todo!(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let sampler = MockSampler; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let camera = todo!(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integrator` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let integrator = SampleIntegrator::new(sampler, camera); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integrator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/main.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | fn start_pixel(&mut self, pixel: cgmath::Point2) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn prepare_1d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn prepare_2d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/main.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn start_nth_sample(&mut self, sample_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/integrator.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn render(&self, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_error` [INFO] [stdout] --> src/shape/mesh/triangle.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let p_error = efloat::gamma(7) * Vector3::new(x_abs_sum, y_abs_sum, z_abs_sum); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_hit` [INFO] [stdout] --> src/shape/mesh/triangle.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let uv_hit = point::add_point2(vec![b0 * uv0, b1 * uv1, b2 * uv2]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interaction` [INFO] [stdout] --> src/shape/mesh/triangle.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | if let Some((t, interaction)) = result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(film_point: Point2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/geometry/axis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/geometry/axis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_point2` [INFO] [stdout] --> src/geometry/baycentric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn into_point2( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_point3` [INFO] [stdout] --> src/geometry/baycentric.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn into_point3( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `face_forward` [INFO] [stdout] --> src/geometry/vector.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn face_forward(v1: Vector3, v2: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arbitrary_coordinate_system` [INFO] [stdout] --> src/geometry/vector.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn arbitrary_coordinate_system(v: Vector3) -> (Vector3, Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sampler` [INFO] [stdout] --> src/integrator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sampler: S, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/integrator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `under_point` [INFO] [stdout] --> src/interaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn under_point(&self) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InnerSamplerState` [INFO] [stdout] --> src/sampler/state.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InnerSamplerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler/state.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(samples_per_pixel: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `samples_per_pixel` [INFO] [stdout] --> src/sampler/state.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn samples_per_pixel(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_pixel` [INFO] [stdout] --> src/sampler/state.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn current_pixel(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_pixel_sample_index` [INFO] [stdout] --> src/sampler/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn current_pixel_sample_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_pixel` [INFO] [stdout] --> src/sampler/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn start_pixel(&mut self, pixel: Point2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_1d_array` [INFO] [stdout] --> src/sampler/state.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn prepare_1d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_2d_array` [INFO] [stdout] --> src/sampler/state.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_2d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_1d_vec` [INFO] [stdout] --> src/sampler/state.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_1d_vec(&mut self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_2d_vec` [INFO] [stdout] --> src/sampler/state.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_2d_vec(&mut self) -> Option<&Vec>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_next_sample` [INFO] [stdout] --> src/sampler/state.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn start_next_sample(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_nth_sample` [INFO] [stdout] --> src/sampler/state.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn start_nth_sample(&mut self, sample_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_current_sample_vecs_indices` [INFO] [stdout] --> src/sampler/state.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn reset_current_sample_vecs_indices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ray_intersection` [INFO] [stdout] --> src/scene.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ray_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_space_vertices` [INFO] [stdout] --> src/shape/mesh/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn object_space_vertices(&self) -> (Point3, Point3, Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_to_world` [INFO] [stdout] --> src/shape/mesh/triangle.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn object_to_world(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world_to_object` [INFO] [stdout] --> src/shape/mesh/triangle.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn world_to_object(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `does_ray_intersect` [INFO] [stdout] --> src/shape/mesh/triangle.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn does_ray_intersect(&self, ray: &Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/shape/mesh/triangle.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangle_partial_derivatives` [INFO] [stdout] --> src/shape/mesh/triangle.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn triangle_partial_derivatives( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tangents` [INFO] [stdout] --> src/shape/mesh/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tangents(mut self, tangents: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uvs` [INFO] [stdout] --> src/shape/mesh/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn uvs(mut self, uvs: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `triangle` [INFO] [stdout] --> src/shape/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn triangle(mesh: &'mtrx Mesh, index_in_mesh: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(film_point: Point2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/geometry/axis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/geometry/axis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `face_forward` [INFO] [stdout] --> src/geometry/vector.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn face_forward(v1: Vector3, v2: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arbitrary_coordinate_system` [INFO] [stdout] --> src/geometry/vector.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn arbitrary_coordinate_system(v: Vector3) -> (Vector3, Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sampler` [INFO] [stdout] --> src/integrator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sampler: S, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/integrator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `under_point` [INFO] [stdout] --> src/interaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn under_point(&self) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InnerSamplerState` [INFO] [stdout] --> src/sampler/state.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InnerSamplerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sampler/state.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(samples_per_pixel: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `samples_per_pixel` [INFO] [stdout] --> src/sampler/state.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn samples_per_pixel(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_pixel` [INFO] [stdout] --> src/sampler/state.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn current_pixel(&self) -> Point2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_pixel_sample_index` [INFO] [stdout] --> src/sampler/state.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn current_pixel_sample_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_pixel` [INFO] [stdout] --> src/sampler/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn start_pixel(&mut self, pixel: Point2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_1d_array` [INFO] [stdout] --> src/sampler/state.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn prepare_1d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_2d_array` [INFO] [stdout] --> src/sampler/state.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_2d_array(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_1d_vec` [INFO] [stdout] --> src/sampler/state.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_1d_vec(&mut self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_2d_vec` [INFO] [stdout] --> src/sampler/state.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_2d_vec(&mut self) -> Option<&Vec>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_next_sample` [INFO] [stdout] --> src/sampler/state.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn start_next_sample(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_nth_sample` [INFO] [stdout] --> src/sampler/state.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn start_nth_sample(&mut self, sample_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_current_sample_vecs_indices` [INFO] [stdout] --> src/sampler/state.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn reset_current_sample_vecs_indices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ray_intersection` [INFO] [stdout] --> src/scene.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ray_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_space_vertices` [INFO] [stdout] --> src/shape/mesh/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn object_space_vertices(&self) -> (Point3, Point3, Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_to_world` [INFO] [stdout] --> src/shape/mesh/triangle.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn object_to_world(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world_to_object` [INFO] [stdout] --> src/shape/mesh/triangle.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn world_to_object(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `does_ray_intersect` [INFO] [stdout] --> src/shape/mesh/triangle.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | fn does_ray_intersect(&self, ray: &Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/shape/mesh/triangle.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `triangle_partial_derivatives` [INFO] [stdout] --> src/shape/mesh/triangle.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn triangle_partial_derivatives( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tangents` [INFO] [stdout] --> src/shape/mesh/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tangents(mut self, tangents: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uvs` [INFO] [stdout] --> src/shape/mesh/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn uvs(mut self, uvs: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `triangle` [INFO] [stdout] --> src/shape/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn triangle(mesh: &'mtrx Mesh, index_in_mesh: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.47s [INFO] running `Command { std: "docker" "inspect" "4ec70dff3984c9df39f420d4e680b4eeb5dc004b0f85ae92f72036b653faa51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec70dff3984c9df39f420d4e680b4eeb5dc004b0f85ae92f72036b653faa51a", kill_on_drop: false }` [INFO] [stdout] 4ec70dff3984c9df39f420d4e680b4eeb5dc004b0f85ae92f72036b653faa51a