[INFO] cloning repository https://github.com/hucancode/hello-raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hucancode/hello-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhucancode%2Fhello-raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhucancode%2Fhello-raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b532923dbc644b40414207c6f95c30c44beb193 [INFO] checking hucancode/hello-raytracing against master#8387315ab3c26a57a1f53a90f188f0bc88514bca for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhucancode%2Fhello-raytracing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hucancode/hello-raytracing on toolchain 8387315ab3c26a57a1f53a90f188f0bc88514bca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hucancode/hello-raytracing [INFO] finished tweaking git repo https://github.com/hucancode/hello-raytracing [INFO] tweaked toml for git repo https://github.com/hucancode/hello-raytracing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hucancode/hello-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" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polling v3.5.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.41 [INFO] [stderr] Downloaded wgpu-types v0.19.0 [INFO] [stderr] Downloaded wgpu-core v0.19.0 [INFO] [stderr] Downloaded naga v0.19.0 [INFO] [stderr] Downloaded wgpu-hal v0.19.1 [INFO] [stderr] Downloaded winit v0.29.10 [INFO] [stderr] Downloaded wgpu v0.19.1 [INFO] [stderr] Downloaded objc-sys v0.3.2 [INFO] [stderr] Downloaded sctk-adwaita v0.8.1 [INFO] [stderr] Downloaded web-sys v0.3.68 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b285f511905533da2bd9cd9df8e9eafb01145a7cde58692a244640b518fd4289 [INFO] running `Command { std: "docker" "start" "-a" "b285f511905533da2bd9cd9df8e9eafb01145a7cde58692a244640b518fd4289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b285f511905533da2bd9cd9df8e9eafb01145a7cde58692a244640b518fd4289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b285f511905533da2bd9cd9df8e9eafb01145a7cde58692a244640b518fd4289", kill_on_drop: false }` [INFO] [stdout] b285f511905533da2bd9cd9df8e9eafb01145a7cde58692a244640b518fd4289 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36183c2eb57bfc643b02099c8084e15289173bf105085da40ae970e276b5c12b [INFO] running `Command { std: "docker" "start" "-a" "36183c2eb57bfc643b02099c8084e15289173bf105085da40ae970e276b5c12b", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling wgpu-hal v0.19.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.19.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking profiling v1.0.11 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking renderdoc-sys v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling wgpu v0.19.1 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tobj v4.0.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking ab_glyph v0.2.22 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking naga v0.19.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking wgsl_toy v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `renderer::Renderer` [INFO] [stdout] --> src/app.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{renderer::Renderer, renderer_tris::RendererTris, scene::Scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::Renderer` [INFO] [stdout] --> src/app.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{renderer::Renderer, renderer_tris::RendererTris, scene::Scene}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/renderer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/renderer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn desc() -> VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/renderer.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/renderer.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const INDICES: &[u32] = &[0, 1, 2, 2, 3, 0]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_IMAGE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/renderer.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const MAX_IMAGE_BUFFER_SIZE: u32 = 4096 * 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OBJECT_IN_SCENE` is never used [INFO] [stdout] --> src/renderer.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MAX_OBJECT_IN_SCENE: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/renderer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize`, `set_scene`, `set_time`, and `draw` are never used [INFO] [stdout] --> src/renderer.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl Renderer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 73 | pub async fn new(window: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn set_scene(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn set_time(&mut self, time: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/scene/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | pub camera: Camera, [INFO] [stdout] 21 | pub objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_simple`, `new_cube`, and `new_quad` are never used [INFO] [stdout] --> src/scene/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Scene { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn new_simple() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn new_cube() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn new_quad() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/bvh/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(bound_min: Vec4, bound_max: Vec4) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAMBERTIAN` is never used [INFO] [stdout] --> src/scene/material.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LAMBERTIAN: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METAL` is never used [INFO] [stdout] --> src/scene/material.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const METAL: u32 = 2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIELECTRIC` is never used [INFO] [stdout] --> src/scene/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DIELECTRIC: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_lambertian`, `new_metal`, and `new_dielectric` are never used [INFO] [stdout] --> src/scene/material.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 17 | pub fn new_lambertian(albedo: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_metal(albedo: Vec3, fuzzy: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_dielectric(ir: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_lambertian`, `new_metal`, and `new_dielectric` are never used [INFO] [stdout] --> src/scene/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Sphere { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 14 | pub fn new_lambertian(center: Vec3, radius: f32, color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_metal(center: Vec3, radius: f32, color: Vec3, fuzzy: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_dielectric(center: Vec3, radius: f32, ir: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/renderer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/renderer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn desc() -> VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/renderer.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/renderer.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | const INDICES: &[u32] = &[0, 1, 2, 2, 3, 0]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_IMAGE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/renderer.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | const MAX_IMAGE_BUFFER_SIZE: u32 = 4096 * 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OBJECT_IN_SCENE` is never used [INFO] [stdout] --> src/renderer.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const MAX_OBJECT_IN_SCENE: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/renderer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize`, `set_scene`, `set_time`, and `draw` are never used [INFO] [stdout] --> src/renderer.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 72 | impl Renderer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 73 | pub async fn new(window: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn set_scene(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn set_time(&mut self, time: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn draw(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/scene/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 20 | pub camera: Camera, [INFO] [stdout] 21 | pub objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_simple`, `new_cube`, and `new_quad` are never used [INFO] [stdout] --> src/scene/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Scene { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn new_simple() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn new_cube() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn new_quad() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/bvh/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(bound_min: Vec4, bound_max: Vec4) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAMBERTIAN` is never used [INFO] [stdout] --> src/scene/material.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LAMBERTIAN: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METAL` is never used [INFO] [stdout] --> src/scene/material.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const METAL: u32 = 2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIELECTRIC` is never used [INFO] [stdout] --> src/scene/material.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DIELECTRIC: u32 = 3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_lambertian`, `new_metal`, and `new_dielectric` are never used [INFO] [stdout] --> src/scene/material.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 17 | pub fn new_lambertian(albedo: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_metal(albedo: Vec3, fuzzy: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_dielectric(ir: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_lambertian`, `new_metal`, and `new_dielectric` are never used [INFO] [stdout] --> src/scene/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Sphere { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 14 | pub fn new_lambertian(center: Vec3, radius: f32, color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_metal(center: Vec3, radius: f32, color: Vec3, fuzzy: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_dielectric(center: Vec3, radius: f32, ir: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.96s [INFO] running `Command { std: "docker" "inspect" "36183c2eb57bfc643b02099c8084e15289173bf105085da40ae970e276b5c12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36183c2eb57bfc643b02099c8084e15289173bf105085da40ae970e276b5c12b", kill_on_drop: false }` [INFO] [stdout] 36183c2eb57bfc643b02099c8084e15289173bf105085da40ae970e276b5c12b