[INFO] cloning repository https://github.com/lolmuffen/RayTracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolmuffen/RayTracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolmuffen%2FRayTracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolmuffen%2FRayTracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e90fc2ddc8c79bff659bb02fefd2eff6c4980c7 [INFO] testing lolmuffen/RayTracing against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolmuffen%2FRayTracing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lolmuffen/RayTracing [INFO] finished tweaking git repo https://github.com/lolmuffen/RayTracing [INFO] tweaked toml for git repo https://github.com/lolmuffen/RayTracing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lolmuffen/RayTracing on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lolmuffen/RayTracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.31.8 [INFO] [stderr] Downloaded wayland-cursor v0.31.12 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded wayland-backend v0.3.12 [INFO] [stderr] Downloaded redox_syscall v0.7.1 [INFO] [stderr] Downloaded memmap2 v0.9.10 [INFO] [stderr] Downloaded wayland-client v0.31.12 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.10 [INFO] [stderr] Downloaded minifb v0.28.0 [INFO] [stderr] Downloaded wayland-protocols v0.32.10 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.10 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] [stderr] Downloaded orbclient v0.3.50 [INFO] [stderr] Downloaded sdl2-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa9cd358196843c7ea2682d3a8264bde721cf6e342369f74d419b79143a408e4 [INFO] running `Command { std: "docker" "start" "-a" "aa9cd358196843c7ea2682d3a8264bde721cf6e342369f74d419b79143a408e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9cd358196843c7ea2682d3a8264bde721cf6e342369f74d419b79143a408e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9cd358196843c7ea2682d3a8264bde721cf6e342369f74d419b79143a408e4", kill_on_drop: false }` [INFO] [stdout] aa9cd358196843c7ea2682d3a8264bde721cf6e342369f74d419b79143a408e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a18cd8bb9488c025c40ee8f676b5d76e30bdadea3b2ac200ad3468b2c2c6886 [INFO] running `Command { std: "docker" "start" "-a" "0a18cd8bb9488c025c40ee8f676b5d76e30bdadea3b2ac200ad3468b2c2c6886", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling RayTracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `sceneBVH` should have an upper camel case name [INFO] [stdout] --> src/BVH.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct sceneBVH { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SceneBvh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri_mesh` [INFO] [stdout] --> src/shape.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | Self::TriangleMesh { tri_mesh } => {panic!("get_material() called on TriangleMesh — use hit.material instead")} [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `tri_mesh: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/utils.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const EMPTY: Interval = Interval::new(f32::INFINITY, f32::NEG_INFINITY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL` is never used [INFO] [stdout] --> src/utils.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const ALL: Interval = Interval::new(f32::NEG_INFINITY, f32::INFINITY); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `contains`, and `surrounds` are never used [INFO] [stdout] --> src/utils.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn size(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn contains(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn surrounds(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> src/utils.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Volume` is never constructed [INFO] [stdout] --> src/material.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Material { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Volume { density: f32, color: Vec3 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `volume` and `emitted` are never used [INFO] [stdout] --> src/material.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Material { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn volume(density: f32, color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn emitted(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `front_face` is never read [INFO] [stdout] --> src/intersection.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hit { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub front_face: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> src/shape.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Shape { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 12 | Sphere {sphere: Sphere}, [INFO] [stdout] 13 | Triangle{tri: Triangle}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `triangle` is never used [INFO] [stdout] --> src/shape.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Shape { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn triangle(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Shape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ID` is never read [INFO] [stdout] --> src/BVH.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct sceneBVH { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/BVH.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl BoundingBox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 180 | pub fn new(min: Vec3, max: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_scene_object` are never used [INFO] [stdout] --> src/triangle.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 18 | /// Internal BVH triangle — id is 0 (not a scene object). [INFO] [stdout] 19 | pub fn new(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_scene_object(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material, id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_position`, `set_scale`, and `get_internal_hit_t` are never used [INFO] [stdout] --> src/triangle_bvh.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TriangleBVH { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 68 | /// Build a BVH over `triangles` with an identity transform (position = origin, scale = 1). [INFO] [stdout] 69 | pub fn new(triangles: &[Triangle]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get_internal_hit_t(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BVH` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod BVH; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `bvh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BVH_DEPTH_LIMIT` should have a snake case name [INFO] [stdout] --> src/utils.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub BVH_DEPTH_LIMIT: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bvh_depth_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BVH_depth_limit` should have a snake case name [INFO] [stdout] --> src/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_BVH_depth_limit(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bvh_depth_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_GLOBAL` should have a snake case name [INFO] [stdout] --> src/utils.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_GLOBAL() -> &'static Global { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/sphere.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub ID: u32, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/BVH.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `child_ID` should have a snake case name [INFO] [stdout] --> src/BVH.rs:25:59 [INFO] [stdout] | [INFO] [stdout] 25 | fn build_recursive(shape_ids: Vec, depth: usize, child_ID: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `child_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/triangle_bvh.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub ID: u32, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "0a18cd8bb9488c025c40ee8f676b5d76e30bdadea3b2ac200ad3468b2c2c6886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a18cd8bb9488c025c40ee8f676b5d76e30bdadea3b2ac200ad3468b2c2c6886", kill_on_drop: false }` [INFO] [stdout] 0a18cd8bb9488c025c40ee8f676b5d76e30bdadea3b2ac200ad3468b2c2c6886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa615fcafaa38e26635388a6d1143260779fe2b7397e6c7387add806edb80ce2 [INFO] running `Command { std: "docker" "start" "-a" "fa615fcafaa38e26635388a6d1143260779fe2b7397e6c7387add806edb80ce2", kill_on_drop: false }` [INFO] [stderr] Compiling RayTracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `sceneBVH` should have an upper camel case name [INFO] [stdout] --> src/BVH.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct sceneBVH { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SceneBvh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri_mesh` [INFO] [stdout] --> src/shape.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | Self::TriangleMesh { tri_mesh } => {panic!("get_material() called on TriangleMesh — use hit.material instead")} [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `tri_mesh: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/utils.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const EMPTY: Interval = Interval::new(f32::INFINITY, f32::NEG_INFINITY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL` is never used [INFO] [stdout] --> src/utils.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const ALL: Interval = Interval::new(f32::NEG_INFINITY, f32::INFINITY); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size`, `contains`, and `surrounds` are never used [INFO] [stdout] --> src/utils.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn size(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn contains(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn surrounds(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> src/utils.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Volume` is never constructed [INFO] [stdout] --> src/material.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Material { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Volume { density: f32, color: Vec3 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `volume` and `emitted` are never used [INFO] [stdout] --> src/material.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Material { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn volume(density: f32, color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn emitted(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `front_face` is never read [INFO] [stdout] --> src/intersection.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hit { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub front_face: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> src/shape.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Shape { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 12 | Sphere {sphere: Sphere}, [INFO] [stdout] 13 | Triangle{tri: Triangle}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `triangle` is never used [INFO] [stdout] --> src/shape.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Shape { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn triangle(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Shape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ID` is never read [INFO] [stdout] --> src/BVH.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct sceneBVH { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/BVH.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl BoundingBox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 180 | pub fn new(min: Vec3, max: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_scene_object` are never used [INFO] [stdout] --> src/triangle.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 18 | /// Internal BVH triangle — id is 0 (not a scene object). [INFO] [stdout] 19 | pub fn new(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_scene_object(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material, id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_position`, `set_scale`, and `get_internal_hit_t` are never used [INFO] [stdout] --> src/triangle_bvh.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TriangleBVH { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 68 | /// Build a BVH over `triangles` with an identity transform (position = origin, scale = 1). [INFO] [stdout] 69 | pub fn new(triangles: &[Triangle]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get_internal_hit_t(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BVH` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod BVH; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `bvh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BVH_DEPTH_LIMIT` should have a snake case name [INFO] [stdout] --> src/utils.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub BVH_DEPTH_LIMIT: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bvh_depth_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BVH_depth_limit` should have a snake case name [INFO] [stdout] --> src/utils.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_BVH_depth_limit(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bvh_depth_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_GLOBAL` should have a snake case name [INFO] [stdout] --> src/utils.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_GLOBAL() -> &'static Global { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/sphere.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub ID: u32, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/BVH.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `child_ID` should have a snake case name [INFO] [stdout] --> src/BVH.rs:25:59 [INFO] [stdout] | [INFO] [stdout] 25 | fn build_recursive(shape_ids: Vec, depth: usize, child_ID: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `child_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ID` should have a snake case name [INFO] [stdout] --> src/triangle_bvh.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub ID: u32, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "fa615fcafaa38e26635388a6d1143260779fe2b7397e6c7387add806edb80ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa615fcafaa38e26635388a6d1143260779fe2b7397e6c7387add806edb80ce2", kill_on_drop: false }` [INFO] [stdout] fa615fcafaa38e26635388a6d1143260779fe2b7397e6c7387add806edb80ce2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aaf4a862823d249d826f2b867eff0f5a53d7be6753e5e78f533ed8c0e3871744 [INFO] running `Command { std: "docker" "start" "-a" "aaf4a862823d249d826f2b867eff0f5a53d7be6753e5e78f533ed8c0e3871744", kill_on_drop: false }` [INFO] [stderr] warning: type `sceneBVH` should have an upper camel case name [INFO] [stderr] --> src/BVH.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct sceneBVH { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `SceneBvh` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tri_mesh` [INFO] [stderr] --> src/shape.rs:174:34 [INFO] [stderr] | [INFO] [stderr] 174 | Self::TriangleMesh { tri_mesh } => {panic!("get_material() called on TriangleMesh — use hit.material instead")} [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `tri_mesh: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `EMPTY` is never used [INFO] [stderr] --> src/utils.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | pub const EMPTY: Interval = Interval::new(f32::INFINITY, f32::NEG_INFINITY); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ALL` is never used [INFO] [stderr] --> src/utils.rs:84:11 [INFO] [stderr] | [INFO] [stderr] 84 | pub const ALL: Interval = Interval::new(f32::NEG_INFINITY, f32::INFINITY); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `size`, `contains`, and `surrounds` are never used [INFO] [stderr] --> src/utils.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 94 | impl Interval { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn size(&self) -> f32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn contains(&self, x: f32) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn surrounds(&self, x: f32) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Axis` is never used [INFO] [stderr] --> src/utils.rs:203:10 [INFO] [stderr] | [INFO] [stderr] 203 | pub enum Axis { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Volume` is never constructed [INFO] [stderr] --> src/material.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Material { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | Volume { density: f32, color: Vec3 }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `volume` and `emitted` are never used [INFO] [stderr] --> src/material.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Material { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn volume(density: f32, color: Vec3) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 152 | pub fn emitted(&self) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `front_face` is never read [INFO] [stderr] --> src/intersection.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Hit { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub front_face: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Triangle` is never constructed [INFO] [stderr] --> src/shape.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Shape { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 12 | Sphere {sphere: Sphere}, [INFO] [stderr] 13 | Triangle{tri: Triangle}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `triangle` is never used [INFO] [stderr] --> src/shape.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Shape { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn triangle(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Shape { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ID` is never read [INFO] [stderr] --> src/BVH.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct sceneBVH { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/BVH.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 179 | impl BoundingBox { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 180 | pub fn new(min: Vec3, max: Vec3) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_scene_object` are never used [INFO] [stderr] --> src/triangle.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Triangle { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 18 | /// Internal BVH triangle — id is 0 (not a scene object). [INFO] [stderr] 19 | pub fn new(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn new_scene_object(p1: Vec3, p2: Vec3, p3: Vec3, mat: Material, id: u32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_position`, `set_scale`, and `get_internal_hit_t` are never used [INFO] [stderr] --> src/triangle_bvh.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl TriangleBVH { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 68 | /// Build a BVH over `triangles` with an identity transform (position = origin, scale = 1). [INFO] [stderr] 69 | pub fn new(triangles: &[Triangle]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn set_position(&mut self, position: Vec3) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn set_scale(&mut self, scale: f32) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | pub fn get_internal_hit_t(&self, ray: &Ray) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `BVH` should have a snake case name [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | mod BVH; [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `bvh` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `BVH_DEPTH_LIMIT` should have a snake case name [INFO] [stderr] --> src/utils.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | pub BVH_DEPTH_LIMIT: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bvh_depth_limit` [INFO] [stderr] [INFO] [stderr] warning: method `get_BVH_depth_limit` should have a snake case name [INFO] [stderr] --> src/utils.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn get_BVH_depth_limit(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bvh_depth_limit` [INFO] [stderr] [INFO] [stderr] warning: function `get_GLOBAL` should have a snake case name [INFO] [stderr] --> src/utils.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn get_GLOBAL() -> &'static Global { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_global` [INFO] [stderr] [INFO] [stderr] warning: structure field `ID` should have a snake case name [INFO] [stderr] --> src/sphere.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub ID: u32, [INFO] [stderr] | ^^ help: convert the identifier to snake case: `id` [INFO] [stderr] [INFO] [stderr] warning: structure field `ID` should have a snake case name [INFO] [stderr] --> src/BVH.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub ID: u32, // 0 for root, 1 for left child, 2 for right child [INFO] [stderr] | ^^ help: convert the identifier to snake case: `id` [INFO] [stderr] [INFO] [stderr] warning: variable `child_ID` should have a snake case name [INFO] [stderr] --> src/BVH.rs:25:59 [INFO] [stderr] | [INFO] [stderr] 25 | fn build_recursive(shape_ids: Vec, depth: usize, child_ID: u32) -> Self { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `child_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `ID` should have a snake case name [INFO] [stderr] --> src/triangle_bvh.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | pub ID: u32, [INFO] [stderr] | ^^ help: convert the identifier to snake case: `id` [INFO] [stderr] [INFO] [stderr] warning: `RayTracing` (bin "RayTracing" test) generated 23 warnings (run `cargo fix --bin "RayTracing" -p RayTracing --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RayTracing-145e82365d084fce) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aaf4a862823d249d826f2b867eff0f5a53d7be6753e5e78f533ed8c0e3871744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf4a862823d249d826f2b867eff0f5a53d7be6753e5e78f533ed8c0e3871744", kill_on_drop: false }` [INFO] [stdout] aaf4a862823d249d826f2b867eff0f5a53d7be6753e5e78f533ed8c0e3871744