[INFO] cloning repository https://github.com/buggy213/rust-raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buggy213/rust-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 741bda9bcb60f5ffd843c3f8de1dae916b11644d [INFO] checking buggy213/rust-raytracing/741bda9bcb60f5ffd843c3f8de1dae916b11644d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buggy213/rust-raytracing on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/buggy213/rust-raytracing [INFO] finished tweaking git repo https://github.com/buggy213/rust-raytracing [INFO] tweaked toml for git repo https://github.com/buggy213/rust-raytracing written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/buggy213/rust-raytracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flume v0.10.13 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98df941f53ed5c807e8c90f20b57ddcda181b46961886650f695ea41188d83f6 [INFO] running `Command { std: "docker" "start" "-a" "98df941f53ed5c807e8c90f20b57ddcda181b46961886650f695ea41188d83f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98df941f53ed5c807e8c90f20b57ddcda181b46961886650f695ea41188d83f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98df941f53ed5c807e8c90f20b57ddcda181b46961886650f695ea41188d83f6", kill_on_drop: false }` [INFO] [stdout] 98df941f53ed5c807e8c90f20b57ddcda181b46961886650f695ea41188d83f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a65d69f92fbee2698baab38faa99bc3113410fd2a1bde686bfa034fe94668f96 [INFO] running `Command { std: "docker" "start" "-a" "a65d69f92fbee2698baab38faa99bc3113410fd2a1bde686bfa034fe94668f96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking obj v0.10.2 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.13 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/hittable.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | t: f64, ray: Ray, material: &'a Material, u: f64, v: f64) -> HitRecord<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_checker` [INFO] [stdout] --> src/preset_scenes.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let top_checker = CheckerTexture::make_solid_checkered(Vec3(0.2, 0.3, 0.1), Vec3(0.9, 0.9, 0.9)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_perlin` [INFO] [stdout] --> src/preset_scenes.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let top_perlin = NoiseTexture::new(4.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittables/hittable.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | t: f64, ray: Ray, material: &'a Material, u: f64, v: f64) -> HitRecord<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interactive` [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | interactive, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `interactive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_euler` is never used [INFO] [stdout] --> src/types/transform.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl TransformData { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rotate_euler(&self, rotation: Vec3) -> TransformData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types/vec2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2(pub f64, pub f64); [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types/vec2.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UV(pub Vec2); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UV` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(center: Point, radius: f64, material: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/moving_sphere.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(start_position: Point, end_position: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_coordinates` is never read [INFO] [stdout] --> src/hittables/mesh.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MeshTri { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub texture_coordinates: [UV; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(ObjError), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamp` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Clamp { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 13 | fn clamp(&self, min: T, max: T) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/camera.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn default() -> Camera { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let P = Vec3::cross(r.direction, e2); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let T = r.origin - v0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let Q = Vec3::cross(T, e1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_checker` [INFO] [stdout] --> src/preset_scenes.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | let top_checker = CheckerTexture::make_solid_checkered(Vec3(0.2, 0.3, 0.1), Vec3(0.9, 0.9, 0.9)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_perlin` [INFO] [stdout] --> src/preset_scenes.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let top_perlin = NoiseTexture::new(4.0); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_perlin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interactive` [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | interactive, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `interactive: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_euler` is never used [INFO] [stdout] --> src/types/transform.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl TransformData { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rotate_euler(&self, rotation: Vec3) -> TransformData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types/vec2.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2(pub f64, pub f64); [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types/vec2.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UV(pub Vec2); [INFO] [stdout] | -- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UV` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(center: Point, radius: f64, material: Material) -> Sphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittables/moving_sphere.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(start_position: Point, end_position: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_coordinates` is never read [INFO] [stdout] --> src/hittables/mesh.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MeshTri { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub texture_coordinates: [UV; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(ObjError), [INFO] [stdout] | ------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | MeshLoadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittables/mesh.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(MtlLibsLoadError), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MeshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | MaterialLoadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamp` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Clamp { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 13 | fn clamp(&self, min: T, max: T) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/camera.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Camera { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn default() -> Camera { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/scene.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scene` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let P = Vec3::cross(r.direction, e2); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let T = r.origin - v0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/hittables/tri.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let Q = Vec3::cross(T, e1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.10s [INFO] running `Command { std: "docker" "inspect" "a65d69f92fbee2698baab38faa99bc3113410fd2a1bde686bfa034fe94668f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65d69f92fbee2698baab38faa99bc3113410fd2a1bde686bfa034fe94668f96", kill_on_drop: false }` [INFO] [stdout] a65d69f92fbee2698baab38faa99bc3113410fd2a1bde686bfa034fe94668f96