[INFO] cloning repository https://github.com/melvic-ybanez/eanray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melvic-ybanez/eanray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Feanray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Feanray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f494d33ccee8d92bd62fa77496e928b94bc00d8 [INFO] testing melvic-ybanez/eanray/1f494d33ccee8d92bd62fa77496e928b94bc00d8 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Feanray" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/melvic-ybanez/eanray [INFO] finished tweaking git repo https://github.com/melvic-ybanez/eanray [INFO] tweaked toml for git repo https://github.com/melvic-ybanez/eanray written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melvic-ybanez/eanray on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/melvic-ybanez/eanray 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e6710e4799fd231b5a623a53d50a5170f24d0e5a72bf2dbafe68940737bd2cb [INFO] running `Command { std: "docker" "start" "-a" "8e6710e4799fd231b5a623a53d50a5170f24d0e5a72bf2dbafe68940737bd2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6710e4799fd231b5a623a53d50a5170f24d0e5a72bf2dbafe68940737bd2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6710e4799fd231b5a623a53d50a5170f24d0e5a72bf2dbafe68940737bd2cb", kill_on_drop: false }` [INFO] [stdout] 8e6710e4799fd231b5a623a53d50a5170f24d0e5a72bf2dbafe68940737bd2cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2823bfacdcffcc992aac46facdf9d1b7bfc856f1f41e3a968990b9ddf358ec2 [INFO] running `Command { std: "docker" "start" "-a" "a2823bfacdcffcc992aac46facdf9d1b7bfc856f1f41e3a968990b9ddf358ec2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rgb v0.8.51 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling lua-src v548.1.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling zune-jpeg v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling which v7.0.3 [INFO] [stderr] Compiling luajit-src v210.6.1+f9140a6 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling mlua-sys v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling mlua v0.11.3 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling eanray v2025.9.0-SNAPSHOT (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LuaSerdeExt` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use mlua::{AnyUserData, Lua, LuaSerdeExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `define_with_transform` [INFO] [stdout] --> src/core/shapes/macros.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! define_with_transform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `define_with_transform` [INFO] [stdout] --> src/core/shapes/macros.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) use define_with_transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectLike` [INFO] [stdout] --> src/bindings/transforms.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::{AnyUserData, Lua, ObjectLike, Table, UserData, UserDataMethods}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/materials.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | lua.create_function(|lua, (_, texture): (Table, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/materials.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | lua.create_function(|lua, (_, albedo): (Table, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/shapes.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | |lua, (_, radius, height, material): (Table, Real, Real, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | |lua, (_, scale, c1, c2): (Table, Real, AnyUserData, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | lua.create_function(|lua, (_, filepath): (Table, String)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | lua.create_function(|lua, (_, scale, base_color): (Table, f64, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | methods.add_meta_method(MetaMethod::Sub, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yx` [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/math/matrix/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut this = Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/core/textures/perlin.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/core/textures/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/core/textures/mod.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/core/textures/mod.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `look_at` and `vup` are never read [INFO] [stdout] --> src/core/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | look_at: Point, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | vup: Vec3D, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/core/camera.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub(crate) struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 332 | aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `ideal_aspect_ratio` are never used [INFO] [stdout] --> src/core/camera.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub(crate) fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub(crate) fn ideal_aspect_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never read [INFO] [stdout] --> src/core/camera.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 370 | struct Viewport { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 371 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 373 | left_to_right: Vec3D, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 374 | top_to_bottom: Vec3D, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | upper_left: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Viewport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never used [INFO] [stdout] --> src/core/camera.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 381 | impl Viewport { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | pub(crate) fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub(crate) fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | pub(crate) fn left_to_right(&self) -> &Vec3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub(crate) fn top_to_bottom(&self) -> &Vec3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn upper_left(&self) -> &Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/core/math/mod.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn root(a: Real, b: Real, sqrt_d: Real) -> Real { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_on_hemisphere` is never used [INFO] [stdout] --> src/core/math/vector.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Vec3D { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn random_on_hemisphere(normal: &UnitVec3D) -> UnitVec3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_invertible` and `inverse_unsafe` are never used [INFO] [stdout] --> src/core/math/matrix/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Matrix { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn is_invertible(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn inverse_unsafe(&mut self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) fn fill(value: Real) -> Matrix { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_default` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn fill_default() -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_2df` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn from_2df(elems: [[Real; 4]; 4]) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_2di` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) fn from_2di(elems: [[i32; 4]; 4]) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `elems` and `w` are never used [INFO] [stdout] --> src/core/math/tuple.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tuple4 { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn elems(&self) -> &Elems { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn w(&self) -> Real { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `triangle` is never used [INFO] [stdout] --> src/core/shapes/planars.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Planar { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn triangle(q: Point, u: Vec3D, v: Vec3D, mat: Material) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fields_mut` is never used [INFO] [stdout] --> src/core/shapes/quadrics/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Quadric { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn fields_mut(&mut self) -> &mut HittableFields { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/shapes/quadrics/sphere.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn new(center: Point, radius: Real, mat: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> src/core/textures/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIAGNOSTICS_ENABLED` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn enable(flag: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_enabled` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn is_enabled() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable_all` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn enable_all(flag: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_aabb_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | define_metric!(AABB_HIT_ATTEMPT_COUNT); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_init_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_metric!(BVH_INIT_COUNT); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_metric!(BVH_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_miss_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | define_metric!(BVH_MISS_COUNT); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_object_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_metric!(OBJECT_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_left_node_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | define_metric!(LEFT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_right_node_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | define_metric!(RIGHT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/settings.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/settings.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl AppConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 27 | pub(crate) fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/bvh.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | mat: Mat<'a>, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> HitRecord { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 137 | ) -> Option { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/planars.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/plane.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/cone.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/cylinder.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/sphere.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/volume.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 22s [INFO] running `Command { std: "docker" "inspect" "a2823bfacdcffcc992aac46facdf9d1b7bfc856f1f41e3a968990b9ddf358ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2823bfacdcffcc992aac46facdf9d1b7bfc856f1f41e3a968990b9ddf358ec2", kill_on_drop: false }` [INFO] [stdout] a2823bfacdcffcc992aac46facdf9d1b7bfc856f1f41e3a968990b9ddf358ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13c1ff49f2740883a98472dc3572af3e1c4a07001e7049c7b6a99de4f136da04 [INFO] running `Command { std: "docker" "start" "-a" "13c1ff49f2740883a98472dc3572af3e1c4a07001e7049c7b6a99de4f136da04", kill_on_drop: false }` [INFO] [stderr] Compiling eanray v2025.9.0-SNAPSHOT (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LuaSerdeExt` [INFO] [stdout] --> src/main.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use mlua::{AnyUserData, Lua, LuaSerdeExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `define_with_transform` [INFO] [stdout] --> src/core/shapes/macros.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! define_with_transform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `define_with_transform` [INFO] [stdout] --> src/core/shapes/macros.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) use define_with_transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectLike` [INFO] [stdout] --> src/bindings/transforms.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::{AnyUserData, Lua, ObjectLike, Table, UserData, UserDataMethods}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/materials.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | lua.create_function(|lua, (_, texture): (Table, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/materials.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | lua.create_function(|lua, (_, albedo): (Table, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/shapes.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | |lua, (_, radius, height, material): (Table, Real, Real, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | |lua, (_, scale, c1, c2): (Table, Real, AnyUserData, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | lua.create_function(|lua, (_, filepath): (Table, String)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/textures.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | lua.create_function(|lua, (_, scale, base_color): (Table, f64, AnyUserData)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | methods.add_meta_method(MetaMethod::Sub, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/bindings/userdata.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yx` [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:85:44 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/math/matrix/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut this = Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/core/textures/perlin.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/core/textures/mod.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/core/textures/mod.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/core/textures/mod.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `look_at` and `vup` are never read [INFO] [stdout] --> src/core/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | look_at: Point, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | vup: Vec3D, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/core/camera.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub(crate) struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 332 | aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width` and `ideal_aspect_ratio` are never used [INFO] [stdout] --> src/core/camera.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub(crate) fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub(crate) fn ideal_aspect_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never read [INFO] [stdout] --> src/core/camera.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 370 | struct Viewport { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 371 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 373 | left_to_right: Vec3D, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 374 | top_to_bottom: Vec3D, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | upper_left: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Viewport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never used [INFO] [stdout] --> src/core/camera.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 381 | impl Viewport { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 406 | pub(crate) fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub(crate) fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | pub(crate) fn left_to_right(&self) -> &Vec3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub(crate) fn top_to_bottom(&self) -> &Vec3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn upper_left(&self) -> &Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/core/math/mod.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn root(a: Real, b: Real, sqrt_d: Real) -> Real { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_on_hemisphere` is never used [INFO] [stdout] --> src/core/math/vector.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Vec3D { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn random_on_hemisphere(normal: &UnitVec3D) -> UnitVec3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inverse_unsafe` is never used [INFO] [stdout] --> src/core/math/matrix/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn inverse_unsafe(&mut self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) fn fill(value: Real) -> Matrix { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_default` is never used [INFO] [stdout] --> src/core/math/matrix/matrix_4x4.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) fn fill_default() -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `elems` and `w` are never used [INFO] [stdout] --> src/core/math/tuple.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tuple4 { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn elems(&self) -> &Elems { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn w(&self) -> Real { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `triangle` is never used [INFO] [stdout] --> src/core/shapes/planars.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Planar { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn triangle(q: Point, u: Vec3D, v: Vec3D, mat: Material) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fields_mut` is never used [INFO] [stdout] --> src/core/shapes/quadrics/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Quadric { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn fields_mut(&mut self) -> &mut HittableFields { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/shapes/quadrics/sphere.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn new(center: Point, radius: Real, mat: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> src/core/textures/mod.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIAGNOSTICS_ENABLED` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn enable(flag: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_enabled` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn is_enabled() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable_all` is never used [INFO] [stdout] --> src/diagnostics/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn enable_all(flag: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_aabb_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | define_metric!(AABB_HIT_ATTEMPT_COUNT); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_init_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_metric!(BVH_INIT_COUNT); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_metric!(BVH_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bvh_miss_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | define_metric!(BVH_MISS_COUNT); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_object_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | define_metric!(OBJECT_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_left_node_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | define_metric!(LEFT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_right_node_hit_attempt_count` is never used [INFO] [stdout] --> src/diagnostics/macros.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn []() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/diagnostics/metrics.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | define_metric!(RIGHT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/settings.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/settings.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl AppConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 27 | pub(crate) fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/bvh.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | mat: Mat<'a>, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> HitRecord { [INFO] [stdout] | --------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 137 | ) -> Option { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/hittables.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/planars.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/plane.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/cone.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/cylinder.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/quadrics/sphere.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/shapes/volume.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "13c1ff49f2740883a98472dc3572af3e1c4a07001e7049c7b6a99de4f136da04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c1ff49f2740883a98472dc3572af3e1c4a07001e7049c7b6a99de4f136da04", kill_on_drop: false }` [INFO] [stdout] 13c1ff49f2740883a98472dc3572af3e1c4a07001e7049c7b6a99de4f136da04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10f67be221e5b04962c9b88c3283fe881c5ed6c324b2d10e8245e57088e88801 [INFO] running `Command { std: "docker" "start" "-a" "10f67be221e5b04962c9b88c3283fe881c5ed6c324b2d10e8245e57088e88801", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `LuaSerdeExt` [INFO] [stderr] --> src/main.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | use mlua::{AnyUserData, Lua, LuaSerdeExt}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `define_with_transform` [INFO] [stderr] --> src/core/shapes/macros.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | macro_rules! define_with_transform { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `define_with_transform` [INFO] [stderr] --> src/core/shapes/macros.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) use define_with_transform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ObjectLike` [INFO] [stderr] --> src/bindings/transforms.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use mlua::{AnyUserData, Lua, ObjectLike, Table, UserData, UserDataMethods}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/materials.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | lua.create_function(|lua, (_, texture): (Table, AnyUserData)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/materials.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | lua.create_function(|lua, (_, albedo): (Table, AnyUserData)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/shapes.rs:201:14 [INFO] [stderr] | [INFO] [stderr] 201 | |lua, (_, radius, height, material): (Table, Real, Real, AnyUserData)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/textures.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | |lua, (_, scale, c1, c2): (Table, Real, AnyUserData, AnyUserData)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/textures.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | lua.create_function(|lua, (_, filepath): (Table, String)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/textures.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | lua.create_function(|lua, (_, scale, base_color): (Table, f64, AnyUserData)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/userdata.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | methods.add_meta_method(MetaMethod::Sub, |lua, this, other: AnyUserData| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/userdata.rs:42:51 [INFO] [stderr] | [INFO] [stderr] 42 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lua` [INFO] [stderr] --> src/bindings/userdata.rs:63:47 [INFO] [stderr] | [INFO] [stderr] 63 | methods.add_meta_method(MetaMethod::Add, |lua, this, other: AnyUserData| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yx` [INFO] [stderr] --> src/core/math/matrix/matrix_4x4.rs:85:44 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_yx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/core/math/matrix/mod.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut this = Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/core/textures/perlin.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | for i in 0..depth { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/core/textures/mod.rs:106:50 [INFO] [stderr] | [INFO] [stderr] 106 | pub(crate) fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/core/textures/mod.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/core/textures/mod.rs:200:30 [INFO] [stderr] | [INFO] [stderr] 200 | fn value(&self, u: Real, v: Real, p: &Point) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: fields `look_at` and `vup` are never read [INFO] [stderr] --> src/core/camera.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct Camera { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | look_at: Point, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | vup: Vec3D, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `aspect_ratio` is never read [INFO] [stderr] --> src/core/camera.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 327 | pub(crate) struct Image { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 332 | aspect_ratio: f64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `width` and `ideal_aspect_ratio` are never used [INFO] [stderr] --> src/core/camera.rs:349:19 [INFO] [stderr] | [INFO] [stderr] 336 | impl Image { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 349 | pub(crate) fn width(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 353 | pub(crate) fn ideal_aspect_ratio(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never read [INFO] [stderr] --> src/core/camera.rs:371:5 [INFO] [stderr] | [INFO] [stderr] 370 | struct Viewport { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 371 | height: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 372 | width: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 373 | left_to_right: Vec3D, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 374 | top_to_bottom: Vec3D, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 377 | upper_left: Point, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Viewport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `height`, `width`, `left_to_right`, `top_to_bottom`, and `upper_left` are never used [INFO] [stderr] --> src/core/camera.rs:406:19 [INFO] [stderr] | [INFO] [stderr] 381 | impl Viewport { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 406 | pub(crate) fn height(&self) -> f64 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 410 | pub(crate) fn width(&self) -> f64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 414 | pub(crate) fn left_to_right(&self) -> &Vec3D { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 418 | pub(crate) fn top_to_bottom(&self) -> &Vec3D { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 430 | pub(crate) fn upper_left(&self) -> &Point { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `root` is never used [INFO] [stderr] --> src/core/math/mod.rs:88:15 [INFO] [stderr] | [INFO] [stderr] 88 | pub(crate) fn root(a: Real, b: Real, sqrt_d: Real) -> Real { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `random_on_hemisphere` is never used [INFO] [stderr] --> src/core/math/vector.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 74 | impl Vec3D { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 99 | pub(crate) fn random_on_hemisphere(normal: &UnitVec3D) -> UnitVec3D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `inverse_unsafe` is never used [INFO] [stderr] --> src/core/math/matrix/mod.rs:115:19 [INFO] [stderr] | [INFO] [stderr] 19 | impl Matrix { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 115 | pub(crate) fn inverse_unsafe(&mut self) -> Matrix { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `shearing` is never used [INFO] [stderr] --> src/core/math/matrix/matrix_4x4.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fill` is never used [INFO] [stderr] --> src/core/math/matrix/matrix_4x4.rs:94:15 [INFO] [stderr] | [INFO] [stderr] 94 | pub(crate) fn fill(value: Real) -> Matrix { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fill_default` is never used [INFO] [stderr] --> src/core/math/matrix/matrix_4x4.rs:98:15 [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) fn fill_default() -> Matrix { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `elems` and `w` are never used [INFO] [stderr] --> src/core/math/tuple.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 10 | impl Tuple4 { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub(crate) fn elems(&self) -> &Elems { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn w(&self) -> Real { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated function `triangle` is never used [INFO] [stderr] --> src/core/shapes/planars.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 29 | impl Planar { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub(crate) fn triangle(q: Point, u: Vec3D, v: Vec3D, mat: Material) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `fields_mut` is never used [INFO] [stderr] --> src/core/shapes/quadrics/mod.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 20 | impl Quadric { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn fields_mut(&mut self) -> &mut HittableFields { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/core/shapes/quadrics/sphere.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 20 | impl Sphere { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub(crate) fn new(center: Point, radius: Real, mat: Material) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_rgb` is never used [INFO] [stderr] --> src/core/textures/mod.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 34 | impl SolidColor { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | pub(crate) fn from_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `DIAGNOSTICS_ENABLED` is never used [INFO] [stderr] --> src/diagnostics/mod.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `enable` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) fn enable(flag: bool) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/mod.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `is_enabled` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn is_enabled() -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/mod.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | define_flag!(DIAGNOSTICS_ENABLED); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_flag` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `enable_all` is never used [INFO] [stderr] --> src/diagnostics/mod.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) fn enable_all(flag: bool) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_aabb_hit_attempt_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | define_metric!(AABB_HIT_ATTEMPT_COUNT); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_bvh_init_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | define_metric!(BVH_INIT_COUNT); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_bvh_hit_attempt_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | define_metric!(BVH_HIT_ATTEMPT_COUNT); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_bvh_miss_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | define_metric!(BVH_MISS_COUNT); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_object_hit_attempt_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | define_metric!(OBJECT_HIT_ATTEMPT_COUNT); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_left_node_hit_attempt_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | define_metric!(LEFT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `get_right_node_hit_attempt_count` is never used [INFO] [stderr] --> src/diagnostics/macros.rs:31:27 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) fn []() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/diagnostics/metrics.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | define_metric!(RIGHT_NODE_HIT_ATTEMPT_COUNT); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_metric` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/settings.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 21 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/settings.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 26 | impl AppConfig { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 27 | pub(crate) fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/bvh.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 77 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/hittables.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | mat: Mat<'a>, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 38 | ) -> HitRecord { [INFO] [stderr] | --------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 38 | ) -> HitRecord<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/hittables.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 109 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/hittables.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 137 | ) -> Option { [INFO] [stderr] | --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 137 | ) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/hittables.rs:235:23 [INFO] [stderr] | [INFO] [stderr] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 235 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] [INFO] [stderr] --> src/core/shapes/planars.rs:67:23 [INFO] [stdout] running 7 tests [INFO] [stderr] | [INFO] [stderr] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 67 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/plane.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/quadrics/mod.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/quadrics/cone.rs:65:23 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/quadrics/cylinder.rs:64:23 [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/quadrics/sphere.rs:65:23 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/core/shapes/volume.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn hit(&self, ray: &Ray, ray_t: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `eanray` (bin "eanray" test) generated 60 warnings (run `cargo fix --bin "eanray" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/eanray-5f4745d34b676502) [INFO] [stdout] test core::math::matrix::tests::test_determinants ... ok [INFO] [stdout] test core::math::matrix::tests::test_invertibility ... ok [INFO] [stdout] test core::math::matrix::tests::test_minors_and_cofactors ... ok [INFO] [stdout] test core::math::matrix::tests::test_submatrices ... ok [INFO] [stdout] test core::math::matrix::tests::test_multiplications ... ok [INFO] [stdout] test core::math::matrix::tests::test_inverses ... ok [INFO] [stdout] test core::math::matrix::tests::test_transposition ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10f67be221e5b04962c9b88c3283fe881c5ed6c324b2d10e8245e57088e88801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f67be221e5b04962c9b88c3283fe881c5ed6c324b2d10e8245e57088e88801", kill_on_drop: false }` [INFO] [stdout] 10f67be221e5b04962c9b88c3283fe881c5ed6c324b2d10e8245e57088e88801