[INFO] cloning repository https://github.com/Merlotec/nees [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Merlotec/nees" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerlotec%2Fnees", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerlotec%2Fnees'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9eecb5421223356dc7410720eea98c69f72c61a3 [INFO] checking Merlotec/nees against try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerlotec%2Fnees" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Merlotec/nees on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Merlotec/nees [INFO] finished tweaking git repo https://github.com/Merlotec/nees [INFO] tweaked toml for git repo https://github.com/Merlotec/nees written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Merlotec/nees 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" "+da4929024a7261062885cb3209c9d7fdc919d233" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7132eede5f5547da537c762af067e76f38d9f61153a385e27504ee54671a3a79 [INFO] running `Command { std: "docker" "start" "-a" "7132eede5f5547da537c762af067e76f38d9f61153a385e27504ee54671a3a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7132eede5f5547da537c762af067e76f38d9f61153a385e27504ee54671a3a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7132eede5f5547da537c762af067e76f38d9f61153a385e27504ee54671a3a79", kill_on_drop: false }` [INFO] [stdout] 7132eede5f5547da537c762af067e76f38d9f61153a385e27504ee54671a3a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 933f18f8184053d76e73f1c57750c48dc0d24cb1aab35c844b4dd5f9be5e17ae [INFO] running `Command { std: "docker" "start" "-a" "933f18f8184053d76e73f1c57750c48dc0d24cb1aab35c844b4dd5f9be5e17ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-lite v2.5.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking bevy_ptr v0.14.2 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking bevy_tasks v0.14.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking const_panic v0.2.10 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Checking ruzstd v0.7.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking svg_fmt v0.4.4 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lyon_geom v1.0.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking svgtypes v0.12.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking lyon_path v1.0.6 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling bevy_macro_utils v0.14.2 [INFO] [stderr] Compiling encase_derive_impl v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.2 [INFO] [stderr] Compiling bevy_derive v0.14.2 [INFO] [stderr] Compiling encase_derive v0.8.0 [INFO] [stderr] Compiling bevy_asset_macros v0.14.2 [INFO] [stderr] Compiling bevy_render_macros v0.14.2 [INFO] [stderr] Compiling bevy_encase_derive v0.14.2 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling bevy_state_macros v0.14.2 [INFO] [stderr] Compiling bevy_gizmos_macros v0.14.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking bevy_utils v0.14.2 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking rodio v0.18.1 [INFO] [stderr] Checking bevy_reflect v0.14.2 [INFO] [stderr] Checking encase v0.8.0 [INFO] [stderr] Checking bevy_mikktspace v0.14.2 [INFO] [stderr] Checking hexasphere v12.0.0 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bevy_ecs v0.14.2 [INFO] [stderr] Checking bevy_math v0.14.2 [INFO] [stderr] Checking accesskit_winit v0.20.4 [INFO] [stderr] Checking naga_oil v0.14.0 [INFO] [stderr] Checking bevy_color v0.14.3 [INFO] [stderr] Checking bevy_app v0.14.2 [INFO] [stderr] Checking bevy_core v0.14.2 [INFO] [stderr] Checking bevy_a11y v0.14.2 [INFO] [stderr] Checking bevy_time v0.14.2 [INFO] [stderr] Checking bevy_asset v0.14.2 [INFO] [stderr] Checking bevy_log v0.14.2 [INFO] [stderr] Checking bevy_input v0.14.2 [INFO] [stderr] Checking bevy_window v0.14.2 [INFO] [stderr] Checking bevy_hierarchy v0.14.2 [INFO] [stderr] Checking bevy_diagnostic v0.14.2 [INFO] [stderr] Checking bevy_transform v0.14.2 [INFO] [stderr] Checking bevy_state v0.14.2 [INFO] [stderr] Checking bevy_gilrs v0.14.2 [INFO] [stderr] Checking bevy_winit v0.14.2 [INFO] [stderr] Checking bevy_render v0.14.2 [INFO] [stderr] Checking bevy_audio v0.14.2 [INFO] [stderr] Checking bevy_core_pipeline v0.14.2 [INFO] [stderr] Checking bevy_scene v0.14.2 [INFO] [stderr] Checking bevy_animation v0.14.2 [INFO] [stderr] Checking bevy_sprite v0.14.2 [INFO] [stderr] Checking bevy_pbr v0.14.2 [INFO] [stderr] Checking bevy_text v0.14.2 [INFO] [stderr] Checking bevy_ui v0.14.2 [INFO] [stderr] Checking bevy_gltf v0.14.2 [INFO] [stderr] Checking bevy_gizmos v0.14.2 [INFO] [stderr] Checking bevy_internal v0.14.2 [INFO] [stderr] Checking bevy v0.14.2 [INFO] [stderr] Checking bevy_polyline v0.10.0 [INFO] [stderr] Checking bevy_prototype_lyon v0.12.0 [INFO] [stderr] Checking nees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::solver::fractal` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::solver::fractal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `ops::DerefMut`, and `time::Duration` [INFO] [stdout] --> src/cstats.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::DerefMut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_world` [INFO] [stdout] --> src/cstats.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::distribution::{create_world, DistributionParams}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::RenderAllocation` [INFO] [stdout] --> src/cstats.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::render::RenderAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::scene::ron::value::Float` [INFO] [stdout] --> src/multidim/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::scene::ron::value::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::reflect::Enum` [INFO] [stdout] --> src/multidim/allocate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::reflect::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::matrix_graph::NodeIndex` [INFO] [stdout] --> src/multidim/allocate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::Dfs` [INFO] [stdout] --> src/multidim/allocate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::visit::Dfs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::solver::fractal` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::solver::fractal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `ops::DerefMut`, and `time::Duration` [INFO] [stdout] --> src/cstats.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::DerefMut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::RenderAllocation` [INFO] [stdout] --> src/multidim/allocate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::render::RenderAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_world` [INFO] [stdout] --> src/cstats.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::distribution::{create_world, DistributionParams}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::RenderAllocation` [INFO] [stdout] --> src/cstats.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::render::RenderAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::scene::ron::value::Float` [INFO] [stdout] --> src/multidim/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::scene::ron::value::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::reflect::Enum` [INFO] [stdout] --> src/multidim/allocate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::reflect::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::matrix_graph::NodeIndex` [INFO] [stdout] --> src/multidim/allocate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::visit::Dfs` [INFO] [stdout] --> src/multidim/allocate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::visit::Dfs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::RenderAllocation` [INFO] [stdout] --> src/multidim/allocate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::render::RenderAllocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/multidim/allocate.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/multidim/allocate.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/multidim/allocate.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/multidim/world.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Open01` and `Uniform` [INFO] [stdout] --> src/multidim/world.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Open01, Uniform}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Beta` and `LogNormal` [INFO] [stdout] --> src/multidim/world.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Beta, LogNormal, Normal, StandardNormal}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/multidim/world.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::distribution::DistributionParams` [INFO] [stdout] --> src/multidim/world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::distribution::DistributionParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `House`, `Household`, `School`, and `World` [INFO] [stdout] --> src/multidim/world.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::world::{House, Household, School, World}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/multidim/graph.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::{Direction, Graph}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/multidim/allocate.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/multidim/allocate.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/multidim/allocate.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/multidim/world.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Open01` and `Uniform` [INFO] [stdout] --> src/multidim/world.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Open01, Uniform}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Beta` and `LogNormal` [INFO] [stdout] --> src/multidim/world.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Beta, LogNormal, Normal, StandardNormal}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/multidim/world.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::distribution::DistributionParams` [INFO] [stdout] --> src/multidim/world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::distribution::DistributionParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `House`, `Household`, `School`, and `World` [INFO] [stdout] --> src/multidim/world.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::world::{House, Household, School, World}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/multidim/graph.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::{Direction, Graph}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/multidim/allocate.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | AgentHolder::Agent(a) => write!(f, "Agent"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/multidim/allocate.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | AgentHolder::Deactivated(a) => write!(f, "Deactivated"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/multidim/allocate.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | settings: &FractalSettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multidim/world.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut allocations = super::allocate::root(world.agents, world.items, settings).unwrap(); [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: `a` [INFO] [stdout] --> src/multidim/allocate.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | AgentHolder::Agent(a) => write!(f, "Agent"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/multidim/allocate.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | AgentHolder::Deactivated(a) => write!(f, "Deactivated"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/multidim/allocate.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | settings: &FractalSettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multidim/world.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut allocations = super::allocate::root(world.agents, world.items, settings).unwrap(); [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: `x_step` [INFO] [stdout] --> src/vectorrender.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | x_step: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_step` [INFO] [stdout] --> src/vectorrender.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | y_step: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_step` [INFO] [stdout] --> src/vectorrender.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | x_step: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_step` [INFO] [stdout] --> src/vectorrender.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | y_step: f32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cstat` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_cstat() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_config` is never used [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn run_config() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_cstat` is never used [INFO] [stdout] --> src/cstats.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run_all_cstat( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_repitition` is never used [INFO] [stdout] --> src/cstats.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn cstat_repitition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_inc_mean` is never used [INFO] [stdout] --> src/cstats.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn cstat_inc_mean( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_inc_cv` is never used [INFO] [stdout] --> src/cstats.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn cstat_inc_cv( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_asp_mean` is never used [INFO] [stdout] --> src/cstats.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn cstat_asp_mean( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_asp_std` is never used [INFO] [stdout] --> src/cstats.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn cstat_asp_std( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_loc` is never used [INFO] [stdout] --> src/cstats.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cstat_qual_loc( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_scale` is never used [INFO] [stdout] --> src/cstats.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn cstat_qual_scale( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_separation` is never used [INFO] [stdout] --> src/cstats.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cstat_qual_separation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_params` is never used [INFO] [stdout] --> src/cstats.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn run_params( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_worlds` is never used [INFO] [stdout] --> src/cstats.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn run_worlds( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_world` is never used [INFO] [stdout] --> src/distribution.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn create_world(school_count: usize, house_count: usize, params: &DistributionParams) -> World [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_allocations_to_csv` is never used [INFO] [stdout] --> src/export.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn serialize_allocations_to_csv( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn favourite< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn min_favourite< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn max_favourite< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NoIndifference`, `InvalidInsertion`, `NoIntermediateAgent`, `UnconstrainedBoundary`, and `ConstraintBreach` are never constructed [INFO] [stdout] --> src/multidim/allocate.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum FractalError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 20 | /// No price found that makes an agent indifferent between two reference qualities. [INFO] [stdout] 21 | NoIndifference, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | InvalidInsertion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// Required an intermediate agent for realignment, but none was available. [INFO] [stdout] 31 | NoIntermediateAgent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | UnconstrainedBoundary(Index), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | /// Similar to constraint violation, but hypothetical. [INFO] [stdout] 37 | ConstraintBreach, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_agent` is never used [INFO] [stdout] --> src/multidim/allocate.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl> AgentHolder { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 76 | /// Checks if this holder currently contains an agent. [INFO] [stdout] 77 | pub fn has_agent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_quality` is never used [INFO] [stdout] --> src/multidim/allocate.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn debug_quality(q: &[F; D]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_integrity` is never used [INFO] [stdout] --> src/multidim/allocate.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn verify_integrity< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_bfs_with_termination` is never used [INFO] [stdout] --> src/multidim/graph.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn reverse_bfs_with_termination< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_RAD` is never used [INFO] [stdout] --> src/render.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CIRCLE_RAD: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_CUR_COL` is never used [INFO] [stdout] --> src/render.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const CIRCLE_CUR_COL: Srgba = Srgba::GREEN; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_COL` is never used [INFO] [stdout] --> src/render.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CIRCLE_COL: Srgba = Srgba::new(0.6, 0.6, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_SEL_COL` is never used [INFO] [stdout] --> src/render.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CIRCLE_SEL_COL: Srgba = Srgba::new(1.0, 0.65, 0.01, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_COL` is never used [INFO] [stdout] --> src/render.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const LINE_COL: Srgba = Srgba::new(0.45, 0.4, 0.4, 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_SEL_COL` is never used [INFO] [stdout] --> src/render.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const LINE_SEL_COL: Srgba = Srgba::new(0.9, 0.6, 0.6, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_COL` is never used [INFO] [stdout] --> src/render.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BG_COL: Srgba = Srgba::WHITE; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_WIDTH` is never used [INFO] [stdout] --> src/render.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const LINE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderAllocation` is never constructed [INFO] [stdout] --> src/render.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RenderAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderAllocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `quality` and `from_allocation` are never used [INFO] [stdout] --> src/render.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl RenderAllocation { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 34 | pub fn quality(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_allocation, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationsResource` is never constructed [INFO] [stdout] --> src/render.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct AllocationsResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocationsResource` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoveredAllocation` is never constructed [INFO] [stdout] --> src/render.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct HoveredAllocation(Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoveredAllocation` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewBounds` is never constructed [INFO] [stdout] --> src/render.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct ViewBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewBounds` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationEntity` is never constructed [INFO] [stdout] --> src/render.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct AllocationEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndifferenceCurve` is never constructed [INFO] [stdout] --> src/render.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct IndifferenceCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/render.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn setup(mut commands: Commands, asset_server: Res, window: Query<&mut Window>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_bounds` is never used [INFO] [stdout] --> src/render.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn compute_bounds(allocations: &Vec) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> src/render.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_allocations` is never used [INFO] [stdout] --> src/render.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn draw_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_to_world` is never used [INFO] [stdout] --> src/render.rs:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | fn window_to_world(position: Vec2, window: &Window, camera: &Transform) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_hovering` is never used [INFO] [stdout] --> src/render.rs:431:4 [INFO] [stdout] | [INFO] [stdout] 431 | fn handle_hovering( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_info_texts` is never used [INFO] [stdout] --> src/render.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn clear_info_texts(mut commands: Commands, query: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_test` is never used [INFO] [stdout] --> src/render.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn render_test(to_allocate: Arc>>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_solution` is never used [INFO] [stdout] --> src/solver/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn verify_solution, I: Item>(allocations: &[Allocation], epsilon: F, m... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn min_favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn max_favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indifferent_quality` is never used [INFO] [stdout] --> src/solver/utility.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn indifferent_quality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_indifference_curve` is never used [INFO] [stdout] --> src/solver/utility.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_indifference_curve( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FractalError` is never used [INFO] [stdout] --> src/solver/fractal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum FractalError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FractalResult` is never used [INFO] [stdout] --> src/solver/fractal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type FractalResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FractalSettings` is never constructed [INFO] [stdout] --> src/solver/fractal.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FractalSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Agent` are never constructed [INFO] [stdout] --> src/solver/fractal.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum AgentHolder { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 45 | /// No agent currently held. [INFO] [stdout] 46 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | /// An agent is stored here. [INFO] [stdout] 48 | Agent(A), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentHolder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_agent`, `take`, and `to_option` are never used [INFO] [stdout] --> src/solver/fractal.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl AgentHolder { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 52 | /// Checks if this holder currently contains an agent. [INFO] [stdout] 53 | pub fn has_agent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn take(&mut self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn to_option(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up` and `Down` are never constructed [INFO] [stdout] --> src/solver/fractal.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 101 | /// Realign by moving allocations toward higher indices. [INFO] [stdout] 102 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | /// Realign by moving allocations toward lower indices. [INFO] [stdout] 104 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Envelope` is never constructed [INFO] [stdout] --> src/solver/fractal.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Envelope<'a, F: num::Float, A: Agent, I: Item> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Envelope` 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/solver/fractal.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a, F: num::Float, A: Agent, I: Item> Envelope<'a, F, A, I> { [INFO] [stdout] | ---------------------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 122 | /// Constructs a new Envelope given a slice of allocations, an envelope point, a source point, and a direction. [INFO] [stdout] 123 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `align` is never used [INFO] [stdout] --> src/solver/fractal.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 138 | / impl<'a, F: num::Float, A: Agent, I: Item> [INFO] [stdout] 139 | | Envelope<'a, F, AgentHolder, I> [INFO] [stdout] | |______________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn align(&mut self, settings: &FractalSettings) -> FractalResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `displace` is never used [INFO] [stdout] --> src/solver/fractal.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn displace, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_agent_up` is never used [INFO] [stdout] --> src/solver/fractal.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn next_agent_up>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_agent_down` is never used [INFO] [stdout] --> src/solver/fractal.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn next_agent_down>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partial_boundary` is never used [INFO] [stdout] --> src/solver/fractal.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn partial_boundary, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boundary` is never used [INFO] [stdout] --> src/solver/fractal.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn boundary, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recover_agents` is never used [INFO] [stdout] --> src/solver/fractal.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn recover_agents, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_align_down` is never used [INFO] [stdout] --> src/solver/fractal.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn try_align_down, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_align_up` is never used [INFO] [stdout] --> src/solver/fractal.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn try_align_up, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `allocate` is never used [INFO] [stdout] --> src/solver/fractal.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn allocate, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/solver/fractal.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn root, I: Item>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_BG_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SVG_BG_COLOR: &str = "#FFFFFF00"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_AXIS_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SVG_AXIS_COLOR: &str = "#000000"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_AXIS_STROKE_WIDTH` is never used [INFO] [stdout] --> src/vectorrender.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SVG_AXIS_STROKE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LINE_COLOR: &str = "#666666"; // similar to (0.45, 0.4, 0.4) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_CURRENT_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LINE_CURRENT_COLOR: &str = "#00FF00"; // green [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_WIDTH` is never used [INFO] [stdout] --> src/vectorrender.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const LINE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CIRCLE_COLOR: &str = "#0000FF"; // similar to (0.6, 0.6, 1.0) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_CURRENT_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CIRCLE_CURRENT_COLOR: &str = "#00FF00"; // green circle for current [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_RADIUS` is never used [INFO] [stdout] --> src/vectorrender.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CIRCLE_RADIUS: f32 = 7.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AXIS_LABEL_FONT_SIZE` is never used [INFO] [stdout] --> src/vectorrender.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const AXIS_LABEL_FONT_SIZE: f32 = 20.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICK_LABEL_FONT_SIZE` is never used [INFO] [stdout] --> src/vectorrender.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const TICK_LABEL_FONT_SIZE: f32 = 17.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LABEL_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const LABEL_COLOR: &str = "#000000"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_bounds` is never used [INFO] [stdout] --> src/vectorrender.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn compute_bounds(allocations: &[RenderAllocation]) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nice_tick_interval` is never used [INFO] [stdout] --> src/vectorrender.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn nice_tick_interval(range: f32, desired_steps: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decimals_for_step` is never used [INFO] [stdout] --> src/vectorrender.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn decimals_for_step(step: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_number` is never used [INFO] [stdout] --> src/vectorrender.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn format_number(value: f32, decimals: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_auto_margin` is never used [INFO] [stdout] --> src/vectorrender.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn compute_auto_margin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_allocations_to_svg` is never used [INFO] [stdout] --> src/vectorrender.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn render_allocations_to_svg( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/world.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Household { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 14 | /// Debug information about the household. [INFO] [stdout] 15 | pub fn new(id: usize, income: F, ability: F, aspiration: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_school` are never used [INFO] [stdout] --> src/world.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl House { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(x: F, y: F, school: Option, school_quality: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_school(&mut self, school: usize, quality: F) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate` are never used [INFO] [stdout] --> src/world.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl World { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 112 | /// Creates a new world instance. [INFO] [stdout] 113 | pub fn new(households: Vec>, schools: Vec>, houses: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/multidim/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | F: num::Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | A: Agent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | I: Item, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 10 ~ F, [INFO] [stdout] 11 ~ A, [INFO] [stdout] 12 ~ I, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cstat` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_cstat() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_config` is never used [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn run_config() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_cstat` is never used [INFO] [stdout] --> src/cstats.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run_all_cstat( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_repitition` is never used [INFO] [stdout] --> src/cstats.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn cstat_repitition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_inc_mean` is never used [INFO] [stdout] --> src/cstats.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn cstat_inc_mean( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_inc_cv` is never used [INFO] [stdout] --> src/cstats.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn cstat_inc_cv( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_asp_mean` is never used [INFO] [stdout] --> src/cstats.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn cstat_asp_mean( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_asp_std` is never used [INFO] [stdout] --> src/cstats.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn cstat_asp_std( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_loc` is never used [INFO] [stdout] --> src/cstats.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cstat_qual_loc( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_scale` is never used [INFO] [stdout] --> src/cstats.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn cstat_qual_scale( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstat_qual_separation` is never used [INFO] [stdout] --> src/cstats.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cstat_qual_separation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_params` is never used [INFO] [stdout] --> src/cstats.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn run_params( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_worlds` is never used [INFO] [stdout] --> src/cstats.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn run_worlds( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_world` is never used [INFO] [stdout] --> src/distribution.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn create_world(school_count: usize, house_count: usize, params: &DistributionParams) -> World [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_allocations_to_csv` is never used [INFO] [stdout] --> src/export.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn serialize_allocations_to_csv( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn favourite< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn min_favourite< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_favourite` is never used [INFO] [stdout] --> src/multidim/mod.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn max_favourite< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NoIndifference`, `InvalidInsertion`, `NoIntermediateAgent`, `UnconstrainedBoundary`, and `ConstraintBreach` are never constructed [INFO] [stdout] --> src/multidim/allocate.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum FractalError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 20 | /// No price found that makes an agent indifferent between two reference qualities. [INFO] [stdout] 21 | NoIndifference, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | InvalidInsertion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// Required an intermediate agent for realignment, but none was available. [INFO] [stdout] 31 | NoIntermediateAgent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | UnconstrainedBoundary(Index), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | /// Similar to constraint violation, but hypothetical. [INFO] [stdout] 37 | ConstraintBreach, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_agent` is never used [INFO] [stdout] --> src/multidim/allocate.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl> AgentHolder { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 76 | /// Checks if this holder currently contains an agent. [INFO] [stdout] 77 | pub fn has_agent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_quality` is never used [INFO] [stdout] --> src/multidim/allocate.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn debug_quality(q: &[F; D]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_integrity` is never used [INFO] [stdout] --> src/multidim/allocate.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn verify_integrity< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_bfs_with_termination` is never used [INFO] [stdout] --> src/multidim/graph.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn reverse_bfs_with_termination< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_RAD` is never used [INFO] [stdout] --> src/render.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CIRCLE_RAD: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_CUR_COL` is never used [INFO] [stdout] --> src/render.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const CIRCLE_CUR_COL: Srgba = Srgba::GREEN; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_COL` is never used [INFO] [stdout] --> src/render.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CIRCLE_COL: Srgba = Srgba::new(0.6, 0.6, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_SEL_COL` is never used [INFO] [stdout] --> src/render.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CIRCLE_SEL_COL: Srgba = Srgba::new(1.0, 0.65, 0.01, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_COL` is never used [INFO] [stdout] --> src/render.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const LINE_COL: Srgba = Srgba::new(0.45, 0.4, 0.4, 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_SEL_COL` is never used [INFO] [stdout] --> src/render.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const LINE_SEL_COL: Srgba = Srgba::new(0.9, 0.6, 0.6, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_COL` is never used [INFO] [stdout] --> src/render.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BG_COL: Srgba = Srgba::WHITE; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_WIDTH` is never used [INFO] [stdout] --> src/render.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const LINE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderAllocation` is never constructed [INFO] [stdout] --> src/render.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RenderAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderAllocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `quality` and `from_allocation` are never used [INFO] [stdout] --> src/render.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl RenderAllocation { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 34 | pub fn quality(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_allocation, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationsResource` is never constructed [INFO] [stdout] --> src/render.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct AllocationsResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocationsResource` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoveredAllocation` is never constructed [INFO] [stdout] --> src/render.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct HoveredAllocation(Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoveredAllocation` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewBounds` is never constructed [INFO] [stdout] --> src/render.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct ViewBounds { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewBounds` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocationEntity` is never constructed [INFO] [stdout] --> src/render.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct AllocationEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndifferenceCurve` is never constructed [INFO] [stdout] --> src/render.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct IndifferenceCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/render.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn setup(mut commands: Commands, asset_server: Res, window: Query<&mut Window>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_bounds` is never used [INFO] [stdout] --> src/render.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn compute_bounds(allocations: &Vec) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> src/render.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_allocations` is never used [INFO] [stdout] --> src/render.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn draw_allocations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_to_world` is never used [INFO] [stdout] --> src/render.rs:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | fn window_to_world(position: Vec2, window: &Window, camera: &Transform) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_hovering` is never used [INFO] [stdout] --> src/render.rs:431:4 [INFO] [stdout] | [INFO] [stdout] 431 | fn handle_hovering( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_info_texts` is never used [INFO] [stdout] --> src/render.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn clear_info_texts(mut commands: Commands, query: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_test` is never used [INFO] [stdout] --> src/render.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn render_test(to_allocate: Arc>>>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_solution` is never used [INFO] [stdout] --> src/solver/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn verify_solution, I: Item>(allocations: &[Allocation], epsilon: F, m... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn min_favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_favourite` is never used [INFO] [stdout] --> src/solver/mod.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn max_favourite, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indifferent_quality` is never used [INFO] [stdout] --> src/solver/utility.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn indifferent_quality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_indifference_curve` is never used [INFO] [stdout] --> src/solver/utility.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_indifference_curve( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FractalError` is never used [INFO] [stdout] --> src/solver/fractal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum FractalError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FractalResult` is never used [INFO] [stdout] --> src/solver/fractal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type FractalResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FractalSettings` is never constructed [INFO] [stdout] --> src/solver/fractal.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FractalSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FractalSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Agent` are never constructed [INFO] [stdout] --> src/solver/fractal.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum AgentHolder { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 45 | /// No agent currently held. [INFO] [stdout] 46 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | /// An agent is stored here. [INFO] [stdout] 48 | Agent(A), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentHolder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_agent`, `take`, and `to_option` are never used [INFO] [stdout] --> src/solver/fractal.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl AgentHolder { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 52 | /// Checks if this holder currently contains an agent. [INFO] [stdout] 53 | pub fn has_agent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn take(&mut self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn to_option(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up` and `Down` are never constructed [INFO] [stdout] --> src/solver/fractal.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 101 | /// Realign by moving allocations toward higher indices. [INFO] [stdout] 102 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 103 | /// Realign by moving allocations toward lower indices. [INFO] [stdout] 104 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Envelope` is never constructed [INFO] [stdout] --> src/solver/fractal.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Envelope<'a, F: num::Float, A: Agent, I: Item> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Envelope` 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/solver/fractal.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl<'a, F: num::Float, A: Agent, I: Item> Envelope<'a, F, A, I> { [INFO] [stdout] | ---------------------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 122 | /// Constructs a new Envelope given a slice of allocations, an envelope point, a source point, and a direction. [INFO] [stdout] 123 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `align` is never used [INFO] [stdout] --> src/solver/fractal.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 138 | / impl<'a, F: num::Float, A: Agent, I: Item> [INFO] [stdout] 139 | | Envelope<'a, F, AgentHolder, I> [INFO] [stdout] | |______________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn align(&mut self, settings: &FractalSettings) -> FractalResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `displace` is never used [INFO] [stdout] --> src/solver/fractal.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn displace, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_agent_up` is never used [INFO] [stdout] --> src/solver/fractal.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn next_agent_up>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_agent_down` is never used [INFO] [stdout] --> src/solver/fractal.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn next_agent_down>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partial_boundary` is never used [INFO] [stdout] --> src/solver/fractal.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn partial_boundary, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boundary` is never used [INFO] [stdout] --> src/solver/fractal.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn boundary, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recover_agents` is never used [INFO] [stdout] --> src/solver/fractal.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn recover_agents, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_align_down` is never used [INFO] [stdout] --> src/solver/fractal.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn try_align_down, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_align_up` is never used [INFO] [stdout] --> src/solver/fractal.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn try_align_up, I: Item>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `allocate` is never used [INFO] [stdout] --> src/solver/fractal.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn allocate, I: Item>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/solver/fractal.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn root, I: Item>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_BG_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SVG_BG_COLOR: &str = "#FFFFFF00"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_AXIS_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SVG_AXIS_COLOR: &str = "#000000"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SVG_AXIS_STROKE_WIDTH` is never used [INFO] [stdout] --> src/vectorrender.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SVG_AXIS_STROKE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LINE_COLOR: &str = "#666666"; // similar to (0.45, 0.4, 0.4) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_CURRENT_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LINE_CURRENT_COLOR: &str = "#00FF00"; // green [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_WIDTH` is never used [INFO] [stdout] --> src/vectorrender.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const LINE_WIDTH: f32 = 2.5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CIRCLE_COLOR: &str = "#0000FF"; // similar to (0.6, 0.6, 1.0) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_CURRENT_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CIRCLE_CURRENT_COLOR: &str = "#00FF00"; // green circle for current [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCLE_RADIUS` is never used [INFO] [stdout] --> src/vectorrender.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CIRCLE_RADIUS: f32 = 7.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AXIS_LABEL_FONT_SIZE` is never used [INFO] [stdout] --> src/vectorrender.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const AXIS_LABEL_FONT_SIZE: f32 = 20.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICK_LABEL_FONT_SIZE` is never used [INFO] [stdout] --> src/vectorrender.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const TICK_LABEL_FONT_SIZE: f32 = 17.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LABEL_COLOR` is never used [INFO] [stdout] --> src/vectorrender.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const LABEL_COLOR: &str = "#000000"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_bounds` is never used [INFO] [stdout] --> src/vectorrender.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn compute_bounds(allocations: &[RenderAllocation]) -> (f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nice_tick_interval` is never used [INFO] [stdout] --> src/vectorrender.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn nice_tick_interval(range: f32, desired_steps: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decimals_for_step` is never used [INFO] [stdout] --> src/vectorrender.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn decimals_for_step(step: f32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_number` is never used [INFO] [stdout] --> src/vectorrender.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn format_number(value: f32, decimals: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_auto_margin` is never used [INFO] [stdout] --> src/vectorrender.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn compute_auto_margin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_allocations_to_svg` is never used [INFO] [stdout] --> src/vectorrender.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn render_allocations_to_svg( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/world.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Household { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 14 | /// Debug information about the household. [INFO] [stdout] 15 | pub fn new(id: usize, income: F, ability: F, aspiration: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_school` are never used [INFO] [stdout] --> src/world.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl House { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 74 | pub fn new(x: F, y: F, school: Option, school_quality: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_school(&mut self, school: usize, quality: F) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate` are never used [INFO] [stdout] --> src/world.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl World { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 112 | /// Creates a new world instance. [INFO] [stdout] 113 | pub fn new(households: Vec>, schools: Vec>, houses: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/multidim/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | F: num::Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | A: Agent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | I: Item, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove these bounds [INFO] [stdout] | [INFO] [stdout] 10 ~ F, [INFO] [stdout] 11 ~ A, [INFO] [stdout] 12 ~ I, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "933f18f8184053d76e73f1c57750c48dc0d24cb1aab35c844b4dd5f9be5e17ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933f18f8184053d76e73f1c57750c48dc0d24cb1aab35c844b4dd5f9be5e17ae", kill_on_drop: false }` [INFO] [stdout] 933f18f8184053d76e73f1c57750c48dc0d24cb1aab35c844b4dd5f9be5e17ae