[INFO] cloning repository https://github.com/ubuntunux/RustEngine3D [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ubuntunux/RustEngine3D" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubuntunux%2FRustEngine3D", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubuntunux%2FRustEngine3D'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d15c6e2b7be7b149e8d3604b83cfe959d26a8f3 [INFO] checking ubuntunux/RustEngine3D against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubuntunux%2FRustEngine3D" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 80% (334/417) Checking out files: 81% (338/417) Checking out files: 82% (342/417) Checking out files: 83% (347/417) Checking out files: 84% (351/417) Checking out files: 85% (355/417) Checking out files: 86% (359/417) Checking out files: 87% (363/417) Checking out files: 88% (367/417) Checking out files: 89% (372/417) Checking out files: 90% (376/417) Checking out files: 91% (380/417) Checking out files: 92% (384/417) Checking out files: 93% (388/417) Checking out files: 94% (392/417) Checking out files: 95% (397/417) Checking out files: 96% (401/417) Checking out files: 97% (405/417) Checking out files: 98% (409/417) Checking out files: 99% (413/417) Checking out files: 100% (417/417) Checking out files: 100% (417/417), done. [INFO] validating manifest of git repo https://github.com/ubuntunux/RustEngine3D on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ubuntunux/RustEngine3D [INFO] finished tweaking git repo https://github.com/ubuntunux/RustEngine3D [INFO] tweaked toml for git repo https://github.com/ubuntunux/RustEngine3D written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ed7e465323067ebe9bc78d3b5a292a81f7fe083a7255dd6de23624ac01aa51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99ed7e465323067ebe9bc78d3b5a292a81f7fe083a7255dd6de23624ac01aa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ed7e465323067ebe9bc78d3b5a292a81f7fe083a7255dd6de23624ac01aa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ed7e465323067ebe9bc78d3b5a292a81f7fe083a7255dd6de23624ac01aa51", kill_on_drop: false }` [INFO] [stdout] 99ed7e465323067ebe9bc78d3b5a292a81f7fe083a7255dd6de23624ac01aa51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5cd4a5c696b49e84daaf9293c966cbfdcff970c6013d78a40b879f9578a1ea0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5cd4a5c696b49e84daaf9293c966cbfdcff970c6013d78a40b879f9578a1ea0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking ash-window v0.5.0 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking winit_input_helper v0.7.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking nalgebra v0.23.2 [INFO] [stderr] Checking nalgebra-glm v0.9.0 [INFO] [stderr] Checking rust_engine_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:403:66 [INFO] [stdout] | [INFO] [stdout] 403 | image::DynamicImage::ImageRgba8(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:404:66 [INFO] [stdout] | [INFO] [stdout] 404 | image::DynamicImage::ImageRgb8(_) => (dynamic_image .to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:405:66 [INFO] [stdout] | [INFO] [stdout] 405 | image::DynamicImage::ImageLuma8(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:406:66 [INFO] [stdout] | [INFO] [stdout] 406 | image::DynamicImage::ImageRgb16(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R16G16B16A16_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:403:66 [INFO] [stdout] | [INFO] [stdout] 403 | image::DynamicImage::ImageRgba8(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:404:66 [INFO] [stdout] | [INFO] [stdout] 404 | image::DynamicImage::ImageRgb8(_) => (dynamic_image .to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:405:66 [INFO] [stdout] | [INFO] [stdout] 405 | image::DynamicImage::ImageLuma8(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R8G8B8A8_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/resource/resource.rs:406:66 [INFO] [stdout] | [INFO] [stdout] 406 | image::DynamicImage::ImageRgb16(_) => (dynamic_image.to_rgba().into_raw(), vk::Format::R16G16B16A16_UNORM), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_pos` [INFO] [stdout] --> src/application/application.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mouse_pos = input_helper.mouse(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btn_middle` [INFO] [stdout] --> src/application/application.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let btn_middle: bool = input_helper.mouse_held(MOUSE_MIDDLE); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btn_middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/renderer/atmosphere.rs:434:58 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn regist_precomputed_atmosphere_textures(&self, renderer_data: &RcRefCell, resources: &RcRefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/renderer/atmosphere.rs:434:99 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn regist_precomputed_atmosphere_textures(&self, renderer_data: &RcRefCell, resources: &RcRefCell) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/renderer/atmosphere.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn generate(&self, renderer_data: &RcRefCell, resources: &RcRefCell, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/renderer/atmosphere.rs:508:69 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn generate(&self, renderer_data: &RcRefCell, resources: &RcRefCell, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:26 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `luminance_from_radiance` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:46 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_luminance_from_radiance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blend` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:86 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_blend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_scattering_orders` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:99 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_scattering_orders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:384:31 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_targets_r32g32b32a32` [INFO] [stdout] --> src/renderer/post_process.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | render_targets_r32g32b32a32: Vec<&TextureData>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_targets_r32g32b32a32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/resource/render_pass_create_info/downsampling.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_render_pass_data_create_info(renderer_data: &RendererData) -> RenderPassDataCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_object_type` [INFO] [stdout] --> src/resource/render_pass_create_info/render_shadow.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_framebuffer_data_create_info(renderer_data: &RendererData, render_object_type: RenderObjectType) -> FramebufferDataCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/utilities/xml.rs:76:67 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(XmlEvent::StartElement { name, attributes, namespace }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/utilities/xml.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `layers` is never read [INFO] [stdout] --> src/vulkan_context/framebuffer.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let (mut width, mut height, mut layers, sample_count, target_layer, target_mip_level) = if false == color_render_targets.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_pos` [INFO] [stdout] --> src/application/application.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mouse_pos = input_helper.mouse(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btn_middle` [INFO] [stdout] --> src/application/application.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let btn_middle: bool = input_helper.mouse_held(MOUSE_MIDDLE); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_btn_middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/renderer/atmosphere.rs:434:58 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn regist_precomputed_atmosphere_textures(&self, renderer_data: &RcRefCell, resources: &RcRefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/renderer/atmosphere.rs:434:99 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn regist_precomputed_atmosphere_textures(&self, renderer_data: &RcRefCell, resources: &RcRefCell) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/renderer/atmosphere.rs:508:28 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn generate(&self, renderer_data: &RcRefCell, resources: &RcRefCell, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/renderer/atmosphere.rs:508:69 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn generate(&self, renderer_data: &RcRefCell, resources: &RcRefCell, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:26 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `luminance_from_radiance` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:46 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_luminance_from_radiance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blend` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:86 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_blend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_scattering_orders` [INFO] [stdout] --> src/renderer/atmosphere.rs:552:99 [INFO] [stdout] | [INFO] [stdout] 552 | fn precompute(&self, lambdas: &[f32; 3], luminance_from_radiance: &Matrix3, blend: bool, num_scattering_orders: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_scattering_orders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:384:31 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:432:31 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/renderer/post_process.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn destroy(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_targets_r32g32b32a32` [INFO] [stdout] --> src/renderer/post_process.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | render_targets_r32g32b32a32: Vec<&TextureData>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_targets_r32g32b32a32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer_data` [INFO] [stdout] --> src/resource/render_pass_create_info/downsampling.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_render_pass_data_create_info(renderer_data: &RendererData) -> RenderPassDataCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_object_type` [INFO] [stdout] --> src/resource/render_pass_create_info/render_shadow.rs:32:71 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_framebuffer_data_create_info(renderer_data: &RendererData, render_object_type: RenderObjectType) -> FramebufferDataCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/utilities/xml.rs:76:67 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(XmlEvent::StartElement { name, attributes, namespace }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `namespace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/utilities/xml.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `layers` is never read [INFO] [stdout] --> src/vulkan_context/framebuffer.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let (mut width, mut height, mut layers, sample_count, target_layer, target_mip_level) = if false == color_render_targets.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaR` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const kLambdaR: f32 = 680.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaG` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const kLambdaG: f32 = 550.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaB` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const kLambdaB: f32 = 440.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kPi` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const kPi: f32 = 3.1415926; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `K_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSunAngularRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const kSunAngularRadius: f32 = 0.0235 / 2.0; // default: 0.00935 / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SUN_ANGULAR_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSunSolidAngle` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const kSunSolidAngle: f32 = kPi * kSunAngularRadius * kSunAngularRadius; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SUN_SOLID_ANGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLengthUnitInMeters` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const kLengthUnitInMeters: f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_LENGTH_UNIT_IN_METERS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaMin` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const kLambdaMin: f32 = 360.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_MIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaMax` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const kLambdaMax: f32 = 830.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSolarIrradiance` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const kSolarIrradiance: [f32; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SOLAR_IRRADIANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kOzoneCrossSection` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const kOzoneCrossSection: [f32; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_OZONE_CROSS_SECTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kDobsonUnit` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const kDobsonUnit: f32 = 2.687e20; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `K_DOBSON_UNIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMaxOzoneNumberDensity` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const kMaxOzoneNumberDensity: f32 = 300.0 * kDobsonUnit / 15000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MAX_OZONE_NUMBER_DENSITY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kConstantSolarIrradiance` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const kConstantSolarIrradiance: f32 = 1.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_CONSTANT_SOLAR_IRRADIANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kBottomRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const kBottomRadius: f32 = 6361000.0; // default : 6360000.0 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_BOTTOM_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kTopRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const kTopRadius: f32 = 6420000.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_TOP_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kRayleigh` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const kRayleigh: f32 = 1.24062e-6; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `K_RAYLEIGH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kRayleighScaleHeight` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const kRayleighScaleHeight: f32 = 8000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_RAYLEIGH_SCALE_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieScaleHeight` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const kMieScaleHeight: f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_SCALE_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieAngstromAlpha` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const kMieAngstromAlpha: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_ANGSTROM_ALPHA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieAngstromBeta` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const kMieAngstromBeta: f32 = 5.328e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_ANGSTROM_BETA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieSingleScatteringAlbedo` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const kMieSingleScatteringAlbedo: f32 = 0.9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_SINGLE_SCATTERING_ALBEDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMiePhaseFunctionG` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const kMiePhaseFunctionG: f32 = 0.8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_PHASE_FUNCTION_G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kGroundAlbedo` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const kGroundAlbedo: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_GROUND_ALBEDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | for L in (kLambdaMin as usize)..(kLambdaMax as usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | for L in (kLambdaMin as usize)..(kLambdaMax as usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLayerCount` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | const kLayerCount: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `K_LAYER_COUNT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:517:26 [INFO] [stdout] | [INFO] [stdout] 517 | let coeff = |L: f32, component: usize| -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | let L = i as f32 * 1e-3; // micro-meters [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaR` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const kLambdaR: f32 = 680.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaG` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const kLambdaG: f32 = 550.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaB` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const kLambdaB: f32 = 440.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kPi` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const kPi: f32 = 3.1415926; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `K_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSunAngularRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const kSunAngularRadius: f32 = 0.0235 / 2.0; // default: 0.00935 / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SUN_ANGULAR_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSunSolidAngle` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const kSunSolidAngle: f32 = kPi * kSunAngularRadius * kSunAngularRadius; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SUN_SOLID_ANGLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLengthUnitInMeters` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const kLengthUnitInMeters: f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_LENGTH_UNIT_IN_METERS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaMin` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const kLambdaMin: f32 = 360.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_MIN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLambdaMax` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const kLambdaMax: f32 = 830.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_LAMBDA_MAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kSolarIrradiance` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const kSolarIrradiance: [f32; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_SOLAR_IRRADIANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kOzoneCrossSection` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const kOzoneCrossSection: [f32; 48] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_OZONE_CROSS_SECTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kDobsonUnit` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const kDobsonUnit: f32 = 2.687e20; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `K_DOBSON_UNIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMaxOzoneNumberDensity` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const kMaxOzoneNumberDensity: f32 = 300.0 * kDobsonUnit / 15000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MAX_OZONE_NUMBER_DENSITY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kConstantSolarIrradiance` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const kConstantSolarIrradiance: f32 = 1.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_CONSTANT_SOLAR_IRRADIANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kBottomRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const kBottomRadius: f32 = 6361000.0; // default : 6360000.0 [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_BOTTOM_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kTopRadius` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const kTopRadius: f32 = 6420000.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `K_TOP_RADIUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kRayleigh` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const kRayleigh: f32 = 1.24062e-6; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `K_RAYLEIGH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kRayleighScaleHeight` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const kRayleighScaleHeight: f32 = 8000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_RAYLEIGH_SCALE_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieScaleHeight` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const kMieScaleHeight: f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_SCALE_HEIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieAngstromAlpha` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const kMieAngstromAlpha: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_ANGSTROM_ALPHA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieAngstromBeta` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const kMieAngstromBeta: f32 = 5.328e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_ANGSTROM_BETA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMieSingleScatteringAlbedo` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const kMieSingleScatteringAlbedo: f32 = 0.9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_SINGLE_SCATTERING_ALBEDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kMiePhaseFunctionG` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const kMiePhaseFunctionG: f32 = 0.8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_MIE_PHASE_FUNCTION_G` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kGroundAlbedo` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const kGroundAlbedo: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `K_GROUND_ALBEDO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | for L in (kLambdaMin as usize)..(kLambdaMax as usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | for L in (kLambdaMin as usize)..(kLambdaMax as usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kLayerCount` should have an upper case name [INFO] [stdout] --> src/renderer/atmosphere.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | const kLayerCount: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `K_LAYER_COUNT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:517:26 [INFO] [stdout] | [INFO] [stdout] 517 | let coeff = |L: f32, component: usize| -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/renderer/atmosphere.rs:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | let L = i as f32 * 1e-3; // micro-meters [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 43s [INFO] running `Command { std: "docker" "inspect" "d5cd4a5c696b49e84daaf9293c966cbfdcff970c6013d78a40b879f9578a1ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5cd4a5c696b49e84daaf9293c966cbfdcff970c6013d78a40b879f9578a1ea0", kill_on_drop: false }` [INFO] [stdout] d5cd4a5c696b49e84daaf9293c966cbfdcff970c6013d78a40b879f9578a1ea0