[INFO] cloning repository https://github.com/AsteaFrostweb/Rust_Noisemap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AsteaFrostweb/Rust_Noisemap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsteaFrostweb%2FRust_Noisemap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsteaFrostweb%2FRust_Noisemap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fff3d97ba2250a889806f675ce7f9f22a47b23ba [INFO] testing AsteaFrostweb/Rust_Noisemap against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsteaFrostweb%2FRust_Noisemap" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AsteaFrostweb/Rust_Noisemap on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AsteaFrostweb/Rust_Noisemap [INFO] finished tweaking git repo https://github.com/AsteaFrostweb/Rust_Noisemap [INFO] tweaked toml for git repo https://github.com/AsteaFrostweb/Rust_Noisemap written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AsteaFrostweb/Rust_Noisemap 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d5c083f23d8d6ee0291da036c7e3996d909d42ce4943c34af0011f9198c4d7 [INFO] running `Command { std: "docker" "start" "-a" "a5d5c083f23d8d6ee0291da036c7e3996d909d42ce4943c34af0011f9198c4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d5c083f23d8d6ee0291da036c7e3996d909d42ce4943c34af0011f9198c4d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d5c083f23d8d6ee0291da036c7e3996d909d42ce4943c34af0011f9198c4d7", kill_on_drop: false }` [INFO] [stdout] a5d5c083f23d8d6ee0291da036c7e3996d909d42ce4943c34af0011f9198c4d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a2beee5e9dd62ac97fb3edb1c31482e54b65b37bff68f1c163007dc38fa7c76 [INFO] running `Command { std: "docker" "start" "-a" "0a2beee5e9dd62ac97fb3edb1c31482e54b65b37bff68f1c163007dc38fa7c76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bevy_ptr v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling bevy_tasks v0.12.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling bevy_macro_utils v0.12.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling accesskit v0.12.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling encase_derive_impl v0.6.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling profiling v1.0.13 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.12.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.12.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.12.1 [INFO] [stderr] Compiling bevy_derive v0.12.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling bevy_asset_macros v0.12.1 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Compiling constgebra v0.1.3 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling encase_derive v0.6.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bevy_encase_derive v0.12.1 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling ruzstd v0.4.0 [INFO] [stderr] Compiling bevy_render_macros v0.12.1 [INFO] [stderr] Compiling ktx2 v0.3.0 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling gilrs v0.10.4 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling grid v0.10.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling bevy_math v0.12.1 [INFO] [stderr] Compiling encase v0.6.1 [INFO] [stderr] Compiling hexasphere v9.1.0 [INFO] [stderr] Compiling bevy_utils v0.12.1 [INFO] [stderr] Compiling bevy_mikktspace v0.12.1 [INFO] [stderr] Compiling bevy_reflect v0.12.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling gilrs-core v0.5.10 [INFO] [stderr] Compiling taffy v0.3.18 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling gltf-json v1.4.0 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling accesskit_winit v0.15.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libnoise v1.1.1 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling naga_oil v0.10.1 [INFO] [stderr] Compiling gltf v1.4.0 [INFO] [stderr] Compiling bevy_ecs v0.12.1 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling bevy_app v0.12.1 [INFO] [stderr] Compiling bevy_log v0.12.1 [INFO] [stderr] Compiling bevy_core v0.12.1 [INFO] [stderr] Compiling bevy_input v0.12.1 [INFO] [stderr] Compiling bevy_time v0.12.1 [INFO] [stderr] Compiling bevy_hierarchy v0.12.1 [INFO] [stderr] Compiling bevy_a11y v0.12.1 [INFO] [stderr] Compiling bevy_asset v0.12.1 [INFO] [stderr] Compiling bevy_diagnostic v0.12.1 [INFO] [stderr] Compiling bevy_transform v0.12.1 [INFO] [stderr] Compiling bevy_window v0.12.1 [INFO] [stderr] Compiling bevy_gilrs v0.12.1 [INFO] [stderr] Compiling bevy_audio v0.12.1 [INFO] [stderr] Compiling bevy_render v0.12.1 [INFO] [stderr] Compiling bevy_winit v0.12.1 [INFO] [stderr] Compiling bevy_core_pipeline v0.12.1 [INFO] [stderr] Compiling bevy_animation v0.12.1 [INFO] [stderr] Compiling bevy_scene v0.12.1 [INFO] [stderr] Compiling bevy_sprite v0.12.1 [INFO] [stderr] Compiling bevy_pbr v0.12.1 [INFO] [stderr] Compiling bevy_text v0.12.1 [INFO] [stderr] Compiling bevy_ui v0.12.1 [INFO] [stderr] Compiling bevy_gltf v0.12.1 [INFO] [stderr] Compiling bevy_gizmos v0.12.1 [INFO] [stderr] Compiling bevy_internal v0.12.1 [INFO] [stderr] Compiling bevy v0.12.1 [INFO] [stderr] Compiling noise-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `asset::LoadState`, `render::render_resource::Buffer`, `time`, and `transform::commands` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::{prelude::*, render::render_resource::Buffer, transform::commands, asset::LoadState, time}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/noise.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone, fs::File, io::{Write, Read}, path::Path, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/noise.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stdout] 223 + return self.buffer[(y as usize * self.height) + x as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/noise.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stdout] 227 + self.buffer[(y as usize * self.height) + x as usize] = value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stdout] 124 + if noise_flow.time_since_change < noise_flow.change_interval [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:32:80 [INFO] [stdout] | [INFO] [stdout] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:76 [INFO] [stdout] | [INFO] [stdout] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:62:70 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_image` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | for(handle_image, entity) in &query [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mut query: Query<(&mut Handle, Entity)>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stdout] --> src/noise.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stdout] --> src/noise.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / impl NoiseGenerator2D [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | S: NoiseSource2D, [INFO] [stdout] | |_____________________^ implementation `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stdout] --> src/noise.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stdout] --> src/noise.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / impl NoiseGenerator3D [INFO] [stdout] 147 | | where [INFO] [stdout] 148 | | S: NoiseSource3D, [INFO] [stdout] | |_____________________^ implementation `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_WIDTH` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NOISE_MAP_WIDTH: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NOISE_MAP_HEIGHT: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_DEPTH` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const NOISE_MAP_DEPTH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_SCALAR` is never used [INFO] [stdout] --> src/noise.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DEPTH_SCALAR: f64 = 0.142; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseValues` is never constructed [INFO] [stdout] --> src/noise.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NoiseValues [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoiseValues` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is never used [INFO] [stdout] --> src/noise.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseGenerator2D` is never constructed [INFO] [stdout] --> src/noise.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value_at` is never used [INFO] [stdout] --> src/noise.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 58 | / impl NoiseGenerator2D [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | S: NoiseSource2D, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] 61 | { [INFO] [stdout] 62 | pub fn get_value_at(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinedNoiseGenerator2D` is never constructed [INFO] [stdout] --> src/noise.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CombinedNoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stdout] --> src/noise.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl CombinedNoiseGenerator2D [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 93 | { [INFO] [stdout] 94 | pub fn get_value(&self, x: i32, y: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_weighted_value(&self, x: i32, y: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is never used [INFO] [stdout] --> src/noise.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseGenerator3D` is never constructed [INFO] [stdout] --> src/noise.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value_at` is never used [INFO] [stdout] --> src/noise.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 146 | / impl NoiseGenerator3D [INFO] [stdout] 147 | | where [INFO] [stdout] 148 | | S: NoiseSource3D, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] 149 | { [INFO] [stdout] 150 | pub fn get_value_at(&self, x: i32, y: i32, z: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinedNoiseGenerator3D` is never constructed [INFO] [stdout] --> src/noise.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct CombinedNoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stdout] --> src/noise.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl CombinedNoiseGenerator3D [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 182 | { [INFO] [stdout] 183 | pub fn get_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_weighted_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_values`, `initialize`, `get_value_at`, `set_value_at`, `save`, and `load` are never used [INFO] [stdout] --> src/noise.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl NoiseMap2D [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 211 | { [INFO] [stdout] 212 | pub fn from_values(width: usize, height: usize) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_value_at(&self, x: u32, y: u32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn set_value_at(&mut self, x: u32, y: u32, value: f32) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn load(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/noise.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct NoiseMap3D [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 325 | pub depth: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/noise.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 328 | impl NoiseMap3D [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 329 | { [INFO] [stdout] 330 | pub fn from_values(width: usize, height: usize, depth: usize) -> NoiseMap3D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn set_value_at(&mut self, x: u32, y: u32, z: u32, value: f32) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn populate(&mut self, noise_generator: &CombinedNoiseGenerator3D) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn populate_from_perlin(&mut self, perlin_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn populate_from_simplex(&mut self, simplex_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn populate_from_worley(&mut self, worley_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn get_slice_x(&self, x_level: u32) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn get_slice_y(&self, y_level: u32) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn to_image(&self) -> Image { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 10s [INFO] running `Command { std: "docker" "inspect" "0a2beee5e9dd62ac97fb3edb1c31482e54b65b37bff68f1c163007dc38fa7c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2beee5e9dd62ac97fb3edb1c31482e54b65b37bff68f1c163007dc38fa7c76", kill_on_drop: false }` [INFO] [stdout] 0a2beee5e9dd62ac97fb3edb1c31482e54b65b37bff68f1c163007dc38fa7c76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12e30c8e707f702305dabb73778fe40a5c88479a7a64ad841470902ac9813c0b [INFO] running `Command { std: "docker" "start" "-a" "12e30c8e707f702305dabb73778fe40a5c88479a7a64ad841470902ac9813c0b", kill_on_drop: false }` [INFO] [stderr] Compiling noise-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `asset::LoadState`, `render::render_resource::Buffer`, `time`, and `transform::commands` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::{prelude::*, render::render_resource::Buffer, transform::commands, asset::LoadState, time}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/noise.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone, fs::File, io::{Write, Read}, path::Path, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/noise.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stdout] 223 + return self.buffer[(y as usize * self.height) + x as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/noise.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stdout] 227 + self.buffer[(y as usize * self.height) + x as usize] = value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stdout] 124 + if noise_flow.time_since_change < noise_flow.change_interval [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:32:80 [INFO] [stdout] | [INFO] [stdout] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:76 [INFO] [stdout] | [INFO] [stdout] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_atlases` [INFO] [stdout] --> src/main.rs:62:70 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle_image` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | for(handle_image, entity) in &query [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mut query: Query<(&mut Handle, Entity)>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stdout] --> src/noise.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stdout] --> src/noise.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / impl NoiseGenerator2D [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | S: NoiseSource2D, [INFO] [stdout] | |_____________________^ implementation `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stdout] --> src/noise.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stdout] --> src/noise.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / impl NoiseGenerator3D [INFO] [stdout] 147 | | where [INFO] [stdout] 148 | | S: NoiseSource3D, [INFO] [stdout] | |_____________________^ implementation `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/noise.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_WIDTH` is never used [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NOISE_MAP_WIDTH: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NOISE_MAP_HEIGHT: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOISE_MAP_DEPTH` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const NOISE_MAP_DEPTH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/main.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_SCALAR` is never used [INFO] [stdout] --> src/noise.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DEPTH_SCALAR: f64 = 0.142; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseValues` is never constructed [INFO] [stdout] --> src/noise.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NoiseValues [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoiseValues` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource2D` is never used [INFO] [stdout] --> src/noise.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait NoiseSource2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseGenerator2D` is never constructed [INFO] [stdout] --> src/noise.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct NoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value_at` is never used [INFO] [stdout] --> src/noise.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 58 | / impl NoiseGenerator2D [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | S: NoiseSource2D, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] 61 | { [INFO] [stdout] 62 | pub fn get_value_at(&self, x: i32, y: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinedNoiseGenerator2D` is never constructed [INFO] [stdout] --> src/noise.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CombinedNoiseGenerator2D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stdout] --> src/noise.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl CombinedNoiseGenerator2D [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 93 | { [INFO] [stdout] 94 | pub fn get_value(&self, x: i32, y: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_weighted_value(&self, x: i32, y: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoiseSource3D` is never used [INFO] [stdout] --> src/noise.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | trait NoiseSource3D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoiseGenerator3D` is never constructed [INFO] [stdout] --> src/noise.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value_at` is never used [INFO] [stdout] --> src/noise.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 146 | / impl NoiseGenerator3D [INFO] [stdout] 147 | | where [INFO] [stdout] 148 | | S: NoiseSource3D, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] 149 | { [INFO] [stdout] 150 | pub fn get_value_at(&self, x: i32, y: i32, z: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinedNoiseGenerator3D` is never constructed [INFO] [stdout] --> src/noise.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct CombinedNoiseGenerator3D [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stdout] --> src/noise.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl CombinedNoiseGenerator3D [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 182 | { [INFO] [stdout] 183 | pub fn get_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_weighted_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_values`, `initialize`, `get_value_at`, `set_value_at`, `save`, and `load` are never used [INFO] [stdout] --> src/noise.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl NoiseMap2D [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 211 | { [INFO] [stdout] 212 | pub fn from_values(width: usize, height: usize) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_value_at(&self, x: u32, y: u32) -> f32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn set_value_at(&mut self, x: u32, y: u32, value: f32) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn load(path: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> src/noise.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 321 | pub struct NoiseMap3D [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 325 | pub depth: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/noise.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 328 | impl NoiseMap3D [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 329 | { [INFO] [stdout] 330 | pub fn from_values(width: usize, height: usize, depth: usize) -> NoiseMap3D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn set_value_at(&mut self, x: u32, y: u32, z: u32, value: f32) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn populate(&mut self, noise_generator: &CombinedNoiseGenerator3D) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn populate_from_perlin(&mut self, perlin_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn populate_from_simplex(&mut self, simplex_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn populate_from_worley(&mut self, worley_generator: &NoiseGenerator3D>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn get_slice_x(&self, x_level: u32) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn get_slice_y(&self, y_level: u32) -> NoiseMap2D [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn to_image(&self) -> Image { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.15s [INFO] running `Command { std: "docker" "inspect" "12e30c8e707f702305dabb73778fe40a5c88479a7a64ad841470902ac9813c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e30c8e707f702305dabb73778fe40a5c88479a7a64ad841470902ac9813c0b", kill_on_drop: false }` [INFO] [stdout] 12e30c8e707f702305dabb73778fe40a5c88479a7a64ad841470902ac9813c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e67869cf91e002d6805a9d22db63cf75735f1e33795b8bcb3ee171b173295405 [INFO] running `Command { std: "docker" "start" "-a" "e67869cf91e002d6805a9d22db63cf75735f1e33795b8bcb3ee171b173295405", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `asset::LoadState`, `render::render_resource::Buffer`, `time`, and `transform::commands` [INFO] [stderr] --> src/main.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use bevy::{prelude::*, render::render_resource::Buffer, transform::commands, asset::LoadState, time}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `clone` [INFO] [stderr] --> src/noise.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{clone, fs::File, io::{Write, Read}, path::Path, usize}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/noise.rs:223:28 [INFO] [stderr] | [INFO] [stderr] 223 | return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 223 - return self.buffer[((y as usize * self.height) + x as usize)] [INFO] [stderr] 223 + return self.buffer[(y as usize * self.height) + x as usize] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/noise.rs:227:21 [INFO] [stderr] | [INFO] [stderr] 227 | self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 227 - self.buffer[((y as usize * self.height) + x as usize)] = value; [INFO] [stderr] 227 + self.buffer[(y as usize * self.height) + x as usize] = value; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:124:7 [INFO] [stderr] | [INFO] [stderr] 124 | if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 124 - if(noise_flow.time_since_change < noise_flow.change_interval) [INFO] [stderr] 124 + if noise_flow.time_since_change < noise_flow.change_interval [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `texture_atlases` [INFO] [stderr] --> src/main.rs:32:80 [INFO] [stderr] | [INFO] [stderr] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:32:76 [INFO] [stderr] | [INFO] [stderr] 32 | fn setup_from_load(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `texture_atlases` [INFO] [stderr] --> src/main.rs:62:70 [INFO] [stderr] | [INFO] [stderr] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_atlases` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:62:66 [INFO] [stderr] | [INFO] [stderr] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handle_image` [INFO] [stderr] --> src/main.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | for(handle_image, entity) in &query [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle_image` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | mut query: Query<(&mut Handle, Entity)>, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stderr] --> src/noise.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct NoiseGenerator2D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/noise.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | trait NoiseSource2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource2D` is more private than the item `NoiseGenerator2D` [INFO] [stderr] --> src/noise.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | / impl NoiseGenerator2D [INFO] [stderr] 59 | | where [INFO] [stderr] 60 | | S: NoiseSource2D, [INFO] [stderr] | |_____________________^ implementation `NoiseGenerator2D` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `NoiseSource2D` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/noise.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | trait NoiseSource2D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stderr] --> src/noise.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct NoiseGenerator3D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/noise.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | trait NoiseSource3D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource3D` is more private than the item `noise::NoiseGenerator3D` [INFO] [stderr] --> src/noise.rs:146:1 [INFO] [stderr] | [INFO] [stderr] 146 | / impl NoiseGenerator3D [INFO] [stderr] 147 | | where [INFO] [stderr] 148 | | S: NoiseSource3D, [INFO] [stderr] | |_____________________^ implementation `noise::NoiseGenerator3D` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `NoiseSource3D` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/noise.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | trait NoiseSource3D { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NOISE_MAP_WIDTH` is never used [INFO] [stderr] --> src/main.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const NOISE_MAP_WIDTH: usize = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `NOISE_MAP_HEIGHT` is never used [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const NOISE_MAP_HEIGHT: usize = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NOISE_MAP_DEPTH` is never used [INFO] [stderr] --> src/main.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const NOISE_MAP_DEPTH: usize = 1000; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `setup` is never used [INFO] [stderr] --> src/main.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn setup(mut commands: Commands, asset_server: Res, mut texture_atlases: ResMut>) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEPTH_SCALAR` is never used [INFO] [stderr] --> src/noise.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const DEPTH_SCALAR: f64 = 0.142; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NoiseValues` is never constructed [INFO] [stderr] --> src/noise.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct NoiseValues [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NoiseValues` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource2D` is never used [INFO] [stderr] --> src/noise.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | trait NoiseSource2D { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NoiseGenerator2D` is never constructed [INFO] [stderr] --> src/noise.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct NoiseGenerator2D [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_value_at` is never used [INFO] [stderr] --> src/noise.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 58 | / impl NoiseGenerator2D [INFO] [stderr] 59 | | where [INFO] [stderr] 60 | | S: NoiseSource2D, [INFO] [stderr] | |_____________________- method in this implementation [INFO] [stderr] 61 | { [INFO] [stderr] 62 | pub fn get_value_at(&self, x: i32, y: i32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CombinedNoiseGenerator2D` is never constructed [INFO] [stderr] --> src/noise.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct CombinedNoiseGenerator2D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stderr] --> src/noise.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 92 | impl CombinedNoiseGenerator2D [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] 93 | { [INFO] [stderr] 94 | pub fn get_value(&self, x: i32, y: i32) -> f32 [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn get_weighted_value(&self, x: i32, y: i32) -> f32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `NoiseSource3D` is never used [INFO] [stderr] --> src/noise.rs:114:7 [INFO] [stderr] | [INFO] [stderr] 114 | trait NoiseSource3D { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NoiseGenerator3D` is never constructed [INFO] [stderr] --> src/noise.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct NoiseGenerator3D [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_value_at` is never used [INFO] [stderr] --> src/noise.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 146 | / impl NoiseGenerator3D [INFO] [stderr] 147 | | where [INFO] [stderr] 148 | | S: NoiseSource3D, [INFO] [stderr] | |_____________________- method in this implementation [INFO] [stderr] 149 | { [INFO] [stderr] 150 | pub fn get_value_at(&self, x: i32, y: i32, z: i32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CombinedNoiseGenerator3D` is never constructed [INFO] [stderr] --> src/noise.rs:172:12 [INFO] [stderr] | [INFO] [stderr] 172 | pub struct CombinedNoiseGenerator3D [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_value` and `get_weighted_value` are never used [INFO] [stderr] --> src/noise.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 181 | impl CombinedNoiseGenerator3D [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] 182 | { [INFO] [stderr] 183 | pub fn get_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn get_weighted_value(&self, x: i32, y: i32, z: i32) -> f32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_values`, `initialize`, `get_value_at`, `set_value_at`, `save`, and `load` are never used [INFO] [stderr] --> src/noise.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 210 | impl NoiseMap2D [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 211 | { [INFO] [stderr] 212 | pub fn from_values(width: usize, height: usize) -> NoiseMap2D [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | pub fn initialize(&mut self) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn get_value_at(&self, x: u32, y: u32) -> f32 [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | pub fn set_value_at(&mut self, x: u32, y: u32, value: f32) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 259 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 281 | pub fn load(path: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `depth` is never read [INFO] [stderr] --> src/noise.rs:325:9 [INFO] [stderr] | [INFO] [stderr] 321 | pub struct NoiseMap3D [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 325 | pub depth: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/noise.rs:330:12 [INFO] [stderr] | [INFO] [stderr] 328 | impl NoiseMap3D [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 329 | { [INFO] [stderr] 330 | pub fn from_values(width: usize, height: usize, depth: usize) -> NoiseMap3D [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 336 | pub fn initialize(&mut self) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 346 | pub fn set_value_at(&mut self, x: u32, y: u32, z: u32, value: f32) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 351 | pub fn populate(&mut self, noise_generator: &CombinedNoiseGenerator3D) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 369 | pub fn populate_from_perlin(&mut self, perlin_generator: &NoiseGenerator3D>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | pub fn populate_from_simplex(&mut self, simplex_generator: &NoiseGenerator3D>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 403 | pub fn populate_from_worley(&mut self, worley_generator: &NoiseGenerator3D>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 421 | pub fn get_slice_x(&self, x_level: u32) -> NoiseMap2D [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 434 | pub fn get_slice_y(&self, y_level: u32) -> NoiseMap2D [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 464 | pub fn to_image(&self) -> Image { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 496 | pub fn save(&self, path: String) -> Result //returns true if sucessfuly saved and false if not [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `noise-project` (bin "noise-project" test) generated 34 warnings (run `cargo fix --bin "noise-project" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/noise_project-d09cb0cf42053569) [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" "e67869cf91e002d6805a9d22db63cf75735f1e33795b8bcb3ee171b173295405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67869cf91e002d6805a9d22db63cf75735f1e33795b8bcb3ee171b173295405", kill_on_drop: false }` [INFO] [stdout] e67869cf91e002d6805a9d22db63cf75735f1e33795b8bcb3ee171b173295405