[INFO] cloning repository https://github.com/evopen/pbrt-v3-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evopen/pbrt-v3-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fpbrt-v3-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fpbrt-v3-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c764bbdf93402173ee4fa630e4b78ab06d3df6b [INFO] testing evopen/pbrt-v3-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fpbrt-v3-rs" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evopen/pbrt-v3-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/evopen/pbrt-v3-rs [INFO] finished tweaking git repo https://github.com/evopen/pbrt-v3-rs [INFO] tweaked toml for git repo https://github.com/evopen/pbrt-v3-rs written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/evopen/pbrt-v3-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 clap v3.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 836aeeeff7767a9505995e6694808c05e0d754b8a0ca48d6c49f4ffab135af0f [INFO] running `Command { std: "docker" "start" "-a" "836aeeeff7767a9505995e6694808c05e0d754b8a0ca48d6c49f4ffab135af0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "836aeeeff7767a9505995e6694808c05e0d754b8a0ca48d6c49f4ffab135af0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836aeeeff7767a9505995e6694808c05e0d754b8a0ca48d6c49f4ffab135af0f", kill_on_drop: false }` [INFO] [stdout] 836aeeeff7767a9505995e6694808c05e0d754b8a0ca48d6c49f4ffab135af0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cca6de7afba02c4287a90ae77173261500382e4ddfc44dd6eb1d41bcf17beb0b [INFO] running `Command { std: "docker" "start" "-a" "cca6de7afba02c4287a90ae77173261500382e4ddfc44dd6eb1d41bcf17beb0b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling clap v3.0.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling pbrt-v3-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArgGroup`, `ValueHint` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Arg, ArgGroup, ValueHint}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::interaction::SurfaceInteraction` [INFO] [stdout] --> src/core/transform.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::interaction::SurfaceInteraction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/core/transform.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, Mul}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/core/api.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pbrt_init(option: &Options) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/core/geometry/mod.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | fn neg(self) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 1502 | self.neg() [INFO] [stdout] | ---------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/interaction.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new( [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: `is_surface_interaction` [INFO] [stdout] --> src/core/interaction.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_surface_interaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/core/interaction.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | n: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdu` [INFO] [stdout] --> src/core/interaction.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dpdu: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdv` [INFO] [stdout] --> src/core/interaction.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dpdv: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndu` [INFO] [stdout] --> src/core/interaction.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dndu: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndv` [INFO] [stdout] --> src/core/interaction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dndv: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interaction` [INFO] [stdout] --> src/core/interaction.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | interaction: Interaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uv` [INFO] [stdout] --> src/core/interaction.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | uv: Point2f, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdu` [INFO] [stdout] --> src/core/interaction.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | dpdu: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdv` [INFO] [stdout] --> src/core/interaction.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | dpdv: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndu` [INFO] [stdout] --> src/core/interaction.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | dndu: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndv` [INFO] [stdout] --> src/core/interaction.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | dndv: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shading` [INFO] [stdout] --> src/core/interaction.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | shading: Shading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shape` [INFO] [stdout] --> src/core/interaction.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | shape: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/interaction.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_shading_geometry` [INFO] [stdout] --> src/core/interaction.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/core/transform.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_identity` [INFO] [stdout] --> src/core/transform.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_identity(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/core/transform.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn determinant(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_identity` [INFO] [stdout] --> src/core/transform.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_identity(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matrix` [INFO] [stdout] --> src/core/transform.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn matrix(&self) -> &Matrix4x4 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse_matrix` [INFO] [stdout] --> src/core/transform.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn inverse_matrix(&self) -> &Matrix4x4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/transform.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn new(m: &Matrix4x4, m_inv: &Matrix4x4) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/core/transform.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_translate` [INFO] [stdout] --> src/core/transform.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn from_translate(delta: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_scale` [INFO] [stdout] --> src/core/transform.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn from_scale(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_x` [INFO] [stdout] --> src/core/transform.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn from_rotate_x(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_y` [INFO] [stdout] --> src/core/transform.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn from_rotate_y(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_z` [INFO] [stdout] --> src/core/transform.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn from_rotate_z(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate` [INFO] [stdout] --> src/core/transform.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn from_rotate(theta: f32, axis: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_at` [INFO] [stdout] --> src/core/transform.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn look_at(pos: &Point3f, look_at: &Point3f, world_up: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_point` [INFO] [stdout] --> src/core/transform.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn transform_point(&self, p: &Point3f) -> Point3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_vector` [INFO] [stdout] --> src/core/transform.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn transform_vector(&self, v: &Vector3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_normal` [INFO] [stdout] --> src/core/transform.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn transform_normal(&self, n: &Normal3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_ray` [INFO] [stdout] --> src/core/transform.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn transform_ray(&self, r: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_bounds` [INFO] [stdout] --> src/core/transform.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn transform_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/bounds.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(p1: Point2f, p2: Point2f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/bounds.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(p1: Point3f, p2: Point3f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `corner` [INFO] [stdout] --> src/core/geometry/bounds.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn corner(&self, corner: usize) -> Point3f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diagonal` [INFO] [stdout] --> src/core/geometry/bounds.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn diagonal(&self) -> Vector3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_point` [INFO] [stdout] --> src/core/geometry/bounds.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn union_point(&self, p: &Point3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_bounds` [INFO] [stdout] --> src/core/geometry/bounds.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn union_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/core/geometry/bounds.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn intersect(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `overlap` [INFO] [stdout] --> src/core/geometry/bounds.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn overlap(&self, b: &Bounds3f) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inside` [INFO] [stdout] --> src/core/geometry/bounds.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn inside(&self, p: &Point3f) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/core/geometry/bounds.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `volume` [INFO] [stdout] --> src/core/geometry/bounds.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximum_extent` [INFO] [stdout] --> src/core/geometry/bounds.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn maximum_extent(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/core/geometry/ray.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn at(&self, t: f32) -> Point3f { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/ray.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_square` [INFO] [stdout] --> src/core/geometry/mod.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn length_square(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/core/geometry/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/core/geometry/mod.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn dot(&self, rhs: &Vector2f) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:632:16 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_square` [INFO] [stdout] --> src/core/geometry/mod.rs:1121:16 [INFO] [stdout] | [INFO] [stdout] 1121 | pub fn length_square(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/core/geometry/mod.rs:1125:16 [INFO] [stdout] | [INFO] [stdout] 1125 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/core/geometry/mod.rs:1129:16 [INFO] [stdout] | [INFO] [stdout] 1129 | pub fn dot(&self, rhs: &Point2f) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "cca6de7afba02c4287a90ae77173261500382e4ddfc44dd6eb1d41bcf17beb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca6de7afba02c4287a90ae77173261500382e4ddfc44dd6eb1d41bcf17beb0b", kill_on_drop: false }` [INFO] [stdout] cca6de7afba02c4287a90ae77173261500382e4ddfc44dd6eb1d41bcf17beb0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b084a20bfd3ad38cd5ce032e52e25cbd2fbea6cefbf1f3d334a472e61ec0b2ed [INFO] running `Command { std: "docker" "start" "-a" "b084a20bfd3ad38cd5ce032e52e25cbd2fbea6cefbf1f3d334a472e61ec0b2ed", kill_on_drop: false }` [INFO] [stderr] Compiling pbrt-v3-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArgGroup`, `ValueHint` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Arg, ArgGroup, ValueHint}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::interaction::SurfaceInteraction` [INFO] [stdout] --> src/core/transform.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::interaction::SurfaceInteraction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/core/transform.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, Mul}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/core/api.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn pbrt_init(option: &Options) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/core/geometry/mod.rs:1501:9 [INFO] [stdout] | [INFO] [stdout] 1501 | fn neg(self) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 1502 | self.neg() [INFO] [stdout] | ---------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/interaction.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new( [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: `is_surface_interaction` [INFO] [stdout] --> src/core/interaction.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_surface_interaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/core/interaction.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | n: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdu` [INFO] [stdout] --> src/core/interaction.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dpdu: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdv` [INFO] [stdout] --> src/core/interaction.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | dpdv: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndu` [INFO] [stdout] --> src/core/interaction.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | dndu: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndv` [INFO] [stdout] --> src/core/interaction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dndv: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Default)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interaction` [INFO] [stdout] --> src/core/interaction.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | interaction: Interaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uv` [INFO] [stdout] --> src/core/interaction.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | uv: Point2f, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdu` [INFO] [stdout] --> src/core/interaction.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | dpdu: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dpdv` [INFO] [stdout] --> src/core/interaction.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | dpdv: Vector3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndu` [INFO] [stdout] --> src/core/interaction.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | dndu: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dndv` [INFO] [stdout] --> src/core/interaction.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | dndv: Normal3f, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shading` [INFO] [stdout] --> src/core/interaction.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | shading: Shading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shape` [INFO] [stdout] --> src/core/interaction.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | shape: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/core/interaction.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/interaction.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_shading_geometry` [INFO] [stdout] --> src/core/interaction.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/core/transform.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_identity` [INFO] [stdout] --> src/core/transform.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn is_identity(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_identity` [INFO] [stdout] --> src/core/transform.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_identity(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matrix` [INFO] [stdout] --> src/core/transform.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn matrix(&self) -> &Matrix4x4 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse_matrix` [INFO] [stdout] --> src/core/transform.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn inverse_matrix(&self) -> &Matrix4x4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/transform.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn new(m: &Matrix4x4, m_inv: &Matrix4x4) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/core/transform.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_translate` [INFO] [stdout] --> src/core/transform.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn from_translate(delta: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_scale` [INFO] [stdout] --> src/core/transform.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn from_scale(x: f32, y: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_x` [INFO] [stdout] --> src/core/transform.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn from_rotate_x(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_y` [INFO] [stdout] --> src/core/transform.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn from_rotate_y(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate_z` [INFO] [stdout] --> src/core/transform.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn from_rotate_z(theta: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rotate` [INFO] [stdout] --> src/core/transform.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn from_rotate(theta: f32, axis: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_at` [INFO] [stdout] --> src/core/transform.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn look_at(pos: &Point3f, look_at: &Point3f, world_up: &Vector3f) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_point` [INFO] [stdout] --> src/core/transform.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn transform_point(&self, p: &Point3f) -> Point3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_vector` [INFO] [stdout] --> src/core/transform.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn transform_vector(&self, v: &Vector3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_normal` [INFO] [stdout] --> src/core/transform.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn transform_normal(&self, n: &Normal3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_ray` [INFO] [stdout] --> src/core/transform.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn transform_ray(&self, r: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_bounds` [INFO] [stdout] --> src/core/transform.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn transform_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/bounds.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(p1: Point2f, p2: Point2f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/bounds.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(p1: Point3f, p2: Point3f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `corner` [INFO] [stdout] --> src/core/geometry/bounds.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn corner(&self, corner: usize) -> Point3f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diagonal` [INFO] [stdout] --> src/core/geometry/bounds.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn diagonal(&self) -> Vector3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_point` [INFO] [stdout] --> src/core/geometry/bounds.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn union_point(&self, p: &Point3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_bounds` [INFO] [stdout] --> src/core/geometry/bounds.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn union_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/core/geometry/bounds.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn intersect(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `overlap` [INFO] [stdout] --> src/core/geometry/bounds.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn overlap(&self, b: &Bounds3f) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inside` [INFO] [stdout] --> src/core/geometry/bounds.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn inside(&self, p: &Point3f) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/core/geometry/bounds.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `volume` [INFO] [stdout] --> src/core/geometry/bounds.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximum_extent` [INFO] [stdout] --> src/core/geometry/bounds.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn maximum_extent(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/core/geometry/ray.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn at(&self, t: f32) -> Point3f { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/ray.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_square` [INFO] [stdout] --> src/core/geometry/mod.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn length_square(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/core/geometry/mod.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/core/geometry/mod.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn dot(&self, rhs: &Vector2f) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/geometry/mod.rs:632:16 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_square` [INFO] [stdout] --> src/core/geometry/mod.rs:1121:16 [INFO] [stdout] | [INFO] [stdout] 1121 | pub fn length_square(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/core/geometry/mod.rs:1125:16 [INFO] [stdout] | [INFO] [stdout] 1125 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/core/geometry/mod.rs:1129:16 [INFO] [stdout] | [INFO] [stdout] 1129 | pub fn dot(&self, rhs: &Point2f) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b084a20bfd3ad38cd5ce032e52e25cbd2fbea6cefbf1f3d334a472e61ec0b2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b084a20bfd3ad38cd5ce032e52e25cbd2fbea6cefbf1f3d334a472e61ec0b2ed", kill_on_drop: false }` [INFO] [stdout] b084a20bfd3ad38cd5ce032e52e25cbd2fbea6cefbf1f3d334a472e61ec0b2ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e557649c33b53e3aa9f201e125ddb62f172b098425ab6fe2fc88d763369dd337 [INFO] running `Command { std: "docker" "start" "-a" "e557649c33b53e3aa9f201e125ddb62f172b098425ab6fe2fc88d763369dd337", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `ArgGroup`, `ValueHint` [INFO] [stderr] --> src/main.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{Arg, ArgGroup, ValueHint}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::interaction::SurfaceInteraction` [INFO] [stderr] --> src/core/transform.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::core::interaction::SurfaceInteraction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Index` [INFO] [stderr] --> src/core/transform.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ops::{Index, Mul}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `option` [INFO] [stderr] --> src/core/api.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn pbrt_init(option: &Options) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function cannot return without recursing [INFO] [stderr] --> src/core/geometry/mod.rs:1501:9 [INFO] [stderr] | [INFO] [stderr] 1501 | fn neg(self) -> Self::Output { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stderr] 1502 | self.neg() [INFO] [stderr] | ---------- recursive call site [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stderr] = help: a `loop` may express intention better if this is on purpose [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/interaction.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_surface_interaction` [INFO] [stderr] --> src/core/interaction.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn is_surface_interaction(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `n` [INFO] [stderr] --> src/core/interaction.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | n: Normal3f, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dpdu` [INFO] [stderr] --> src/core/interaction.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | dpdu: Vector3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dpdv` [INFO] [stderr] --> src/core/interaction.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | dpdv: Vector3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dndu` [INFO] [stderr] --> src/core/interaction.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | dndu: Normal3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dndv` [INFO] [stderr] --> src/core/interaction.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | dndv: Normal3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Shading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone, Default)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interaction` [INFO] [stderr] --> src/core/interaction.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | interaction: Interaction, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `uv` [INFO] [stderr] --> src/core/interaction.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | uv: Point2f, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dpdu` [INFO] [stderr] --> src/core/interaction.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | dpdu: Vector3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dpdv` [INFO] [stderr] --> src/core/interaction.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | dpdv: Vector3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dndu` [INFO] [stderr] --> src/core/interaction.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | dndu: Normal3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dndv` [INFO] [stderr] --> src/core/interaction.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | dndv: Normal3f, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `shading` [INFO] [stderr] --> src/core/interaction.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | shading: Shading, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `shape` [INFO] [stderr] --> src/core/interaction.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | shape: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SurfaceInteraction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/core/interaction.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/interaction.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_shading_geometry` [INFO] [stderr] --> src/core/interaction.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn set_shading_geometry( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transpose` [INFO] [stderr] --> src/core/transform.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn transpose(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_identity` [INFO] [stderr] --> src/core/transform.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn is_identity(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_identity` [INFO] [stderr] --> src/core/transform.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn is_identity(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `matrix` [INFO] [stderr] --> src/core/transform.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn matrix(&self) -> &Matrix4x4 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inverse_matrix` [INFO] [stderr] --> src/core/transform.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn inverse_matrix(&self) -> &Matrix4x4 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/transform.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn new(m: &Matrix4x4, m_inv: &Matrix4x4) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transpose` [INFO] [stderr] --> src/core/transform.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn transpose(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_translate` [INFO] [stderr] --> src/core/transform.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn from_translate(delta: &Vector3f) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_scale` [INFO] [stderr] --> src/core/transform.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn from_scale(x: f32, y: f32, z: f32) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_rotate_x` [INFO] [stderr] --> src/core/transform.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | pub fn from_rotate_x(theta: f32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_rotate_y` [INFO] [stderr] --> src/core/transform.rs:209:12 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn from_rotate_y(theta: f32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_rotate_z` [INFO] [stderr] --> src/core/transform.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn from_rotate_z(theta: f32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_rotate` [INFO] [stderr] --> src/core/transform.rs:233:12 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn from_rotate(theta: f32, axis: &Vector3f) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_at` [INFO] [stderr] --> src/core/transform.rs:257:12 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn look_at(pos: &Point3f, look_at: &Point3f, world_up: &Vector3f) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transform_point` [INFO] [stderr] --> src/core/transform.rs:284:12 [INFO] [stderr] | [INFO] [stderr] 284 | pub fn transform_point(&self, p: &Point3f) -> Point3f { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transform_vector` [INFO] [stderr] --> src/core/transform.rs:297:12 [INFO] [stderr] | [INFO] [stderr] 297 | pub fn transform_vector(&self, v: &Vector3f) -> Vector3f { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transform_normal` [INFO] [stderr] --> src/core/transform.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn transform_normal(&self, n: &Normal3f) -> Vector3f { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transform_ray` [INFO] [stderr] --> src/core/transform.rs:315:12 [INFO] [stderr] | [INFO] [stderr] 315 | pub fn transform_ray(&self, r: &Ray) -> Ray { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `transform_bounds` [INFO] [stderr] --> src/core/transform.rs:322:12 [INFO] [stderr] | [INFO] [stderr] 322 | pub fn transform_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/bounds.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn new(p1: Point2f, p2: Point2f) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/bounds.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(p1: Point3f, p2: Point3f) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `corner` [INFO] [stderr] --> src/core/geometry/bounds.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn corner(&self, corner: usize) -> Point3f { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `diagonal` [INFO] [stderr] --> src/core/geometry/bounds.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn diagonal(&self) -> Vector3f { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `union_point` [INFO] [stderr] --> src/core/geometry/bounds.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn union_point(&self, p: &Point3f) -> Bounds3f { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `union_bounds` [INFO] [stderr] --> src/core/geometry/bounds.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn union_bounds(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `intersect` [INFO] [stderr] --> src/core/geometry/bounds.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn intersect(&self, b: &Bounds3f) -> Bounds3f { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `overlap` [INFO] [stderr] --> src/core/geometry/bounds.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn overlap(&self, b: &Bounds3f) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inside` [INFO] [stderr] --> src/core/geometry/bounds.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn inside(&self, p: &Point3f) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `surface_area` [INFO] [stderr] --> src/core/geometry/bounds.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn surface_area(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `volume` [INFO] [stderr] --> src/core/geometry/bounds.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn volume(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `maximum_extent` [INFO] [stderr] --> src/core/geometry/bounds.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn maximum_extent(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/ray.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `at` [INFO] [stderr] --> src/core/geometry/ray.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn at(&self, t: f32) -> Point3f { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/ray.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn new(o: &Point3f, d: &Vector3f, t_max: f32, time: f32, medium: Rc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/mod.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new(x: f32, y: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length_square` [INFO] [stderr] --> src/core/geometry/mod.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn length_square(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length` [INFO] [stderr] --> src/core/geometry/mod.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn length(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/core/geometry/mod.rs:60:16 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn dot(&self, rhs: &Vector2f) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/mod.rs:483:16 [INFO] [stderr] | [INFO] [stderr] 483 | pub fn new(x: i32, y: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/core/geometry/mod.rs:632:16 [INFO] [stderr] | [INFO] [stderr] 632 | pub fn new(x: i32, y: i32, z: i32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length_square` [INFO] [stderr] --> src/core/geometry/mod.rs:1121:16 [INFO] [stderr] | [INFO] [stderr] 1121 | pub fn length_square(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `length` [INFO] [stderr] --> src/core/geometry/mod.rs:1125:16 [INFO] [stderr] | [INFO] [stderr] 1125 | pub fn length(&self) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/core/geometry/mod.rs:1129:16 [INFO] [stderr] | [INFO] [stderr] 1129 | pub fn dot(&self, rhs: &Point2f) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `pbrt-v3-rs` (bin "pbrt-v3-rs" test) generated 65 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pbrt_v3_rs-453929604e8dc17d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test core::transform::test_det ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e557649c33b53e3aa9f201e125ddb62f172b098425ab6fe2fc88d763369dd337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e557649c33b53e3aa9f201e125ddb62f172b098425ab6fe2fc88d763369dd337", kill_on_drop: false }` [INFO] [stdout] e557649c33b53e3aa9f201e125ddb62f172b098425ab6fe2fc88d763369dd337