[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuggy213%2Frust-raytracing" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buggy213/rust-raytracing on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded obj v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24941551d3cc46c97266f79cec6a58fec80dafcfe440331a1b0230181c2d7f1f [INFO] running `Command { std: "docker" "start" "-a" "24941551d3cc46c97266f79cec6a58fec80dafcfe440331a1b0230181c2d7f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24941551d3cc46c97266f79cec6a58fec80dafcfe440331a1b0230181c2d7f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24941551d3cc46c97266f79cec6a58fec80dafcfe440331a1b0230181c2d7f1f", kill_on_drop: false }` [INFO] [stdout] 24941551d3cc46c97266f79cec6a58fec80dafcfe440331a1b0230181c2d7f1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7569c4ab96f81a4cf6b305218a502dab71ff05c9ede5f9c2054fe3c3381fc745 [INFO] running `Command { std: "docker" "start" "-a" "7569c4ab96f81a4cf6b305218a502dab71ff05c9ede5f9c2054fe3c3381fc745", 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] Compiling syn v1.0.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking obj v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [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: `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: 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: 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] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2((), ()); [INFO] [stdout] | ~~ ~~ [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] = note: `UV` has a derived impl for the trait `Clone`, 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] 5 | pub struct UV(()); [INFO] [stdout] | ~~ [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] 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] 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] [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: `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] = note: `Vec2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vec2((), ()); [INFO] [stdout] | ~~ ~~ [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] = note: `UV` has a derived impl for the trait `Clone`, 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] 5 | pub struct UV(()); [INFO] [stdout] | ~~ [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] 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] 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 30.06s [INFO] running `Command { std: "docker" "inspect" "7569c4ab96f81a4cf6b305218a502dab71ff05c9ede5f9c2054fe3c3381fc745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7569c4ab96f81a4cf6b305218a502dab71ff05c9ede5f9c2054fe3c3381fc745", kill_on_drop: false }` [INFO] [stdout] 7569c4ab96f81a4cf6b305218a502dab71ff05c9ede5f9c2054fe3c3381fc745