[INFO] cloning repository https://github.com/dmyTRUEk/weird-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmyTRUEk/weird-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fweird-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fweird-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d89c86a44d677e90e84629732de37d6f0590563f [INFO] checking dmyTRUEk/weird-game against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fweird-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dmyTRUEk/weird-game [INFO] finished tweaking git repo https://github.com/dmyTRUEk/weird-game [INFO] tweaked toml for git repo https://github.com/dmyTRUEk/weird-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dmyTRUEk/weird-game on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dmyTRUEk/weird-game 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-naga-bridge v29.0.1 [INFO] [stderr] Downloaded bit-set v0.9.1 [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v29.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v29.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-apple v29.0.0 [INFO] [stderr] Downloaded wgpu v29.0.3 [INFO] [stderr] Downloaded spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Downloaded wgpu-types v29.0.1 [INFO] [stderr] Downloaded wgpu-core v29.0.1 [INFO] [stderr] Downloaded wgpu-hal v29.0.1 [INFO] [stderr] Downloaded naga v29.0.1 [INFO] [stderr] Downloaded glam v0.33.1 [INFO] [stderr] Downloaded orbclient v0.3.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9 [INFO] running `Command { std: "docker" "start" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling naga v29.0.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking bit-vec v0.9.1 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling wgpu-hal v29.0.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking bit-set v0.9.1 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking glow v0.17.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling wgpu-core v29.0.1 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling wgpu v29.0.3 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking glam v0.33.1 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking wgpu-types v29.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling toml_edit v0.25.10+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Checking num_enum v0.7.6 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wgpu-naga-bridge v29.0.1 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v29.0.0 [INFO] [stderr] Checking dark-fluxus v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: `feature(generic_const_exprs)` is not supported with the next-generation trait solver [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `-Znext-solver=globally` is currently enabled by default for testing [INFO] [stdout] = note: reverted the setting to `-Znext-solver=coherence` for this crate [INFO] [stdout] = note: the currently stable trait solver will be used for this crate [INFO] [stdout] = note: see issues #160895 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/main.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{cmp::Ordering, collections::VecDeque, f32::consts::{GOLDEN_RATIO, PI, TAU}, time::Instant}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | use glam::{Mat4, Vec2, Vec3, vec2, vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::Color` [INFO] [stdout] --> src/color_u8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::Color; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/consts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::*` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::*` [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use math::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `typesafe_rng::*` [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use typesafe_rng::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils_io::*` [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use utils_io::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_from_fn` has been stable since 1.100.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | vec_from_fn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature(generic_const_exprs)` is not supported with the next-generation trait solver [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `-Znext-solver=globally` is currently enabled by default for testing [INFO] [stdout] = note: reverted the setting to `-Znext-solver=coherence` for this crate [INFO] [stdout] = note: the currently stable trait solver will be used for this crate [INFO] [stdout] = note: see issues #160895 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/main.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{cmp::Ordering, collections::VecDeque, f32::consts::{GOLDEN_RATIO, PI, TAU}, time::Instant}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | use glam::{Mat4, Vec2, Vec3, vec2, vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::Color` [INFO] [stdout] --> src/color_u8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::Color; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/consts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::*` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use consts::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::*` [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use math::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `typesafe_rng::*` [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use typesafe_rng::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils_io::*` [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | use utils_io::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_from_fn` has been stable since 1.100.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | vec_from_fn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2_ext` [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use vec2_ext::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | let mut all_2d_lines: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:733:7 [INFO] [stdout] | [INFO] [stdout] 733 | let mut all_2d_triangles: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/main.rs:2299:5 [INFO] [stdout] | [INFO] [stdout] 2294 | impl StockHistoryScale { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2299 | fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/main.rs:2546:2 [INFO] [stdout] | [INFO] [stdout] 2542 | enum InventoryItem { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 2546 | Text(String), // just for test [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/main.rs:2585:2 [INFO] [stdout] | [INFO] [stdout] 2574 | enum PauseMenuItem { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 2585 | Text(String), // just for test [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_time_dependent` is never used [INFO] [stdout] --> src/main.rs:2719:5 [INFO] [stdout] | [INFO] [stdout] 2624 | impl RenderableObject { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2719 | fn is_time_dependent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `extend_x`, `extend_y`, and `iter` are never used [INFO] [stdout] --> src/array2d.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Array2d { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn extend_x(&mut self, _dx: u32) { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub fn extend_y(&mut self, _dy: u32) { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_elem` and `from_vec_of_vecs` are never used [INFO] [stdout] --> src/array2d.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | impl Array2d where T: Clone { [INFO] [stdout] | --------------------------------- associated functions in this implementation [INFO] [stdout] 115 | pub fn from_elem(x_size: u32, y_size: u32, elem: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn from_vec_of_vecs(_elems: Vec>) -> Self { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/color_u8.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColorU8 { [INFO] [stdout] | ------------ associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub const BLUE : Self = Self::new(0, 0, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub const YELLOW : Self = Self::new(255, 255, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const GRAY_16: Self = Self::new(16, 16, 16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const GRAY_1 : Self = Self::new(1, 1, 1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub const SKY : Self = Self::new(128, 255, 255); [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub const PINK : Self = Self::new(255, 128, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub const LIGHT_YELLOW: Self = Self::new(255, 255, 128); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const SKY_64 : Self = Self::new(64, 255, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub const SKY_32 : Self = Self::new(32, 255, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pub const PINK_64: Self = Self::new(255, 64, 255); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | pub const PINK_32: Self = Self::new(255, 32, 255); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub const DARK_RED : Self = Self::new(128, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub const DARK_GREEN: Self = Self::new(0, 128, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub const DARK_BLUE : Self = Self::new(0, 0, 128); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub const DARK_RED_64 : Self = Self::new(64, 0, 0); [INFO] [stdout] 41 | pub const DARK_RED_32 : Self = Self::new(32, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub const DARK_GREEN_64: Self = Self::new(0, 64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub const DARK_GREEN_32: Self = Self::new(0, 32, 0); [INFO] [stdout] 44 | pub const DARK_BLUE_64 : Self = Self::new(0, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub const DARK_BLUE_32 : Self = Self::new(0, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub const ORANGE : Self = Self::new(255, 128, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub const FUCHSIA: Self = Self::new(255, 0, 128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub const PURPLE : Self = Self::new(128, 0, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | //pub const ? : Self = Self::new(0, 128, 255); [INFO] [stdout] 52 | pub const DARK_ORANGE : Self = Self::new(128, 64, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub const DARK_FUCHSIA: Self = Self::new(128, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | pub const DARK_PURPLE : Self = Self::new(64, 0, 128); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | pub const DARK_ORANGE_64 : Self = Self::new(64, 32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub const DARK_ORANGE_32 : Self = Self::new(32, 16, 0); [INFO] [stdout] 57 | pub const DARK_FUCHSIA_64: Self = Self::new(64, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub const DARK_FUCHSIA_32: Self = Self::new(32, 0, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub const DARK_PURPLE_64 : Self = Self::new(32, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub const DARK_PURPLE_32 : Self = Self::new(16, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexOfMaxMin` is never used [INFO] [stdout] --> src/extensions.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait IndexOfMaxMin { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Extended` is never used [INFO] [stdout] --> src/extensions.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait Extended { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_text_pixels_unchecked` is never used [INFO] [stdout] --> src/font_rendering.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_text_pixels_unchecked(text: &str, mut pos: (i32, i32), scale: u8) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_pixels_unchecked` is never used [INFO] [stdout] --> src/font_rendering.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_char_pixels_unchecked(char: char, pos: (i32, i32), scale: u8) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_custom_char_pixels` is never used [INFO] [stdout] --> src/font_rendering.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn get_custom_char_pixels(bitmap: [u8; 25], pos: (i32, i32), scale: u8, window_wh: (u32, u32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_BITMAP` is never used [INFO] [stdout] --> src/font_rendering.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | const EMPTY_BITMAP: Bitmap = [0; (FONT_W*FONT_H) as usize]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset_xyz_`, `get_xyz_as_tuple`, and `get_linear_combination_` are never used [INFO] [stdout] --> src/lorenz_attractor.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl LorenzAttractor { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn offset_xyz_(self, d: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_xyz_as_tuple(&self) -> (f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_linear_combination_(&self, c: impl Into) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlerp` is never used [INFO] [stdout] --> src/math.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn unlerp(x: f32, a: f32, b: f32) -> f32 { (x - a) / (b - a) } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MoreClamps` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MoreClamps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/math_aliases.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn abs(x: f32) -> f32 { x.abs() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asin` is never used [INFO] [stdout] --> src/math_aliases.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn asin(x: f32) -> f32 { x.asin() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acos` is never used [INFO] [stdout] --> src/math_aliases.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn acos(x: f32) -> f32 { x.acos() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/math_aliases.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sinh(x: f32) -> f32 { x.sinh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/math_aliases.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn cosh(x: f32) -> f32 { x.cosh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asinh` is never used [INFO] [stdout] --> src/math_aliases.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn asinh(x: f32) -> f32 { x.asinh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acosh` is never used [INFO] [stdout] --> src/math_aliases.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn acosh(x: f32) -> f32 { x.acosh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tanh` is never used [INFO] [stdout] --> src/math_aliases.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn tanh(x: f32) -> f32 { x.tanh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atanh` is never used [INFO] [stdout] --> src/math_aliases.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atanh(x: f32) -> f32 { x.atanh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/math_aliases.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sqrt(x: f32) -> f32 { x.sqrt() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log2` is never used [INFO] [stdout] --> src/math_aliases.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn log2(x: f32) -> f32 { x.log2() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log10` is never used [INFO] [stdout] --> src/math_aliases.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn log10(x: f32) -> f32 { x.log10() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hypot` is never used [INFO] [stdout] --> src/math_aliases.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hypot(a: f32, b: f32) -> f32 { a.hypot(b) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET_STR_LOWERCASE` is never used [INFO] [stdout] --> src/misc.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const ALPHABET_STR_LOWERCASE: &str = "abcdefghijklmnopqrstuvwxyz"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET_STR_UPPERCASE` is never used [INFO] [stdout] --> src/misc.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const ALPHABET_STR_UPPERCASE: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET_LOWERCASE` is never used [INFO] [stdout] --> src/misc.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub const ALPHABET_LOWERCASE: [char; 26] = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v',... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToVertexNC` is never used [INFO] [stdout] --> src/renderable_shapes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ToVertexNC { fn to_vertex(self, color: ColorU8) -> Vertex; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToVerticesNC` is never used [INFO] [stdout] --> src/renderable_shapes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait ToVerticesNC { fn to_vertices(self, color: ColorU8) -> [Vertex; N]; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/renderable_shapes.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum RenderableShape { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 20 | Points3d_(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Points3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | Points3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | Lines3d_(Vec), [INFO] [stdout] 24 | Lines3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Lines3dNC_(Vec), [INFO] [stdout] 26 | LineStrip3d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | LineStrip3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | LineStrip3dNC_(Vec), [INFO] [stdout] 29 | Triangles3d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | Triangles3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Triangles3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Quads3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | Quads3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | [INFO] [stdout] 39 | Points2d_(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | Points2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | Points2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | Lines2d_(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | Lines2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | Lines2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | LineStrip2d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | LineStrip2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | LineStrip2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | Triangles2d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | Triangles2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Triangles2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderableShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderable_shapes_3d.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | impl Triangle3dNC { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 177 | fn new(a: Vec3, b: Vec3, c: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_triangles` are never used [INFO] [stdout] --> src/renderable_shapes_3d.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 258 | impl Quad3dNC { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 259 | fn new(a: Vec3, b: Vec3, c: Vec3, d: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn to_triangles(self, color: ColorU8) -> [Triangle3dOC; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bought_at_full` and `get_sold_at_full` are never used [INFO] [stdout] --> src/stock_market.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl Stock { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_bought_at_full(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_sold_at_full(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TypesafeRNG` is never used [INFO] [stdout] --> src/typesafe_rng.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TypesafeRNG { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_str_to_u64_simple` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn hash_str_to_u64_simple(s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec2_ext.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ExtVec2 { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 10 | fn from_x(x: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn from_y(y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | fn from_xy(x: impl Into_, y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | fn xy0(self) -> Vec3; [INFO] [stdout] 14 | fn x0y(self) -> Vec3; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | fn _0xy(self) -> Vec3; [INFO] [stdout] 16 | fn random_unit_square(rng: &mut impl RngExt) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn random_unit(rng: &mut impl RngExt) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | fn flip_x_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | fn flip_y_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_x`, `from_z`, `from_yz`, `from_xy`, `from_xyz`, and `flip_y_if` are never used [INFO] [stdout] --> src/vec3_ext.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ExtVec3 { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 10 | fn from_x(x: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn from_y(y: impl Into_) -> Self; [INFO] [stdout] 12 | fn from_z(z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn from_yz(y: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | fn from_xz(x: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] 15 | fn from_xy(x: impl Into_, y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fn from_xyz(x: impl Into_, y: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn flip_y_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZqqxChar` is never constructed [INFO] [stdout] --> src/zqqx_lang.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ZqqxChar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `quantize` are never used [INFO] [stdout] --> src/zqqx_lang.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | impl ZqqxChar { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(values: [i8; 25]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn quantize(&self) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZqqxLang` is never constructed [INFO] [stdout] --> src/zqqx_lang.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ZqqxLang { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_or_quantize` are never used [INFO] [stdout] --> src/zqqx_lang.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | impl ZqqxLang { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_or_quantize(&mut self, new_char: ZqqxChar) -> ZqqxChar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2_ext` [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use vec2_ext::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | let mut all_2d_lines: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:733:7 [INFO] [stdout] | [INFO] [stdout] 733 | let mut all_2d_triangles: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/main.rs:2299:5 [INFO] [stdout] | [INFO] [stdout] 2294 | impl StockHistoryScale { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2299 | fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/main.rs:2546:2 [INFO] [stdout] | [INFO] [stdout] 2542 | enum InventoryItem { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 2546 | Text(String), // just for test [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/main.rs:2585:2 [INFO] [stdout] | [INFO] [stdout] 2574 | enum PauseMenuItem { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 2585 | Text(String), // just for test [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_time_dependent` is never used [INFO] [stdout] --> src/main.rs:2719:5 [INFO] [stdout] | [INFO] [stdout] 2624 | impl RenderableObject { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2719 | fn is_time_dependent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `extend_x`, `extend_y`, and `iter` are never used [INFO] [stdout] --> src/array2d.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Array2d { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn extend_x(&mut self, _dx: u32) { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | pub fn extend_y(&mut self, _dy: u32) { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vec_of_vecs` is never used [INFO] [stdout] --> src/array2d.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 114 | impl Array2d where T: Clone { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn from_vec_of_vecs(_elems: Vec>) -> Self { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/color_u8.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColorU8 { [INFO] [stdout] | ------------ associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub const BLUE : Self = Self::new(0, 0, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub const YELLOW : Self = Self::new(255, 255, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const GRAY_16: Self = Self::new(16, 16, 16); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const GRAY_1 : Self = Self::new(1, 1, 1); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub const SKY : Self = Self::new(128, 255, 255); [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub const PINK : Self = Self::new(255, 128, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub const LIGHT_YELLOW: Self = Self::new(255, 255, 128); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const SKY_64 : Self = Self::new(64, 255, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub const SKY_32 : Self = Self::new(32, 255, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | pub const PINK_64: Self = Self::new(255, 64, 255); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | pub const PINK_32: Self = Self::new(255, 32, 255); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub const DARK_RED : Self = Self::new(128, 0, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub const DARK_GREEN: Self = Self::new(0, 128, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub const DARK_BLUE : Self = Self::new(0, 0, 128); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | pub const DARK_RED_64 : Self = Self::new(64, 0, 0); [INFO] [stdout] 41 | pub const DARK_RED_32 : Self = Self::new(32, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub const DARK_GREEN_64: Self = Self::new(0, 64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub const DARK_GREEN_32: Self = Self::new(0, 32, 0); [INFO] [stdout] 44 | pub const DARK_BLUE_64 : Self = Self::new(0, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub const DARK_BLUE_32 : Self = Self::new(0, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub const ORANGE : Self = Self::new(255, 128, 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub const FUCHSIA: Self = Self::new(255, 0, 128); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub const PURPLE : Self = Self::new(128, 0, 255); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | //pub const ? : Self = Self::new(0, 128, 255); [INFO] [stdout] 52 | pub const DARK_ORANGE : Self = Self::new(128, 64, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub const DARK_FUCHSIA: Self = Self::new(128, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | pub const DARK_PURPLE : Self = Self::new(64, 0, 128); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | pub const DARK_ORANGE_64 : Self = Self::new(64, 32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub const DARK_ORANGE_32 : Self = Self::new(32, 16, 0); [INFO] [stdout] 57 | pub const DARK_FUCHSIA_64: Self = Self::new(64, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub const DARK_FUCHSIA_32: Self = Self::new(32, 0, 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub const DARK_PURPLE_64 : Self = Self::new(32, 0, 64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub const DARK_PURPLE_32 : Self = Self::new(16, 0, 32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexOfMaxMin` is never used [INFO] [stdout] --> src/extensions.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait IndexOfMaxMin { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Extended` is never used [INFO] [stdout] --> src/extensions.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait Extended { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_text_pixels_unchecked` is never used [INFO] [stdout] --> src/font_rendering.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_text_pixels_unchecked(text: &str, mut pos: (i32, i32), scale: u8) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_char_pixels_unchecked` is never used [INFO] [stdout] --> src/font_rendering.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_char_pixels_unchecked(char: char, pos: (i32, i32), scale: u8) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_custom_char_pixels` is never used [INFO] [stdout] --> src/font_rendering.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn get_custom_char_pixels(bitmap: [u8; 25], pos: (i32, i32), scale: u8, window_wh: (u32, u32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY_BITMAP` is never used [INFO] [stdout] --> src/font_rendering.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | const EMPTY_BITMAP: Bitmap = [0; (FONT_W*FONT_H) as usize]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset_xyz_`, `get_xyz_as_tuple`, and `get_linear_combination_` are never used [INFO] [stdout] --> src/lorenz_attractor.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl LorenzAttractor { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn offset_xyz_(self, d: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_xyz_as_tuple(&self) -> (f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_linear_combination_(&self, c: impl Into) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlerp` is never used [INFO] [stdout] --> src/math.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn unlerp(x: f32, a: f32, b: f32) -> f32 { (x - a) / (b - a) } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MoreClamps` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MoreClamps { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/math_aliases.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn abs(x: f32) -> f32 { x.abs() } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asin` is never used [INFO] [stdout] --> src/math_aliases.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn asin(x: f32) -> f32 { x.asin() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acos` is never used [INFO] [stdout] --> src/math_aliases.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn acos(x: f32) -> f32 { x.acos() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/math_aliases.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sinh(x: f32) -> f32 { x.sinh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/math_aliases.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn cosh(x: f32) -> f32 { x.cosh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asinh` is never used [INFO] [stdout] --> src/math_aliases.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn asinh(x: f32) -> f32 { x.asinh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acosh` is never used [INFO] [stdout] --> src/math_aliases.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn acosh(x: f32) -> f32 { x.acosh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tanh` is never used [INFO] [stdout] --> src/math_aliases.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn tanh(x: f32) -> f32 { x.tanh() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atanh` is never used [INFO] [stdout] --> src/math_aliases.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn atanh(x: f32) -> f32 { x.atanh() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/math_aliases.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sqrt(x: f32) -> f32 { x.sqrt() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log2` is never used [INFO] [stdout] --> src/math_aliases.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn log2(x: f32) -> f32 { x.log2() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log10` is never used [INFO] [stdout] --> src/math_aliases.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn log10(x: f32) -> f32 { x.log10() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hypot` is never used [INFO] [stdout] --> src/math_aliases.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hypot(a: f32, b: f32) -> f32 { a.hypot(b) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET_STR_LOWERCASE` is never used [INFO] [stdout] --> src/misc.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const ALPHABET_STR_LOWERCASE: &str = "abcdefghijklmnopqrstuvwxyz"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET_STR_UPPERCASE` is never used [INFO] [stdout] --> src/misc.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const ALPHABET_STR_UPPERCASE: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToVertexNC` is never used [INFO] [stdout] --> src/renderable_shapes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ToVertexNC { fn to_vertex(self, color: ColorU8) -> Vertex; } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToVerticesNC` is never used [INFO] [stdout] --> src/renderable_shapes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait ToVerticesNC { fn to_vertices(self, color: ColorU8) -> [Vertex; N]; } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/renderable_shapes.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum RenderableShape { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 20 | Points3d_(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Points3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | Points3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | Lines3d_(Vec), [INFO] [stdout] 24 | Lines3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Lines3dNC_(Vec), [INFO] [stdout] 26 | LineStrip3d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | LineStrip3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 28 | LineStrip3dNC_(Vec), [INFO] [stdout] 29 | Triangles3d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | Triangles3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Triangles3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Quads3dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | Quads3dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | [INFO] [stdout] 39 | Points2d_(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | Points2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | Points2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | Lines2d_(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | Lines2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | Lines2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | LineStrip2d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | LineStrip2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | LineStrip2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | Triangles2d_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | Triangles2dOC_(Vec, ColorU8), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Triangles2dNC_(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderableShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderable_shapes_3d.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | impl Triangle3dNC { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 177 | fn new(a: Vec3, b: Vec3, c: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_triangles` are never used [INFO] [stdout] --> src/renderable_shapes_3d.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 258 | impl Quad3dNC { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 259 | fn new(a: Vec3, b: Vec3, c: Vec3, d: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn to_triangles(self, color: ColorU8) -> [Triangle3dOC; 2] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bought_at_full` and `get_sold_at_full` are never used [INFO] [stdout] --> src/stock_market.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl Stock { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_bought_at_full(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_sold_at_full(&self) -> &[u32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TypesafeRNG` is never used [INFO] [stdout] --> src/typesafe_rng.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TypesafeRNG { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_str_to_u64_simple` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn hash_str_to_u64_simple(s: &str) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec2_ext.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ExtVec2 { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 10 | fn from_x(x: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn from_y(y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | fn from_xy(x: impl Into_, y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | fn xy0(self) -> Vec3; [INFO] [stdout] 14 | fn x0y(self) -> Vec3; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | fn _0xy(self) -> Vec3; [INFO] [stdout] 16 | fn random_unit_square(rng: &mut impl RngExt) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn random_unit(rng: &mut impl RngExt) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | fn flip_x_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | fn flip_y_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_x`, `from_z`, `from_yz`, `from_xy`, `from_xyz`, and `flip_y_if` are never used [INFO] [stdout] --> src/vec3_ext.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ExtVec3 { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] 10 | fn from_x(x: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn from_y(y: impl Into_) -> Self; [INFO] [stdout] 12 | fn from_z(z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn from_yz(y: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | fn from_xz(x: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] 15 | fn from_xy(x: impl Into_, y: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fn from_xyz(x: impl Into_, y: impl Into_, z: impl Into_) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn flip_y_if(self, flip: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZqqxChar` is never constructed [INFO] [stdout] --> src/zqqx_lang.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ZqqxChar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `quantize` are never used [INFO] [stdout] --> src/zqqx_lang.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | impl ZqqxChar { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(values: [i8; 25]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn quantize(&self) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZqqxLang` is never constructed [INFO] [stdout] --> src/zqqx_lang.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ZqqxLang { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_or_quantize` are never used [INFO] [stdout] --> src/zqqx_lang.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | impl ZqqxLang { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_or_quantize(&mut self, new_char: ZqqxChar) -> ZqqxChar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | let Y = base_y + dy; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/font_rendering.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | let X = base_x + dx; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.28s [INFO] running `Command { std: "docker" "inspect" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9", kill_on_drop: false }` [INFO] [stdout] 0689846d054d2c20b0d704d12b2adc7d55afa316f467bed63143037e233dd8d9