[INFO] cloning repository https://github.com/N9199/ray_tracing_weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N9199/ray_tracing_weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fray_tracing_weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fray_tracing_weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abd862d00fa6cb64f1f9827acd8559d5eecf5f9b [INFO] checking N9199/ray_tracing_weekend/abd862d00fa6cb64f1f9827acd8559d5eecf5f9b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fray_tracing_weekend" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N9199/ray_tracing_weekend on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/N9199/ray_tracing_weekend [INFO] finished tweaking git repo https://github.com/N9199/ray_tracing_weekend [INFO] tweaked toml for git repo https://github.com/N9199/ray_tracing_weekend written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/N9199/ray_tracing_weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kdam v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8918f84590d317e01575dde62b4e27689581963c9f1b23c70a68e92d31938823 [INFO] running `Command { std: "docker" "start" "-a" "8918f84590d317e01575dde62b4e27689581963c9f1b23c70a68e92d31938823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8918f84590d317e01575dde62b4e27689581963c9f1b23c70a68e92d31938823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8918f84590d317e01575dde62b4e27689581963c9f1b23c70a68e92d31938823", kill_on_drop: false }` [INFO] [stdout] 8918f84590d317e01575dde62b4e27689581963c9f1b23c70a68e92d31938823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0837fdab9d30e324ceaac8d39d4068c1f302089c96470f18a3a9b5230f9985b5 [INFO] running `Command { std: "docker" "start" "-a" "0837fdab9d30e324ceaac8d39d4068c1f302089c96470f18a3a9b5230f9985b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitstream-io v2.3.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking kdam v0.4.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking ray_tracing_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/bvh.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | entities::{AABBox, AAPlane, Axis, Bounded}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plane` [INFO] [stdout] --> src/hittable_list.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | entities::{get_axis, AABBox, AAPlane, Axis, Bounded, Plane}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_material` [INFO] [stdout] --> src/utils.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let ground_material = Arc::new(Lambertian::new_with_colour(Colour::new(0.9, 0.9, 0.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [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/texture.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `checkered_spheres` and `plane_scene` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use utils::{checkered_spheres, plane_scene, random_f64, ray_colour, simple_scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/bvh.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | entities::{AABBox, AAPlane, Axis, Bounded}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plane` [INFO] [stdout] --> src/hittable_list.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | entities::{get_axis, AABBox, AAPlane, Axis, Bounded, Plane}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitSphere` [INFO] [stdout] --> src/vec3.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub use vec::{Vec3, UnitSphere, get_unit_vec, get_in_unit_sphere, get_in_unit_disk}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_material` [INFO] [stdout] --> src/utils.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let ground_material = Arc::new(Lambertian::new_with_colour(Colour::new(0.9, 0.9, 0.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dividing_plane` is never read [INFO] [stdout] --> src/bvh.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | Node { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 16 | dividing_plane: AAPlane, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoundedVolumeHierarchy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `depth` and `node_count` are never used [INFO] [stdout] --> src/bvh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BoundedVolumeHierarchy { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 21 | pub fn depth(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn node_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_hit2`, `left_of`, and `compare_by_axis` are never used [INFO] [stdout] --> src/entities/aabox.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl AABBox { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_hit2(&self, r: &Ray, range: RangeInclusive) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn left_of(&self, plane: AAPlane) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn compare_by_axis(&self, other: &Self, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_plane_uv` is never used [INFO] [stdout] --> src/entities/plane.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Plane { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_plane_uv(&self, point: Point3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 24 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plane_scene` is never used [INFO] [stdout] --> src/utils.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn plane_scene() -> impl BoundedHittable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> src/utils.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn checkered_spheres() -> impl BoundedHittable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_aabboxes` is never used [INFO] [stdout] --> src/utils.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 39 | / impl Slice [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | T: Bounded + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 42 | { [INFO] [stdout] 43 | pub fn get_aabboxes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inverse` is never used [INFO] [stdout] --> src/vec3/vec.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn inverse(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/bvh.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | entities::{AABBox, AAPlane, Axis, Bounded}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plane` [INFO] [stdout] --> src/hittable_list.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | entities::{get_axis, AABBox, AAPlane, Axis, Bounded, Plane}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Colour`, `Sphere`, `hittable::Hittable`, and `material::Lambertian` [INFO] [stdout] --> benches/aabox_hit.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | entities::{AABBox, Sphere}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | hittable::Hittable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | material::Lambertian, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ray::Ray, [INFO] [stdout] 8 | vec3::{Colour, Point3, Vec3}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `checkered_spheres` and `plane_scene` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use utils::{checkered_spheres, plane_scene, random_f64, ray_colour, simple_scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Axis` [INFO] [stdout] --> src/bvh.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | entities::{AABBox, AAPlane, Axis, Bounded}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Plane` [INFO] [stdout] --> src/hittable_list.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | entities::{get_axis, AABBox, AAPlane, Axis, Bounded, Plane}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitSphere` [INFO] [stdout] --> src/vec3.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub use vec::{Vec3, UnitSphere, get_unit_vec, get_in_unit_sphere, get_in_unit_disk}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_material` [INFO] [stdout] --> src/utils.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let ground_material = Arc::new(Lambertian::new_with_colour(Colour::new(0.9, 0.9, 0.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [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/texture.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_colour(&self, u: f64, v: f64, point: &Point3) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_material` [INFO] [stdout] --> src/utils.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let ground_material = Arc::new(Lambertian::new_with_colour(Colour::new(0.9, 0.9, 0.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dividing_plane` is never read [INFO] [stdout] --> src/bvh.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | Node { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 16 | dividing_plane: AAPlane, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoundedVolumeHierarchy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_hit2`, `left_of`, and `compare_by_axis` are never used [INFO] [stdout] --> src/entities/aabox.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl AABBox { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_hit2(&self, r: &Ray, range: RangeInclusive) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn left_of(&self, plane: AAPlane) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn compare_by_axis(&self, other: &Self, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_plane_uv` is never used [INFO] [stdout] --> src/entities/plane.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Plane { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_plane_uv(&self, point: Point3) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 24 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> src/utils.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn checkered_spheres() -> impl BoundedHittable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_aabboxes` is never used [INFO] [stdout] --> src/utils.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 39 | / impl Slice [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | T: Bounded + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 42 | { [INFO] [stdout] 43 | pub fn get_aabboxes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inverse` is never used [INFO] [stdout] --> src/vec3/vec.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn inverse(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "0837fdab9d30e324ceaac8d39d4068c1f302089c96470f18a3a9b5230f9985b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0837fdab9d30e324ceaac8d39d4068c1f302089c96470f18a3a9b5230f9985b5", kill_on_drop: false }` [INFO] [stdout] 0837fdab9d30e324ceaac8d39d4068c1f302089c96470f18a3a9b5230f9985b5