[INFO] cloning repository https://github.com/Jks15063/RTIOW_Ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jks15063/RTIOW_Ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJks15063%2FRTIOW_Ray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJks15063%2FRTIOW_Ray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2096a4f237ca1289a2b6e1c849040c30da59d316 [INFO] testing Jks15063/RTIOW_Ray_tracer against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJks15063%2FRTIOW_Ray_tracer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Jks15063/RTIOW_Ray_tracer [INFO] finished tweaking git repo https://github.com/Jks15063/RTIOW_Ray_tracer [INFO] tweaked toml for git repo https://github.com/Jks15063/RTIOW_Ray_tracer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jks15063/RTIOW_Ray_tracer on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jks15063/RTIOW_Ray_tracer 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e [INFO] running `Command { std: "docker" "start" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling zune-jpeg v0.5.8 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tobj v4.0.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling rtiow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CheckerTexture` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::texture::{CheckerTexture, PerlinNoise}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hittable::Hittable` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CosinePdf` [INFO] [stdout] --> src/camera.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/sphere_importance.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samples_per_pixel`, `background`, `u`, `v`, and `w` are never read [INFO] [stdout] --> src/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | samples_per_pixel: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | background: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 29 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 30 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_square` is never used [INFO] [stdout] --> src/camera.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn sample_square() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_texture` is never used [INFO] [stdout] --> src/constant_medium.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn from_texture(boundary: Box, density: f64, tex: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `icd` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn icd(d: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdf` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn pdf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(tex: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_texture` is never used [INFO] [stdout] --> src/material.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn from_texture(tex: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/pi.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/sphere_importance.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn f(d: Vec3) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdf` is never used [INFO] [stdout] --> src/sphere_importance.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/sphere_importance.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/texture.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_colors` are never used [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn new(scale: f64, even: Box, odd: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_colors(scale: f64, c1: Color, c2: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `v1` and `v2` are never read [INFO] [stdout] --> src/triangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | v0: Point3, [INFO] [stdout] 11 | v1: Point3, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | v2: Point3, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn random_on_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/vec3.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/integrate_x_sq.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let N = 1_000_000; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrt_N` should have a snake case name [INFO] [stdout] --> src/pi.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let sqrt_N = 1000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sqrt_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Q: Point3, //corner point of quad [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/quad.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | D: f64, // plane equation constant [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(Q: Point3, u: Vec3, v: Vec3, mat: Box) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/quad.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let D = vec3::dot(normal, Q); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn set_bounding_box(Q: Point3, u: Vec3, v: Vec3) -> AABB { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/sphere_importance.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let N = 10_000_000; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | D: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/triangle.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let D = vec3::dot(normal, v0); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rtiow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CheckerTexture` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::texture::{CheckerTexture, PerlinNoise}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hittable::Hittable` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CosinePdf` [INFO] [stdout] --> src/camera.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/sphere_importance.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samples_per_pixel`, `background`, `u`, `v`, and `w` are never read [INFO] [stdout] --> src/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | samples_per_pixel: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | background: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 29 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 30 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_square` is never used [INFO] [stdout] --> src/camera.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn sample_square() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_texture` is never used [INFO] [stdout] --> src/constant_medium.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn from_texture(boundary: Box, density: f64, tex: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `icd` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn icd(d: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdf` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn pdf(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/integrate_x_sq.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(tex: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_texture` is never used [INFO] [stdout] --> src/material.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn from_texture(tex: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/pi.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/sphere_importance.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn f(d: Vec3) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdf` is never used [INFO] [stdout] --> src/sphere_importance.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/sphere_importance.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn calc() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> src/texture.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_colors` are never used [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn new(scale: f64, even: Box, odd: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_colors(scale: f64, c1: Color, c2: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `v1` and `v2` are never read [INFO] [stdout] --> src/triangle.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | v0: Point3, [INFO] [stdout] 11 | v1: Point3, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | v2: Point3, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn random_on_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/vec3.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/integrate_x_sq.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let N = 1_000_000; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrt_N` should have a snake case name [INFO] [stdout] --> src/pi.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let sqrt_N = 1000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `sqrt_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Q: Point3, //corner point of quad [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/quad.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | D: f64, // plane equation constant [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(Q: Point3, u: Vec3, v: Vec3, mat: Box) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/quad.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let D = vec3::dot(normal, Q); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/quad.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn set_bounding_box(Q: Point3, u: Vec3, v: Vec3) -> AABB { [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/sphere_importance.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let N = 10_000_000; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/triangle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | D: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/triangle.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let D = vec3::dot(normal, v0); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `CheckerTexture` [INFO] [stderr] --> src/main.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::texture::{CheckerTexture, PerlinNoise}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `hittable::Hittable` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use hittable::Hittable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CosinePdf` [INFO] [stderr] --> src/camera.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/sphere_importance.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `samples_per_pixel`, `background`, `u`, `v`, and `w` are never read [INFO] [stderr] --> src/camera.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Camera { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | samples_per_pixel: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | background: Color, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | u: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] 29 | v: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] 30 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `sample_square` is never used [INFO] [stderr] --> src/camera.rs:201:4 [INFO] [stderr] | [INFO] [stderr] 201 | fn sample_square() -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_texture` is never used [INFO] [stderr] --> src/constant_medium.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl ConstantMedium { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 19 | pub fn from_texture(boundary: Box, density: f64, tex: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/hittable_list.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl HittableList { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `icd` is never used [INFO] [stderr] --> src/integrate_x_sq.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn icd(d: f64) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pdf` is never used [INFO] [stderr] --> src/integrate_x_sq.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | fn pdf(x: f64) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calc` is never used [INFO] [stderr] --> src/integrate_x_sq.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn calc() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/material.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 143 | impl DiffuseLight { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 144 | pub fn new(tex: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_texture` is never used [INFO] [stderr] --> src/material.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 170 | impl Isotropic { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 178 | pub fn from_texture(tex: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calc` is never used [INFO] [stderr] --> src/pi.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn calc() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `f` is never used [INFO] [stderr] --> src/sphere_importance.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | fn f(d: Vec3) -> f64 { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function `pdf` is never used [INFO] [stderr] --> src/sphere_importance.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn pdf(d: Vec3) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calc` is never used [INFO] [stderr] --> src/sphere_importance.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn calc() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_rgb` is never used [INFO] [stderr] --> src/texture.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl SolidColor { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CheckerTexture` is never constructed [INFO] [stderr] --> src/texture.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct CheckerTexture { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `from_colors` are never used [INFO] [stderr] --> src/texture.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 37 | impl CheckerTexture { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 38 | pub fn new(scale: f64, even: Box, odd: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn from_colors(scale: f64, c1: Color, c2: Color) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `v1` and `v2` are never read [INFO] [stderr] --> src/triangle.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Triangle { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 10 | v0: Point3, [INFO] [stderr] 11 | v1: Point3, [INFO] [stderr] | ^^ [INFO] [stderr] 12 | v2: Point3, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_on_hemisphere` is never used [INFO] [stderr] --> src/vec3.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn random_on_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random` is never used [INFO] [stderr] --> src/vec3.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn random() -> Vec3 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/integrate_x_sq.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let N = 1_000_000; [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `sqrt_N` should have a snake case name [INFO] [stderr] --> src/pi.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let sqrt_N = 1000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `sqrt_n` [INFO] [stderr] [INFO] [stderr] warning: structure field `Q` should have a snake case name [INFO] [stderr] --> src/quad.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Q: Point3, //corner point of quad [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: structure field `D` should have a snake case name [INFO] [stderr] --> src/quad.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | D: f64, // plane equation constant [INFO] [stderr] | ^ help: convert the identifier to snake case: `d` [INFO] [stderr] [INFO] [stderr] warning: variable `Q` should have a snake case name [INFO] [stderr] --> src/quad.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(Q: Point3, u: Vec3, v: Vec3, mat: Box) -> Self { [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: variable `D` should have a snake case name [INFO] [stderr] --> src/quad.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let D = vec3::dot(normal, Q); [INFO] [stderr] | ^ help: convert the identifier to snake case: `d` [INFO] [stderr] [INFO] [stderr] warning: variable `Q` should have a snake case name [INFO] [stderr] --> src/quad.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | fn set_bounding_box(Q: Point3, u: Vec3, v: Vec3) -> AABB { [INFO] [stderr] | ^ help: convert the identifier to snake case: `q` [INFO] [stderr] [INFO] [stderr] warning: variable `N` should have a snake case name [INFO] [stderr] --> src/sphere_importance.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let N = 10_000_000; [INFO] [stderr] | ^ help: convert the identifier to snake case: `n` [INFO] [stderr] [INFO] [stderr] warning: structure field `D` should have a snake case name [INFO] [stderr] --> src/triangle.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | D: f64, [INFO] [stderr] | ^ help: convert the identifier to snake case: `d` [INFO] [stderr] [INFO] [stderr] warning: variable `D` should have a snake case name [INFO] [stderr] --> src/triangle.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let D = vec3::dot(normal, v0); [INFO] [stderr] | ^ help: convert the identifier to snake case: `d` [INFO] [stderr] [INFO] [stderr] warning: `rtiow` (bin "rtiow" test) generated 34 warnings (run `cargo fix --bin "rtiow" -p rtiow --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rtiow-1608015948bb0f25) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e", kill_on_drop: false }` [INFO] [stdout] bd39d6c85bc0e0c20533a5d2fcb26742406973f377c8c0a5d770eb3e428b867e