[INFO] cloning repository https://github.com/ayechanst/monopoly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayechanst/monopoly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayechanst%2Fmonopoly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayechanst%2Fmonopoly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db7a5ad224e20ee0c40a379823701152461a6b80 [INFO] linting ayechanst/monopoly/db7a5ad224e20ee0c40a379823701152461a6b80 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayechanst%2Fmonopoly" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ayechanst/monopoly [INFO] finished tweaking git repo https://github.com/ayechanst/monopoly [INFO] tweaked toml for git repo https://github.com/ayechanst/monopoly written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayechanst/monopoly on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ayechanst/monopoly 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bevy_internal v0.8.1 [INFO] [stderr] Downloaded float_next_after v0.1.5 [INFO] [stderr] Downloaded float-cmp v0.5.3 [INFO] [stderr] Downloaded svgtypes v0.5.0 [INFO] [stderr] Downloaded lyon_path v0.17.7 [INFO] [stderr] Downloaded bevy_dylib v0.14.2 [INFO] [stderr] Downloaded ecolor v0.29.1 [INFO] [stderr] Downloaded gpu-descriptor v0.3.1 [INFO] [stderr] Downloaded bevy_encase_derive v0.8.1 [INFO] [stderr] Downloaded emath v0.29.1 [INFO] [stderr] Downloaded wayland-cursor v0.31.7 [INFO] [stderr] Downloaded bevy_asset v0.8.1 [INFO] [stderr] Downloaded bevy_diagnostic v0.8.1 [INFO] [stderr] Downloaded arboard v3.4.1 [INFO] [stderr] Downloaded ruzstd v0.7.3 [INFO] [stderr] Downloaded wayland-client v0.31.7 [INFO] [stderr] Downloaded epaint v0.29.1 [INFO] [stderr] Downloaded lyon_tessellation v0.17.10 [INFO] [stderr] Downloaded bevy_render v0.8.1 [INFO] [stderr] Downloaded bevy v0.8.1 [INFO] [stderr] Downloaded bevy_ecs v0.8.1 [INFO] [stderr] Downloaded bevy_prototype_lyon v0.6.0 [INFO] [stderr] Downloaded cc v1.2.9 [INFO] [stderr] Downloaded bevy_egui v0.30.1 [INFO] [stderr] Downloaded bevy_pbr v0.8.1 [INFO] [stderr] Downloaded wayland-protocols v0.32.5 [INFO] [stderr] Downloaded bevy_reflect v0.8.1 [INFO] [stderr] Downloaded webbrowser v1.0.3 [INFO] [stderr] Downloaded egui v0.29.1 [INFO] [stderr] Downloaded rustix v0.38.43 [INFO] [stderr] Downloaded const_panic v0.2.12 [INFO] [stderr] Downloaded hexasphere v7.2.1 [INFO] [stderr] Downloaded uuid v1.12.0 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.5 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.5 [INFO] [stderr] Downloaded bevy_sprite v0.8.1 [INFO] [stderr] Downloaded bevy_reflect_derive v0.8.1 [INFO] [stderr] Downloaded bevy_tasks v0.8.1 [INFO] [stderr] Downloaded bevy_input v0.8.1 [INFO] [stderr] Downloaded bevy_window v0.8.1 [INFO] [stderr] Downloaded bevy_mikktspace v0.8.1 [INFO] [stderr] Downloaded winit v0.30.8 [INFO] [stderr] Downloaded bevy_render_macros v0.8.1 [INFO] [stderr] Downloaded bevy_derive v0.8.1 [INFO] [stderr] Downloaded bevy_ecs_macros v0.8.1 [INFO] [stderr] Downloaded bevy_ptr v0.8.1 [INFO] [stderr] Downloaded bevy_utils v0.8.1 [INFO] [stderr] Downloaded bevy_core v0.8.1 [INFO] [stderr] Downloaded bevy_hierarchy v0.8.1 [INFO] [stderr] Downloaded bevy_transform v0.8.1 [INFO] [stderr] Downloaded bevy_macro_utils v0.8.1 [INFO] [stderr] Downloaded epaint_default_fonts v0.29.1 [INFO] [stderr] Downloaded bevy_math v0.8.1 [INFO] [stderr] Downloaded bevy_log v0.8.1 [INFO] [stderr] Downloaded svg_fmt v0.4.4 [INFO] [stderr] Downloaded inplace_it v0.3.6 [INFO] [stderr] Downloaded bevy_time v0.8.1 [INFO] [stderr] Downloaded bevy_app v0.8.1 [INFO] [stderr] Downloaded lyon_geom v0.17.7 [INFO] [stderr] Downloaded bevy_core_pipeline v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9d2a9b76cd8d6464384f689fca43feee43fc9ee1431fe28480ea34f990e4db7 [INFO] running `Command { std: "docker" "start" "-a" "c9d2a9b76cd8d6464384f689fca43feee43fc9ee1431fe28480ea34f990e4db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9d2a9b76cd8d6464384f689fca43feee43fc9ee1431fe28480ea34f990e4db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d2a9b76cd8d6464384f689fca43feee43fc9ee1431fe28480ea34f990e4db7", kill_on_drop: false }` [INFO] [stdout] c9d2a9b76cd8d6464384f689fca43feee43fc9ee1431fe28480ea34f990e4db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2755df207b51105c6ae67604138dd4d8b0f6505d90b401d911f2c930d32ff3df [INFO] running `Command { std: "docker" "start" "-a" "2755df207b51105c6ae67604138dd4d8b0f6505d90b401d911f2c930d32ff3df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking bevy_ptr v0.14.2 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking const_panic v0.2.12 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Checking bevy_ptr v0.8.1 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking bevy_tasks v0.14.2 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking data-encoding v2.7.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking svg_fmt v0.4.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bevy_tasks v0.8.1 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking wgpu-types v0.13.2 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking inplace_it v0.3.6 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling winit v0.30.8 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking epaint_default_fonts v0.29.1 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Compiling bevy_egui v0.30.1 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking lyon_geom v0.17.7 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling encase_derive_impl v0.3.0 [INFO] [stderr] Checking lyon_path v0.17.7 [INFO] [stderr] Checking lyon_tessellation v0.17.10 [INFO] [stderr] Compiling encase_derive v0.3.0 [INFO] [stderr] Compiling bevy_macro_utils v0.8.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.8.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.8.1 [INFO] [stderr] Compiling bevy_derive v0.8.1 [INFO] [stderr] Compiling bevy_encase_derive v0.8.1 [INFO] [stderr] Compiling bevy_render_macros v0.8.1 [INFO] [stderr] Compiling bevy_macro_utils v0.14.2 [INFO] [stderr] Compiling encase_derive_impl v0.8.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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 bevy_asset_macros v0.14.2 [INFO] [stderr] Compiling bevy_render_macros v0.14.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling encase_derive v0.8.0 [INFO] [stderr] Compiling bevy_encase_derive v0.14.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [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 bytemuck v1.21.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking emath v0.29.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ecolor v0.29.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking epaint v0.29.1 [INFO] [stderr] Checking bevy_utils v0.8.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking bevy_utils v0.14.2 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking egui v0.29.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking naga v0.9.0 [INFO] [stderr] Checking rodio v0.18.1 [INFO] [stderr] Checking webbrowser v1.0.3 [INFO] [stderr] Checking bevy_reflect v0.8.1 [INFO] [stderr] Checking bevy_math v0.8.1 [INFO] [stderr] Checking hexasphere v7.2.1 [INFO] [stderr] Checking encase v0.3.0 [INFO] [stderr] Checking bevy_mikktspace v0.8.1 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking bevy_ecs v0.8.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 polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking wgpu-hal v0.13.2 [INFO] [stderr] Checking bevy_ecs v0.14.2 [INFO] [stderr] Checking bevy_math v0.14.2 [INFO] [stderr] Checking naga_oil v0.14.0 [INFO] [stderr] Checking bevy_app v0.8.1 [INFO] [stderr] Checking bevy_log v0.8.1 [INFO] [stderr] Checking bevy_time v0.8.1 [INFO] [stderr] Checking bevy_input v0.8.1 [INFO] [stderr] Checking bevy_hierarchy v0.8.1 [INFO] [stderr] Checking bevy_core v0.8.1 [INFO] [stderr] Checking bevy_transform v0.8.1 [INFO] [stderr] Checking bevy_window v0.8.1 [INFO] [stderr] Checking bevy_diagnostic v0.8.1 [INFO] [stderr] Checking accesskit_winit v0.20.4 [INFO] [stderr] Checking bevy_asset v0.8.1 [INFO] [stderr] Checking bevy_color v0.14.3 [INFO] [stderr] Checking wgpu v0.13.1 [INFO] [stderr] Checking bevy_render v0.8.1 [INFO] [stderr] Checking bevy_app v0.14.2 [INFO] [stderr] Checking bevy_core v0.14.2 [INFO] [stderr] Checking bevy_time v0.14.2 [INFO] [stderr] Checking bevy_a11y v0.14.2 [INFO] [stderr] Checking bevy_asset v0.14.2 [INFO] [stderr] Checking bevy_input v0.14.2 [INFO] [stderr] Checking bevy_log 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_winit v0.14.2 [INFO] [stderr] Checking bevy_gilrs 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.8.1 [INFO] [stderr] Checking bevy_sprite v0.8.1 [INFO] [stderr] Checking bevy_internal v0.8.1 [INFO] [stderr] Checking bevy v0.8.1 [INFO] [stderr] Checking bevy_prototype_lyon v0.6.0 [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_dylib v0.14.2 [INFO] [stderr] Checking bevy v0.14.2 [INFO] [stderr] Checking monopoly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TurnOutcomeForFrontend`, `bevy_logic::plugins::frontend_plugin::GridSize`, `player::Player`, and `utils::space_to_coords::space_to_coords` [INFO] [stdout] --> src/bevy_logic/helpers/buttons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bevy_logic::plugins::frontend_plugin::GridSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | models::{ [INFO] [stdout] 9 | board::{RequiredInputsForFrontend, TurnOutcomeForFrontend}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | player::Player, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | utils::space_to_coords::space_to_coords, [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: `board::Board` [INFO] [stdout] --> src/bevy_logic/helpers/spawn_board.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | models::{board::Board, player::Player}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GridSize` and `ScaleFactor` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_player.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::bevy_logic::plugins::frontend_plugin::{GridSize, ScaleFactor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_coordinates_text` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use super::space_text::{make_coordinates_text, make_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_property` [INFO] [stdout] --> src/models/board.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | debug_helpers::{debug_property, debug_rent}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefMut, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `player::Player` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | player::Player, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TurnOutcomeForFrontend`, `bevy_logic::plugins::frontend_plugin::GridSize`, `player::Player`, and `utils::space_to_coords::space_to_coords` [INFO] [stdout] --> src/bevy_logic/helpers/buttons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bevy_logic::plugins::frontend_plugin::GridSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | models::{ [INFO] [stdout] 9 | board::{RequiredInputsForFrontend, TurnOutcomeForFrontend}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | player::Player, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | utils::space_to_coords::space_to_coords, [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: `board::Board` [INFO] [stdout] --> src/bevy_logic/helpers/spawn_board.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | models::{board::Board, player::Player}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GridSize` and `ScaleFactor` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_player.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::bevy_logic::plugins::frontend_plugin::{GridSize, ScaleFactor}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_coordinates_text` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use super::space_text::{make_coordinates_text, make_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_property` [INFO] [stdout] --> src/models/board.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | debug_helpers::{debug_property, debug_rent}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefMut, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `player::Player` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | player::Player, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | egui::Window::new("Balances").show(contexts.ctx_mut(), |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | coordinates: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brown_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | ColoredProperties::Brown(brown_property) => Color::srgb(0.54, 0.17, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brown_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_blue_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | ColoredProperties::LightBlue(light_blue_property) => Color::srgb(0.39, 0.72, 0.8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_blue_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pink_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | ColoredProperties::Pink(pink_property) => Color::srgb(0.9, 0.55, 0.81), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orange_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | ColoredProperties::Orange(orange_property) => Color::srgb(0.96, 0.56, 0.25), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orange_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | ColoredProperties::Red(red_property) => Color::srgb(0.83, 0.0, 0.19), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | ColoredProperties::Yellow(yellow_property) => Color::srgb(0.99, 0.82, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ColoredProperties::Green(green_property) => Color::srgb(0.0, 0.47, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_green_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blue_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | ColoredProperties::Blue(blue_property) => Color::srgb(0., 0.4, 0.55), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blue_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utilities` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:21:80 [INFO] [stdout] | [INFO] [stdout] 21 | crate::models::spaces::properties::properties::Properties::Utility(utilities) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `railroads` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | crate::models::spaces::properties::properties::Properties::Railroad(railroads) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_railroads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | Space::Property(properties) => ("", 0.0), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/models/board.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | if let Ok(space) = space.try_borrow() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/models/board.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(player) = player.try_borrow() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | BlueProperty::ParkPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | BlueProperty::Boardwalk { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | BlueProperty::ParkPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | BlueProperty::Boardwalk { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | egui::Window::new("Balances").show(contexts.ctx_mut(), |ui| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:173:51 [INFO] [stdout] | [INFO] [stdout] 173 | BrownProperty::MediterraneanAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | BrownProperty::BalticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:304:55 [INFO] [stdout] | [INFO] [stdout] 304 | BrownProperty::MediterraneanAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | BrownProperty::BalticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | coordinates: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brown_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | ColoredProperties::Brown(brown_property) => Color::srgb(0.54, 0.17, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brown_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_blue_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | ColoredProperties::LightBlue(light_blue_property) => Color::srgb(0.39, 0.72, 0.8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_blue_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pink_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | ColoredProperties::Pink(pink_property) => Color::srgb(0.9, 0.55, 0.81), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orange_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | ColoredProperties::Orange(orange_property) => Color::srgb(0.96, 0.56, 0.25), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orange_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | ColoredProperties::Red(red_property) => Color::srgb(0.83, 0.0, 0.19), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | ColoredProperties::Yellow(yellow_property) => Color::srgb(0.99, 0.82, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ColoredProperties::Green(green_property) => Color::srgb(0.0, 0.47, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_green_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blue_property` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | ColoredProperties::Blue(blue_property) => Color::srgb(0., 0.4, 0.55), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blue_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utilities` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:21:80 [INFO] [stdout] | [INFO] [stdout] 21 | crate::models::spaces::properties::properties::Properties::Utility(utilities) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `railroads` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:24:81 [INFO] [stdout] | [INFO] [stdout] 24 | crate::models::spaces::properties::properties::Properties::Railroad(railroads) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_railroads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | Space::Property(properties) => ("", 0.0), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | GreenProperty::PacificAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:174:51 [INFO] [stdout] | [INFO] [stdout] 174 | GreenProperty::NorthCarolinaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | GreenProperty::PennsylvaniaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:335:49 [INFO] [stdout] | [INFO] [stdout] 335 | GreenProperty::PacificAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:344:55 [INFO] [stdout] | [INFO] [stdout] 344 | GreenProperty::NorthCarolinaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | GreenProperty::PennsylvaniaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:172:50 [INFO] [stdout] | [INFO] [stdout] 172 | LightBlueProperty::OrientalAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 175 | LightBlueProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:178:53 [INFO] [stdout] | [INFO] [stdout] 178 | LightBlueProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:340:54 [INFO] [stdout] | [INFO] [stdout] 340 | LightBlueProperty::OrientalAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:349:53 [INFO] [stdout] | [INFO] [stdout] 349 | LightBlueProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/models/board.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | if let Ok(space) = space.try_borrow() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:358:57 [INFO] [stdout] | [INFO] [stdout] 358 | LightBlueProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/models/board.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(player) = player.try_borrow() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | OrangeProperty::StJamesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | OrangeProperty::TennesseeAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | OrangeProperty::NewYorkAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 343 | OrangeProperty::StJamesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:352:52 [INFO] [stdout] | [INFO] [stdout] 352 | OrangeProperty::TennesseeAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 361 | OrangeProperty::NewYorkAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | PinkProperty::StCharlesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | PinkProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:181:48 [INFO] [stdout] | [INFO] [stdout] 181 | PinkProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:339:52 [INFO] [stdout] | [INFO] [stdout] 339 | PinkProperty::StCharlesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | PinkProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | PinkProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | RedProperty::KentuckyAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:174:43 [INFO] [stdout] | [INFO] [stdout] 174 | RedProperty::IndianaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | RedProperty::IllinoisAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:331:48 [INFO] [stdout] | [INFO] [stdout] 331 | RedProperty::KentuckyAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:339:47 [INFO] [stdout] | [INFO] [stdout] 339 | RedProperty::IndianaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | RedProperty::IllinoisAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | BlueProperty::ParkPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | BlueProperty::Boardwalk { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | BlueProperty::ParkPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | BlueProperty::Boardwalk { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:176:47 [INFO] [stdout] | [INFO] [stdout] 176 | YellowProperty::AtlanticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | YellowProperty::VentnorAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:182:49 [INFO] [stdout] | [INFO] [stdout] 182 | YellowProperty::MarvinGardens { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:344:51 [INFO] [stdout] | [INFO] [stdout] 344 | YellowProperty::AtlanticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:173:51 [INFO] [stdout] | [INFO] [stdout] 173 | BrownProperty::MediterraneanAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | YellowProperty::VentnorAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:362:53 [INFO] [stdout] | [INFO] [stdout] 362 | YellowProperty::MarvinGardens { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | BrownProperty::BalticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:304:55 [INFO] [stdout] | [INFO] [stdout] 304 | BrownProperty::MediterraneanAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utilities` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | Properties::Utility(utilities) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | BrownProperty::BalticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `railroads` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | Properties::Railroad(railroads) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_railroads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | Railroads::Reading { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | Railroads::Pennsylvania { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Railroads::Bo { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | Railroads::ShortLine { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Utilities::ElectricCompany { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | Utilities::WaterWorks { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | GreenProperty::PacificAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:174:51 [INFO] [stdout] | [INFO] [stdout] 174 | GreenProperty::NorthCarolinaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | GreenProperty::PennsylvaniaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:335:49 [INFO] [stdout] | [INFO] [stdout] 335 | GreenProperty::PacificAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:344:55 [INFO] [stdout] | [INFO] [stdout] 344 | GreenProperty::NorthCarolinaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | GreenProperty::PennsylvaniaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:172:50 [INFO] [stdout] | [INFO] [stdout] 172 | LightBlueProperty::OrientalAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:175:49 [INFO] [stdout] | [INFO] [stdout] 175 | LightBlueProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:178:53 [INFO] [stdout] | [INFO] [stdout] 178 | LightBlueProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:340:54 [INFO] [stdout] | [INFO] [stdout] 340 | LightBlueProperty::OrientalAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:349:53 [INFO] [stdout] | [INFO] [stdout] 349 | LightBlueProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:358:57 [INFO] [stdout] | [INFO] [stdout] 358 | LightBlueProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mortgage`, `Trade`, `BuyHouse`, and `SellHouse` are never constructed [INFO] [stdout] --> src/bevy_logic/helpers/buttons.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Mortgage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | BuyHouse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | SellHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/bevy_logic/player_components.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrontendPlayer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrontendPlayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerPlugin` is never constructed [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PlayerPlugin; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_info` is never used [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn player_info(mut contexts: EguiContexts) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpaceRef` is never used [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SpaceRef = Rc>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_coordinates_text` is never used [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_coordinates_text(coordinates: (f32, f32)) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RollDice`, `Mortgage`, `Trade`, `BuyHouse`, and `SellHouse` are never constructed [INFO] [stdout] --> src/models/board.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum RequiredInputsForFrontend { [INFO] [stdout] | ------------------------- variants in this enum [INFO] [stdout] 32 | None, [INFO] [stdout] 33 | RollDice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Buy, [INFO] [stdout] 35 | Mortgage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | BuyHouse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | SellHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequiredInputsForFrontend` 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 `first_main_phase` is never used [INFO] [stdout] --> src/models/board.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn first_main_phase(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardMsg` is never constructed [INFO] [stdout] --> src/models/board_msg.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BoardMsg { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PayRent` is never constructed [INFO] [stdout] --> src/models/board_msg.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PayRent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommunityChest` is never used [INFO] [stdout] --> src/models/cards/community_chest.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum CommunityChest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mortgage`, `buy_house`, and `check_doubles` are never used [INFO] [stdout] --> src/models/player.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Player { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn mortgage(self_ref: Rc>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn buy_house(self_ref: Rc>, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn check_doubles(dice: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BlueProperty { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn house_count(&self, board: &Board) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BrownProperty { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn house_count(&self, board: &Board) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rent_price`, `auction`, `mortgage`, and `buy_house` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/colored_properties.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ColoredProperties { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 21 | pub fn rent_price(&self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GreenProperty { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LightBlueProperty { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl OrangeProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | OrangeProperty::StJamesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PinkProperty { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | OrangeProperty::TennesseeAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RedProperty { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl YellowProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | OrangeProperty::NewYorkAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, and `buy_house` are never used [INFO] [stdout] --> src/models/spaces/properties/properties.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Properties { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mortgage`, `auction`, and `as_space` are never used [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Railroads { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn as_space(self) -> Space { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, and `as_space` are never used [INFO] [stdout] --> src/models/spaces/properties/utility.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Utilities { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn as_space(self) -> Space { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Houses` and `Mortgaged` are never constructed [INFO] [stdout] --> src/models/spaces/space.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PropertyState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Houses(HouseCount), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Mortgaged, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyState` 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 `Zero`, `One`, `Two`, `Three`, `Four`, and `Hotel` are never constructed [INFO] [stdout] --> src/models/spaces/space.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum HouseCount { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 26 | Zero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | One, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Four, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Hotel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HouseCount` 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: function `debug_property` is never used [INFO] [stdout] --> src/utils/debug_helpers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn debug_property(player: Ref<'_, Player>, properties: Properties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:343:52 [INFO] [stdout] | [INFO] [stdout] 343 | OrangeProperty::StJamesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_buy_property` is never used [INFO] [stdout] --> src/utils/debug_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn debug_buy_property(player: Ref<'_, Player>, properties: Properties) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_player` is never used [INFO] [stdout] --> src/utils/prompts.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn prompt_player(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bid` is never used [INFO] [stdout] --> src/utils/prompts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn bid(player: Ref<'_, Player>, bid: i32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:352:52 [INFO] [stdout] | [INFO] [stdout] 352 | OrangeProperty::TennesseeAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 361 | OrangeProperty::NewYorkAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | PinkProperty::StCharlesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | PinkProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:181:48 [INFO] [stdout] | [INFO] [stdout] 181 | PinkProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:339:52 [INFO] [stdout] | [INFO] [stdout] 339 | PinkProperty::StCharlesPlace { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | PinkProperty::VermontAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 355 | PinkProperty::ConnecticutAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | RedProperty::KentuckyAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:174:43 [INFO] [stdout] | [INFO] [stdout] 174 | RedProperty::IndianaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | RedProperty::IllinoisAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | ..default() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update [INFO] [stdout] = note: `#[warn(clippy::needless_update)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:331:48 [INFO] [stdout] | [INFO] [stdout] 331 | RedProperty::KentuckyAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:339:47 [INFO] [stdout] | [INFO] [stdout] 339 | RedProperty::IndianaAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | RedProperty::IllinoisAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:176:47 [INFO] [stdout] | [INFO] [stdout] 176 | YellowProperty::AtlanticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | YellowProperty::VentnorAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:182:49 [INFO] [stdout] | [INFO] [stdout] 182 | YellowProperty::MarvinGardens { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:344:51 [INFO] [stdout] | [INFO] [stdout] 344 | YellowProperty::AtlanticAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | YellowProperty::VentnorAve { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:362:53 [INFO] [stdout] | [INFO] [stdout] 362 | YellowProperty::MarvinGardens { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utilities` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | Properties::Utility(utilities) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `railroads` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | Properties::Railroad(railroads) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_railroads` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | Railroads::Reading { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 7 | / let fill_color = match space { [INFO] [stdout] 8 | | Space::Property(properties) => match properties { [INFO] [stdout] 9 | | crate::models::spaces::properties::properties::Properties::ColoredProperty( [INFO] [stdout] 10 | | colored_properties, [INFO] [stdout] ... | [INFO] [stdout] 34 | | }; [INFO] [stdout] | |______- unnecessary `let` binding [INFO] [stdout] 35 | fill_color [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 7 ~ [INFO] [stdout] 8 ~ match space { [INFO] [stdout] 9 + Space::Property(properties) => match properties { [INFO] [stdout] 10 + crate::models::spaces::properties::properties::Properties::ColoredProperty( [INFO] [stdout] 11 + colored_properties, [INFO] [stdout] 12 + ) => match colored_properties { [INFO] [stdout] 13 + ColoredProperties::Brown(brown_property) => Color::srgb(0.54, 0.17, 0.0), [INFO] [stdout] 14 + ColoredProperties::LightBlue(light_blue_property) => Color::srgb(0.39, 0.72, 0.8), [INFO] [stdout] 15 + ColoredProperties::Pink(pink_property) => Color::srgb(0.9, 0.55, 0.81), [INFO] [stdout] 16 + ColoredProperties::Orange(orange_property) => Color::srgb(0.96, 0.56, 0.25), [INFO] [stdout] 17 + ColoredProperties::Red(red_property) => Color::srgb(0.83, 0.0, 0.19), [INFO] [stdout] 18 + ColoredProperties::Yellow(yellow_property) => Color::srgb(0.99, 0.82, 0.0), [INFO] [stdout] 19 + ColoredProperties::Green(green_property) => Color::srgb(0.0, 0.47, 0.0), [INFO] [stdout] 20 + ColoredProperties::Blue(blue_property) => Color::srgb(0., 0.4, 0.55), [INFO] [stdout] 21 + }, [INFO] [stdout] 22 + crate::models::spaces::properties::properties::Properties::Utility(utilities) => { [INFO] [stdout] 23 + Color::srgb(0.25, 0.25, 0.25) [INFO] [stdout] 24 + } [INFO] [stdout] 25 + crate::models::spaces::properties::properties::Properties::Railroad(railroads) => { [INFO] [stdout] 26 + Color::srgb(0.37, 0.41, 0.44) [INFO] [stdout] 27 + } [INFO] [stdout] 28 + }, [INFO] [stdout] 29 + Space::Chance | Space::CommunityChest | Space::IncomeTax | Space::LuxuryTax => { [INFO] [stdout] 30 + Color::srgb(0.77, 0.68, 0.63) [INFO] [stdout] 31 + } [INFO] [stdout] 32 + Space::Go | Space::GoToJail | Space::Jail | Space::FreeParking => { [INFO] [stdout] 33 + Color::srgb(0.0, 0.0, 0.0) [INFO] [stdout] 34 + } [INFO] [stdout] 35 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | Railroads::Pennsylvania { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Railroads::Bo { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | Railroads::ShortLine { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | / let text = match space { [INFO] [stdout] 6 | | Space::Property(properties) => ("", 0.0), [INFO] [stdout] 7 | | Space::Chance => ("?", 0.6), [INFO] [stdout] 8 | | Space::CommunityChest => ("!", 0.6), [INFO] [stdout] ... | [INFO] [stdout] 14 | | Space::FreeParking => ("Free Parking", 0.2), [INFO] [stdout] 15 | | }; [INFO] [stdout] | |______- unnecessary `let` binding [INFO] [stdout] 16 | text [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 5 ~ [INFO] [stdout] 6 ~ match space { [INFO] [stdout] 7 + Space::Property(properties) => ("", 0.0), [INFO] [stdout] 8 + Space::Chance => ("?", 0.6), [INFO] [stdout] 9 + Space::CommunityChest => ("!", 0.6), [INFO] [stdout] 10 + Space::IncomeTax => ("Income Tax", 0.2), [INFO] [stdout] 11 + Space::LuxuryTax => ("Luxury Tax", 0.2), [INFO] [stdout] 12 + Space::Go => ("Go", 0.5), [INFO] [stdout] 13 + Space::GoToJail => ("Go to Jail", 0.2), [INFO] [stdout] 14 + Space::Jail => ("Jail", 0.2), [INFO] [stdout] 15 + Space::FreeParking => ("Free Parking", 0.2), [INFO] [stdout] 16 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | Utilities::ElectricCompany { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | Utilities::WaterWorks { state } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / return TurnOutcomeForFrontend { [INFO] [stdout] 79 | | board_snapshot: self.snapshot(), [INFO] [stdout] 80 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 78 ~ TurnOutcomeForFrontend { [INFO] [stdout] 79 + board_snapshot: self.snapshot(), [INFO] [stdout] 80 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 81 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | / return TurnOutcomeForFrontend { [INFO] [stdout] 102 | | board_snapshot: self.snapshot(), [INFO] [stdout] 103 | | required_input: RequiredInputsForFrontend::Buy, [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 101 ~ TurnOutcomeForFrontend { [INFO] [stdout] 102 + board_snapshot: self.snapshot(), [INFO] [stdout] 103 + required_input: RequiredInputsForFrontend::Buy, [INFO] [stdout] 104 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | / return TurnOutcomeForFrontend { [INFO] [stdout] 121 | | board_snapshot: self.snapshot(), [INFO] [stdout] 122 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 123 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 120 ~ TurnOutcomeForFrontend { [INFO] [stdout] 121 + board_snapshot: self.snapshot(), [INFO] [stdout] 122 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 123 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | / return TurnOutcomeForFrontend { [INFO] [stdout] 127 | | board_snapshot: self.snapshot(), [INFO] [stdout] 128 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 129 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 126 ~ TurnOutcomeForFrontend { [INFO] [stdout] 127 + board_snapshot: self.snapshot(), [INFO] [stdout] 128 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 129 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | / return TurnOutcomeForFrontend { [INFO] [stdout] 146 | | board_snapshot: self.snapshot(), [INFO] [stdout] 147 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 148 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 145 ~ TurnOutcomeForFrontend { [INFO] [stdout] 146 + board_snapshot: self.snapshot(), [INFO] [stdout] 147 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 148 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | / return TurnOutcomeForFrontend { [INFO] [stdout] 156 | | board_snapshot: self.snapshot(), [INFO] [stdout] 157 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 158 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 155 ~ TurnOutcomeForFrontend { [INFO] [stdout] 156 + board_snapshot: self.snapshot(), [INFO] [stdout] 157 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 158 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | / return TurnOutcomeForFrontend { [INFO] [stdout] 171 | | board_snapshot: self.snapshot(), [INFO] [stdout] 172 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 173 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 170 ~ TurnOutcomeForFrontend { [INFO] [stdout] 171 + board_snapshot: self.snapshot(), [INFO] [stdout] 172 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 173 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | / return TurnOutcomeForFrontend { [INFO] [stdout] 182 | | board_snapshot: self.snapshot(), [INFO] [stdout] 183 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 184 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 181 ~ TurnOutcomeForFrontend { [INFO] [stdout] 182 + board_snapshot: self.snapshot(), [INFO] [stdout] 183 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 184 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / return TurnOutcomeForFrontend { [INFO] [stdout] 192 | | board_snapshot: self.snapshot(), [INFO] [stdout] 193 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 194 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 191 ~ TurnOutcomeForFrontend { [INFO] [stdout] 192 + board_snapshot: self.snapshot(), [INFO] [stdout] 193 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 194 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | / return TurnOutcomeForFrontend { [INFO] [stdout] 202 | | board_snapshot: self.snapshot(), [INFO] [stdout] 203 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 204 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 201 ~ TurnOutcomeForFrontend { [INFO] [stdout] 202 + board_snapshot: self.snapshot(), [INFO] [stdout] 203 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 204 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | / return TurnOutcomeForFrontend { [INFO] [stdout] 212 | | board_snapshot: self.snapshot(), [INFO] [stdout] 213 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 214 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 211 ~ TurnOutcomeForFrontend { [INFO] [stdout] 212 + board_snapshot: self.snapshot(), [INFO] [stdout] 213 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 214 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | / return TurnOutcomeForFrontend { [INFO] [stdout] 222 | | board_snapshot: self.snapshot(), [INFO] [stdout] 223 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 224 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 221 ~ TurnOutcomeForFrontend { [INFO] [stdout] 222 + board_snapshot: self.snapshot(), [INFO] [stdout] 223 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 224 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mortgage`, `Trade`, `BuyHouse`, and `SellHouse` are never constructed [INFO] [stdout] --> src/bevy_logic/helpers/buttons.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Mortgage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | BuyHouse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | SellHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/bevy_logic/player_components.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrontendPlayer { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrontendPlayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerPlugin` is never constructed [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PlayerPlugin; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_info` is never used [INFO] [stdout] --> src/bevy_logic/plugins/display_plugin.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn player_info(mut contexts: EguiContexts) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpaceRef` is never used [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SpaceRef = Rc>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_coordinates_text` is never used [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn make_coordinates_text(coordinates: (f32, f32)) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RollDice`, `Mortgage`, `Trade`, `BuyHouse`, and `SellHouse` are never constructed [INFO] [stdout] --> src/models/board.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum RequiredInputsForFrontend { [INFO] [stdout] | ------------------------- variants in this enum [INFO] [stdout] 32 | None, [INFO] [stdout] 33 | RollDice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Buy, [INFO] [stdout] 35 | Mortgage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | BuyHouse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | SellHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequiredInputsForFrontend` 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 `first_main_phase` is never used [INFO] [stdout] --> src/models/board.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn first_main_phase(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardMsg` is never constructed [INFO] [stdout] --> src/models/board_msg.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BoardMsg { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PayRent` is never constructed [INFO] [stdout] --> src/models/board_msg.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PayRent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommunityChest` is never used [INFO] [stdout] --> src/models/cards/community_chest.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum CommunityChest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mortgage`, `buy_house`, and `check_doubles` are never used [INFO] [stdout] --> src/models/player.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Player { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn mortgage(self_ref: Rc>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn buy_house(self_ref: Rc>, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn check_doubles(dice: (i32, i32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl BlueProperty { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn house_count(&self, board: &Board) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BrownProperty { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn house_count(&self, board: &Board) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rent_price`, `auction`, `mortgage`, and `buy_house` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/colored_properties.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ColoredProperties { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 21 | pub fn rent_price(&self, board: &Board) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GreenProperty { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl LightBlueProperty { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl OrangeProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PinkProperty { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RedProperty { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, `buy_house`, `legal_house_purchase`, and `house_count` are never used [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl YellowProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn legal_house_purchase(&self, board: &Board) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn house_count(&self, board: &Board) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, and `buy_house` are never used [INFO] [stdout] --> src/models/spaces/properties/properties.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Properties { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn buy_house(&mut self, player_ref: PlayerRef, board: &Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mortgage`, `auction`, and `as_space` are never used [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Railroads { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn as_space(self) -> Space { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `auction`, `mortgage`, and `as_space` are never used [INFO] [stdout] --> src/models/spaces/properties/utility.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Utilities { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn auction(&mut self, board: &Board) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn mortgage(&mut self, player_ref: PlayerRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn as_space(self) -> Space { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Houses` and `Mortgaged` are never constructed [INFO] [stdout] --> src/models/spaces/space.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PropertyState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Houses(HouseCount), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Mortgaged, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyState` 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 `Zero`, `One`, `Two`, `Three`, `Four`, and `Hotel` are never constructed [INFO] [stdout] --> src/models/spaces/space.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum HouseCount { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 26 | Zero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | One, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Four, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | Hotel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HouseCount` 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: function `debug_property` is never used [INFO] [stdout] --> src/utils/debug_helpers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn debug_property(player: Ref<'_, Player>, properties: Properties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_buy_property` is never used [INFO] [stdout] --> src/utils/debug_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn debug_buy_property(player: Ref<'_, Player>, properties: Properties) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_player` is never used [INFO] [stdout] --> src/utils/prompts.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn prompt_player(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bid` is never used [INFO] [stdout] --> src/utils/prompts.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn bid(player: Ref<'_, Player>, bid: i32) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct update has no effect, all the fields in the struct have already been specified [INFO] [stdout] --> src/bevy_logic/sprite_builder/make_space.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | ..default() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update [INFO] [stdout] = note: `#[warn(clippy::needless_update)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/models/board.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / let mut spaces = Vec::new(); [INFO] [stdout] 309 | | // Bottom 0-9 [INFO] [stdout] 310 | | spaces.push(Rc::new(RefCell::new(Space::Go))); // 0 [INFO] [stdout] 311 | | spaces.push(Rc::new(RefCell::new(Space::Property( [INFO] [stdout] ... | [INFO] [stdout] 423 | | Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::boardwalk())), [INFO] [stdout] 424 | | )))); // 39 [INFO] [stdout] | |_____________^ help: consider using the `vec![]` macro: `let spaces = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_color.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 7 | / let fill_color = match space { [INFO] [stdout] 8 | | Space::Property(properties) => match properties { [INFO] [stdout] 9 | | crate::models::spaces::properties::properties::Properties::ColoredProperty( [INFO] [stdout] 10 | | colored_properties, [INFO] [stdout] ... | [INFO] [stdout] 34 | | }; [INFO] [stdout] | |______- unnecessary `let` binding [INFO] [stdout] 35 | fill_color [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 7 ~ [INFO] [stdout] 8 ~ match space { [INFO] [stdout] 9 + Space::Property(properties) => match properties { [INFO] [stdout] 10 + crate::models::spaces::properties::properties::Properties::ColoredProperty( [INFO] [stdout] 11 + colored_properties, [INFO] [stdout] 12 + ) => match colored_properties { [INFO] [stdout] 13 + ColoredProperties::Brown(brown_property) => Color::srgb(0.54, 0.17, 0.0), [INFO] [stdout] 14 + ColoredProperties::LightBlue(light_blue_property) => Color::srgb(0.39, 0.72, 0.8), [INFO] [stdout] 15 + ColoredProperties::Pink(pink_property) => Color::srgb(0.9, 0.55, 0.81), [INFO] [stdout] 16 + ColoredProperties::Orange(orange_property) => Color::srgb(0.96, 0.56, 0.25), [INFO] [stdout] 17 + ColoredProperties::Red(red_property) => Color::srgb(0.83, 0.0, 0.19), [INFO] [stdout] 18 + ColoredProperties::Yellow(yellow_property) => Color::srgb(0.99, 0.82, 0.0), [INFO] [stdout] 19 + ColoredProperties::Green(green_property) => Color::srgb(0.0, 0.47, 0.0), [INFO] [stdout] 20 + ColoredProperties::Blue(blue_property) => Color::srgb(0., 0.4, 0.55), [INFO] [stdout] 21 + }, [INFO] [stdout] 22 + crate::models::spaces::properties::properties::Properties::Utility(utilities) => { [INFO] [stdout] 23 + Color::srgb(0.25, 0.25, 0.25) [INFO] [stdout] 24 + } [INFO] [stdout] 25 + crate::models::spaces::properties::properties::Properties::Railroad(railroads) => { [INFO] [stdout] 26 + Color::srgb(0.37, 0.41, 0.44) [INFO] [stdout] 27 + } [INFO] [stdout] 28 + }, [INFO] [stdout] 29 + Space::Chance | Space::CommunityChest | Space::IncomeTax | Space::LuxuryTax => { [INFO] [stdout] 30 + Color::srgb(0.77, 0.68, 0.63) [INFO] [stdout] 31 + } [INFO] [stdout] 32 + Space::Go | Space::GoToJail | Space::Jail | Space::FreeParking => { [INFO] [stdout] 33 + Color::srgb(0.0, 0.0, 0.0) [INFO] [stdout] 34 + } [INFO] [stdout] 35 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/bevy_logic/sprite_builder/space_text.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | / let text = match space { [INFO] [stdout] 6 | | Space::Property(properties) => ("", 0.0), [INFO] [stdout] 7 | | Space::Chance => ("?", 0.6), [INFO] [stdout] 8 | | Space::CommunityChest => ("!", 0.6), [INFO] [stdout] ... | [INFO] [stdout] 14 | | Space::FreeParking => ("Free Parking", 0.2), [INFO] [stdout] 15 | | }; [INFO] [stdout] | |______- unnecessary `let` binding [INFO] [stdout] 16 | text [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 5 ~ [INFO] [stdout] 6 ~ match space { [INFO] [stdout] 7 + Space::Property(properties) => ("", 0.0), [INFO] [stdout] 8 + Space::Chance => ("?", 0.6), [INFO] [stdout] 9 + Space::CommunityChest => ("!", 0.6), [INFO] [stdout] 10 + Space::IncomeTax => ("Income Tax", 0.2), [INFO] [stdout] 11 + Space::LuxuryTax => ("Luxury Tax", 0.2), [INFO] [stdout] 12 + Space::Go => ("Go", 0.5), [INFO] [stdout] 13 + Space::GoToJail => ("Go to Jail", 0.2), [INFO] [stdout] 14 + Space::Jail => ("Jail", 0.2), [INFO] [stdout] 15 + Space::FreeParking => ("Free Parking", 0.2), [INFO] [stdout] 16 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | / if let Properties::ColoredProperty(ColoredProperties::Blue(inner)) = property { [INFO] [stdout] 159 | | match inner { [INFO] [stdout] 160 | | BlueProperty::ParkPlace { state } [INFO] [stdout] 161 | | | BlueProperty::Boardwalk { state } [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 158 | if let Properties::ColoredProperty(ColoredProperties::Blue(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / return TurnOutcomeForFrontend { [INFO] [stdout] 79 | | board_snapshot: self.snapshot(), [INFO] [stdout] 80 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 78 ~ TurnOutcomeForFrontend { [INFO] [stdout] 79 + board_snapshot: self.snapshot(), [INFO] [stdout] 80 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 81 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | BlueProperty::ParkPlace { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 195 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 196 | | HouseCount::Zero => 0, [INFO] [stdout] 197 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 203 | | _ => 0, [INFO] [stdout] 204 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | BlueProperty::ParkPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 195 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:208:54 [INFO] [stdout] | [INFO] [stdout] 208 | BlueProperty::Boardwalk { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 209 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 210 | | HouseCount::Zero => 0, [INFO] [stdout] 211 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 217 | | _ => 0, [INFO] [stdout] 218 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:208:43 [INFO] [stdout] | [INFO] [stdout] 208 | BlueProperty::Boardwalk { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 209 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | / return TurnOutcomeForFrontend { [INFO] [stdout] 102 | | board_snapshot: self.snapshot(), [INFO] [stdout] 103 | | required_input: RequiredInputsForFrontend::Buy, [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 101 ~ TurnOutcomeForFrontend { [INFO] [stdout] 102 + board_snapshot: self.snapshot(), [INFO] [stdout] 103 + required_input: RequiredInputsForFrontend::Buy, [INFO] [stdout] 104 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | / return TurnOutcomeForFrontend { [INFO] [stdout] 121 | | board_snapshot: self.snapshot(), [INFO] [stdout] 122 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 123 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 120 ~ TurnOutcomeForFrontend { [INFO] [stdout] 121 + board_snapshot: self.snapshot(), [INFO] [stdout] 122 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 123 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | / return TurnOutcomeForFrontend { [INFO] [stdout] 127 | | board_snapshot: self.snapshot(), [INFO] [stdout] 128 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 129 | | }; [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 126 ~ TurnOutcomeForFrontend { [INFO] [stdout] 127 + board_snapshot: self.snapshot(), [INFO] [stdout] 128 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 129 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | / return TurnOutcomeForFrontend { [INFO] [stdout] 146 | | board_snapshot: self.snapshot(), [INFO] [stdout] 147 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 148 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 145 ~ TurnOutcomeForFrontend { [INFO] [stdout] 146 + board_snapshot: self.snapshot(), [INFO] [stdout] 147 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 148 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | / return TurnOutcomeForFrontend { [INFO] [stdout] 156 | | board_snapshot: self.snapshot(), [INFO] [stdout] 157 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 158 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 155 ~ TurnOutcomeForFrontend { [INFO] [stdout] 156 + board_snapshot: self.snapshot(), [INFO] [stdout] 157 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 158 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | / return TurnOutcomeForFrontend { [INFO] [stdout] 171 | | board_snapshot: self.snapshot(), [INFO] [stdout] 172 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 173 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 170 ~ TurnOutcomeForFrontend { [INFO] [stdout] 171 + board_snapshot: self.snapshot(), [INFO] [stdout] 172 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 173 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | / return TurnOutcomeForFrontend { [INFO] [stdout] 182 | | board_snapshot: self.snapshot(), [INFO] [stdout] 183 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 184 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 181 ~ TurnOutcomeForFrontend { [INFO] [stdout] 182 + board_snapshot: self.snapshot(), [INFO] [stdout] 183 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 184 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / return TurnOutcomeForFrontend { [INFO] [stdout] 192 | | board_snapshot: self.snapshot(), [INFO] [stdout] 193 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 194 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 191 ~ TurnOutcomeForFrontend { [INFO] [stdout] 192 + board_snapshot: self.snapshot(), [INFO] [stdout] 193 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 194 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | / return TurnOutcomeForFrontend { [INFO] [stdout] 202 | | board_snapshot: self.snapshot(), [INFO] [stdout] 203 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 204 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 201 ~ TurnOutcomeForFrontend { [INFO] [stdout] 202 + board_snapshot: self.snapshot(), [INFO] [stdout] 203 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 204 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | / return TurnOutcomeForFrontend { [INFO] [stdout] 212 | | board_snapshot: self.snapshot(), [INFO] [stdout] 213 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 214 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 211 ~ TurnOutcomeForFrontend { [INFO] [stdout] 212 + board_snapshot: self.snapshot(), [INFO] [stdout] 213 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 214 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/models/board.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | / return TurnOutcomeForFrontend { [INFO] [stdout] 222 | | board_snapshot: self.snapshot(), [INFO] [stdout] 223 | | required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 224 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 221 ~ TurnOutcomeForFrontend { [INFO] [stdout] 222 + board_snapshot: self.snapshot(), [INFO] [stdout] 223 + required_input: RequiredInputsForFrontend::None, [INFO] [stdout] 224 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / if let Properties::ColoredProperty(ColoredProperties::Brown(inner)) = property { [INFO] [stdout] 157 | | match inner { [INFO] [stdout] 158 | | BrownProperty::MediterraneanAve { state } [INFO] [stdout] 159 | | | BrownProperty::BalticAve { state } => { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 156 | if let Properties::ColoredProperty(ColoredProperties::Brown(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:190:62 [INFO] [stdout] | [INFO] [stdout] 190 | BrownProperty::MediterraneanAve { state } => match state { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 191 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 192 | | HouseCount::Zero => 0, [INFO] [stdout] 193 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 199 | | _ => 0, [INFO] [stdout] 200 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:190:51 [INFO] [stdout] | [INFO] [stdout] 190 | BrownProperty::MediterraneanAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 191 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:204:55 [INFO] [stdout] | [INFO] [stdout] 204 | BrownProperty::BalticAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 205 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 206 | | HouseCount::Zero => 0, [INFO] [stdout] 207 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 213 | | _ => 0, [INFO] [stdout] 214 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | BrownProperty::BalticAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 205 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/spaces/properties/colored_properties/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod colored_properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub enum GreenProperty { [INFO] [stdout] 17 | | PacificAve { state: PropertyState }, [INFO] [stdout] 18 | | NorthCarolinaAve { state: PropertyState }, [INFO] [stdout] 19 | | PennsylvaniaAve { state: PropertyState }, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | / if let Properties::ColoredProperty(ColoredProperties::Green(inner)) = property { [INFO] [stdout] 154 | | match inner { [INFO] [stdout] 155 | | GreenProperty::PacificAve { state } [INFO] [stdout] 156 | | | GreenProperty::NorthCarolinaAve { state } [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 153 | if let Properties::ColoredProperty(ColoredProperties::Green(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:188:56 [INFO] [stdout] | [INFO] [stdout] 188 | GreenProperty::PacificAve { state } => match state { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 189 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 190 | | HouseCount::Zero => 0, [INFO] [stdout] 191 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 197 | | _ => 0, [INFO] [stdout] 198 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | GreenProperty::PacificAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 189 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:202:62 [INFO] [stdout] | [INFO] [stdout] 202 | GreenProperty::NorthCarolinaAve { state } => match state { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 203 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 204 | | HouseCount::Zero => 0, [INFO] [stdout] 205 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 211 | | _ => 0, [INFO] [stdout] 212 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | GreenProperty::NorthCarolinaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 203 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:216:61 [INFO] [stdout] | [INFO] [stdout] 216 | GreenProperty::PennsylvaniaAve { state } => match state { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 217 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 218 | | HouseCount::Zero => 0, [INFO] [stdout] 219 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 225 | | _ => 0, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:216:50 [INFO] [stdout] | [INFO] [stdout] 216 | GreenProperty::PennsylvaniaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 217 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/models/board.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / let mut spaces = Vec::new(); [INFO] [stdout] 309 | | // Bottom 0-9 [INFO] [stdout] 310 | | spaces.push(Rc::new(RefCell::new(Space::Go))); // 0 [INFO] [stdout] 311 | | spaces.push(Rc::new(RefCell::new(Space::Property( [INFO] [stdout] ... | [INFO] [stdout] 423 | | Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::boardwalk())), [INFO] [stdout] 424 | | )))); // 39 [INFO] [stdout] | |_____________^ help: consider using the `vec![]` macro: `let spaces = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub enum LightBlueProperty { [INFO] [stdout] 18 | | OrientalAve { state: PropertyState }, [INFO] [stdout] 19 | | VermontAve { state: PropertyState }, [INFO] [stdout] 20 | | ConnecticutAve { state: PropertyState }, [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / if let Properties::ColoredProperty(ColoredProperties::LightBlue(inner)) = property { [INFO] [stdout] 56 | | match inner { [INFO] [stdout] 57 | | LightBlueProperty::OrientalAve { state } [INFO] [stdout] 58 | | | LightBlueProperty::VermontAve { state } [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 55 | if let Properties::ColoredProperty(ColoredProperties::LightBlue(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | LightBlueProperty::OrientalAve { state } => match state { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 190 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 191 | | HouseCount::Zero => 0, [INFO] [stdout] 192 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 198 | | _ => 0, [INFO] [stdout] 199 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | LightBlueProperty::OrientalAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 190 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | LightBlueProperty::VermontAve { state } => match state { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 204 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 205 | | HouseCount::Zero => 0, [INFO] [stdout] 206 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 212 | | _ => 0, [INFO] [stdout] 213 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | LightBlueProperty::VermontAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 204 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | LightBlueProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 218 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 219 | | HouseCount::Zero => 0, [INFO] [stdout] 220 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 226 | | _ => 0, [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | LightBlueProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 218 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | / if let Properties::ColoredProperty(ColoredProperties::Blue(inner)) = property { [INFO] [stdout] 159 | | match inner { [INFO] [stdout] 160 | | BlueProperty::ParkPlace { state } [INFO] [stdout] 161 | | | BlueProperty::Boardwalk { state } [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 158 | if let Properties::ColoredProperty(ColoredProperties::Blue(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | BlueProperty::ParkPlace { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 195 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 196 | | HouseCount::Zero => 0, [INFO] [stdout] 197 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 203 | | _ => 0, [INFO] [stdout] 204 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | BlueProperty::ParkPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 195 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:208:54 [INFO] [stdout] | [INFO] [stdout] 208 | BlueProperty::Boardwalk { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 209 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 210 | | HouseCount::Zero => 0, [INFO] [stdout] 211 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 217 | | _ => 0, [INFO] [stdout] 218 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:208:43 [INFO] [stdout] | [INFO] [stdout] 208 | BlueProperty::Boardwalk { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 209 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Properties::ColoredProperty(ColoredProperties::Orange(inner)) = property { [INFO] [stdout] 158 | | match inner { [INFO] [stdout] 159 | | OrangeProperty::StJamesPlace { state } [INFO] [stdout] 160 | | | OrangeProperty::TennesseeAve { state } [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 157 | if let Properties::ColoredProperty(ColoredProperties::Orange(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | OrangeProperty::StJamesPlace { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 193 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 194 | | HouseCount::Zero => 0, [INFO] [stdout] 195 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 201 | | _ => 0, [INFO] [stdout] 202 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:192:48 [INFO] [stdout] | [INFO] [stdout] 192 | OrangeProperty::StJamesPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 193 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:206:59 [INFO] [stdout] | [INFO] [stdout] 206 | OrangeProperty::TennesseeAve { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 207 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 208 | | HouseCount::Zero => 0, [INFO] [stdout] 209 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 215 | | _ => 0, [INFO] [stdout] 216 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:206:48 [INFO] [stdout] | [INFO] [stdout] 206 | OrangeProperty::TennesseeAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 207 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:220:57 [INFO] [stdout] | [INFO] [stdout] 220 | OrangeProperty::NewYorkAve { state } => match state { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 221 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 222 | | HouseCount::Zero => 0, [INFO] [stdout] 223 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 229 | | _ => 0, [INFO] [stdout] 230 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | OrangeProperty::NewYorkAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 221 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / if let Properties::ColoredProperty(ColoredProperties::Brown(inner)) = property { [INFO] [stdout] 157 | | match inner { [INFO] [stdout] 158 | | BrownProperty::MediterraneanAve { state } [INFO] [stdout] 159 | | | BrownProperty::BalticAve { state } => { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 156 | if let Properties::ColoredProperty(ColoredProperties::Brown(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `PinkProperty` which implements the `Copy` trait [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | self.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try dereferencing it: `*self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:190:62 [INFO] [stdout] | [INFO] [stdout] 190 | BrownProperty::MediterraneanAve { state } => match state { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 191 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 192 | | HouseCount::Zero => 0, [INFO] [stdout] 193 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 199 | | _ => 0, [INFO] [stdout] 200 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:190:51 [INFO] [stdout] | [INFO] [stdout] 190 | BrownProperty::MediterraneanAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 191 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:204:55 [INFO] [stdout] | [INFO] [stdout] 204 | BrownProperty::BalticAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 205 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 206 | | HouseCount::Zero => 0, [INFO] [stdout] 207 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 213 | | _ => 0, [INFO] [stdout] 214 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | BrownProperty::BalticAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 205 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Properties::ColoredProperty(ColoredProperties::Pink(inner)) = property { [INFO] [stdout] 158 | | match inner { [INFO] [stdout] 159 | | PinkProperty::StCharlesPlace { state } [INFO] [stdout] 160 | | | PinkProperty::VermontAve { state } [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 157 | if let Properties::ColoredProperty(ColoredProperties::Pink(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | PinkProperty::StCharlesPlace { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 193 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 194 | | HouseCount::Zero => 0, [INFO] [stdout] 195 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 201 | | _ => 0, [INFO] [stdout] 202 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:192:48 [INFO] [stdout] | [INFO] [stdout] 192 | PinkProperty::StCharlesPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 193 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:206:55 [INFO] [stdout] | [INFO] [stdout] 206 | PinkProperty::VermontAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 207 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 208 | | HouseCount::Zero => 0, [INFO] [stdout] 209 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 215 | | _ => 0, [INFO] [stdout] 216 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | PinkProperty::VermontAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 207 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/spaces/properties/colored_properties/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod colored_properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:220:59 [INFO] [stdout] | [INFO] [stdout] 220 | PinkProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 221 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 222 | | HouseCount::Zero => 0, [INFO] [stdout] 223 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 229 | | _ => 0, [INFO] [stdout] 230 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | PinkProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 221 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub enum RedProperty { [INFO] [stdout] 17 | | KentuckyAve { state: PropertyState }, [INFO] [stdout] 18 | | IndianaAve { state: PropertyState }, [INFO] [stdout] 19 | | IllinoisAve { state: PropertyState }, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub enum GreenProperty { [INFO] [stdout] 17 | | PacificAve { state: PropertyState }, [INFO] [stdout] 18 | | NorthCarolinaAve { state: PropertyState }, [INFO] [stdout] 19 | | PennsylvaniaAve { state: PropertyState }, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | / if let Properties::ColoredProperty(ColoredProperties::Red(inner)) = property { [INFO] [stdout] 154 | | match inner { [INFO] [stdout] 155 | | RedProperty::KentuckyAve { state } [INFO] [stdout] 156 | | | RedProperty::IndianaAve { state } [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 153 | if let Properties::ColoredProperty(ColoredProperties::Red(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | / if let Properties::ColoredProperty(ColoredProperties::Green(inner)) = property { [INFO] [stdout] 154 | | match inner { [INFO] [stdout] 155 | | GreenProperty::PacificAve { state } [INFO] [stdout] 156 | | | GreenProperty::NorthCarolinaAve { state } [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 153 | if let Properties::ColoredProperty(ColoredProperties::Green(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:188:56 [INFO] [stdout] | [INFO] [stdout] 188 | GreenProperty::PacificAve { state } => match state { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 189 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 190 | | HouseCount::Zero => 0, [INFO] [stdout] 191 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 197 | | _ => 0, [INFO] [stdout] 198 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | GreenProperty::PacificAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 189 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:202:62 [INFO] [stdout] | [INFO] [stdout] 202 | GreenProperty::NorthCarolinaAve { state } => match state { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 203 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 204 | | HouseCount::Zero => 0, [INFO] [stdout] 205 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 211 | | _ => 0, [INFO] [stdout] 212 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | GreenProperty::NorthCarolinaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 203 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:188:55 [INFO] [stdout] | [INFO] [stdout] 188 | RedProperty::KentuckyAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 189 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 190 | | HouseCount::Zero => 0, [INFO] [stdout] 191 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 197 | | _ => 0, [INFO] [stdout] 198 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 188 | RedProperty::KentuckyAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 189 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:202:54 [INFO] [stdout] | [INFO] [stdout] 202 | RedProperty::IndianaAve { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 203 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 204 | | HouseCount::Zero => 0, [INFO] [stdout] 205 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 211 | | _ => 0, [INFO] [stdout] 212 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | RedProperty::IndianaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 203 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | RedProperty::IllinoisAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 217 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 218 | | HouseCount::Zero => 0, [INFO] [stdout] 219 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 225 | | _ => 0, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:216:44 [INFO] [stdout] | [INFO] [stdout] 216 | RedProperty::IllinoisAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 217 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:216:61 [INFO] [stdout] | [INFO] [stdout] 216 | GreenProperty::PennsylvaniaAve { state } => match state { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 217 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 218 | | HouseCount::Zero => 0, [INFO] [stdout] 219 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 225 | | _ => 0, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:216:50 [INFO] [stdout] | [INFO] [stdout] 216 | GreenProperty::PennsylvaniaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 217 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / pub enum LightBlueProperty { [INFO] [stdout] 18 | | OrientalAve { state: PropertyState }, [INFO] [stdout] 19 | | VermontAve { state: PropertyState }, [INFO] [stdout] 20 | | ConnecticutAve { state: PropertyState }, [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / if let Properties::ColoredProperty(ColoredProperties::LightBlue(inner)) = property { [INFO] [stdout] 56 | | match inner { [INFO] [stdout] 57 | | LightBlueProperty::OrientalAve { state } [INFO] [stdout] 58 | | | LightBlueProperty::VermontAve { state } [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 55 | if let Properties::ColoredProperty(ColoredProperties::LightBlue(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | / if let Properties::ColoredProperty(ColoredProperties::Yellow(inner)) = property { [INFO] [stdout] 159 | | match inner { [INFO] [stdout] 160 | | YellowProperty::AtlanticAve { state } [INFO] [stdout] 161 | | | YellowProperty::VentnorAve { state } [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 158 | if let Properties::ColoredProperty(ColoredProperties::Yellow(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:193:58 [INFO] [stdout] | [INFO] [stdout] 193 | YellowProperty::AtlanticAve { state } => match state { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 194 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 195 | | HouseCount::Zero => 0, [INFO] [stdout] 196 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 202 | | _ => 0, [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | YellowProperty::AtlanticAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 194 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:207:57 [INFO] [stdout] | [INFO] [stdout] 207 | YellowProperty::VentnorAve { state } => match state { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 208 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 209 | | HouseCount::Zero => 0, [INFO] [stdout] 210 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 216 | | _ => 0, [INFO] [stdout] 217 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | YellowProperty::VentnorAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 208 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | YellowProperty::MarvinGardens { state } => match state { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 222 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 223 | | HouseCount::Zero => 0, [INFO] [stdout] 224 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 230 | | _ => 0, [INFO] [stdout] 231 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | YellowProperty::MarvinGardens { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 222 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | LightBlueProperty::OrientalAve { state } => match state { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 190 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 191 | | HouseCount::Zero => 0, [INFO] [stdout] 192 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 198 | | _ => 0, [INFO] [stdout] 199 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | LightBlueProperty::OrientalAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 190 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:203:60 [INFO] [stdout] | [INFO] [stdout] 203 | LightBlueProperty::VermontAve { state } => match state { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 204 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 205 | | HouseCount::Zero => 0, [INFO] [stdout] 206 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 212 | | _ => 0, [INFO] [stdout] 213 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | LightBlueProperty::VermontAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 204 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | LightBlueProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 218 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 219 | | HouseCount::Zero => 0, [INFO] [stdout] 220 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 226 | | _ => 0, [INFO] [stdout] 227 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:217:53 [INFO] [stdout] | [INFO] [stdout] 217 | LightBlueProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 218 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/spaces/properties/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of inherent method `to_string(&self) -> String` for type `models::spaces::properties::properties::Properties` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub fn to_string(&self) -> String { [INFO] [stdout] 76 | | format!("{:?}", self) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: implement trait `Display` for type `models::spaces::properties::properties::Properties` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string [INFO] [stdout] = note: `#[warn(clippy::inherent_to_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Properties::ColoredProperty(ColoredProperties::Orange(inner)) = property { [INFO] [stdout] 158 | | match inner { [INFO] [stdout] 159 | | OrangeProperty::StJamesPlace { state } [INFO] [stdout] 160 | | | OrangeProperty::TennesseeAve { state } [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 157 | if let Properties::ColoredProperty(ColoredProperties::Orange(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | OrangeProperty::StJamesPlace { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 193 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 194 | | HouseCount::Zero => 0, [INFO] [stdout] 195 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 201 | | _ => 0, [INFO] [stdout] 202 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:192:48 [INFO] [stdout] | [INFO] [stdout] 192 | OrangeProperty::StJamesPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 193 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / if let Properties::Railroad(inner) = property { [INFO] [stdout] 140 | | match inner { [INFO] [stdout] 141 | | Railroads::Reading { state } [INFO] [stdout] 142 | | | Railroads::Pennsylvania { state } [INFO] [stdout] ... | [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 139 | if let Properties::Railroad(inner) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:206:59 [INFO] [stdout] | [INFO] [stdout] 206 | OrangeProperty::TennesseeAve { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 207 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 208 | | HouseCount::Zero => 0, [INFO] [stdout] 209 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 215 | | _ => 0, [INFO] [stdout] 216 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:206:48 [INFO] [stdout] | [INFO] [stdout] 206 | OrangeProperty::TennesseeAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 207 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:220:57 [INFO] [stdout] | [INFO] [stdout] 220 | OrangeProperty::NewYorkAve { state } => match state { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 221 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 222 | | HouseCount::Zero => 0, [INFO] [stdout] 223 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 229 | | _ => 0, [INFO] [stdout] 230 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | OrangeProperty::NewYorkAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 221 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `PinkProperty` which implements the `Copy` trait [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | self.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try dereferencing it: `*self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | / if let Properties::Utility(inner) = property { [INFO] [stdout] 142 | | match inner { [INFO] [stdout] 143 | | Utilities::ElectricCompany { state } | Utilities::WaterWorks { state } => { [INFO] [stdout] 144 | | *state = PropertyState::Mortgaged [INFO] [stdout] ... | [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/utility.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 141 | if let Properties::Utility(inner) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Properties::ColoredProperty(ColoredProperties::Pink(inner)) = property { [INFO] [stdout] 158 | | match inner { [INFO] [stdout] 159 | | PinkProperty::StCharlesPlace { state } [INFO] [stdout] 160 | | | PinkProperty::VermontAve { state } [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 157 | if let Properties::ColoredProperty(ColoredProperties::Pink(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:192:59 [INFO] [stdout] | [INFO] [stdout] 192 | PinkProperty::StCharlesPlace { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 193 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 194 | | HouseCount::Zero => 0, [INFO] [stdout] 195 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 201 | | _ => 0, [INFO] [stdout] 202 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:192:48 [INFO] [stdout] | [INFO] [stdout] 192 | PinkProperty::StCharlesPlace { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 193 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:206:55 [INFO] [stdout] | [INFO] [stdout] 206 | PinkProperty::VermontAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 207 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 208 | | HouseCount::Zero => 0, [INFO] [stdout] 209 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 215 | | _ => 0, [INFO] [stdout] 216 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | PinkProperty::VermontAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 207 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:220:59 [INFO] [stdout] | [INFO] [stdout] 220 | PinkProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 221 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 222 | | HouseCount::Zero => 0, [INFO] [stdout] 223 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 229 | | _ => 0, [INFO] [stdout] 230 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | PinkProperty::ConnecticutAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 221 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Ave` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub enum RedProperty { [INFO] [stdout] 17 | | KentuckyAve { state: PropertyState }, [INFO] [stdout] 18 | | IndianaAve { state: PropertyState }, [INFO] [stdout] 19 | | IllinoisAve { state: PropertyState }, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | if space >= 0.0 && space <= 10.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0.0..=10.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | } else if space >= 11.0 && space <= 20.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(11.0..=20.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | } else if space >= 21.0 && space <= 30.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(21.0..=30.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if vec![park_place, boardwalk] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[park_place, boardwalk]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 232 | | Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::ParkPlace { [INFO] [stdout] 233 | | state: PropertyState::Owned, [INFO] [stdout] 234 | | })), [INFO] [stdout] ... | [INFO] [stdout] 237 | | })), [INFO] [stdout] 238 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 231 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::ParkPlace { [INFO] [stdout] 232 + state: PropertyState::Owned, [INFO] [stdout] 233 + })), [INFO] [stdout] 234 + Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::Boardwalk { [INFO] [stdout] 235 + state: PropertyState::Owned, [INFO] [stdout] 236 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if vec![mediterranean_ave, baltic_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mediterranean_ave, baltic_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 228 | | Properties::ColoredProperty(ColoredProperties::Brown( [INFO] [stdout] 229 | | BrownProperty::MediterraneanAve { [INFO] [stdout] 230 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 235 | | })), [INFO] [stdout] 236 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 227 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Brown( [INFO] [stdout] 228 + BrownProperty::MediterraneanAve { [INFO] [stdout] 229 + state: PropertyState::Owned, [INFO] [stdout] 230 + }, [INFO] [stdout] 231 + )), [INFO] [stdout] 232 + Properties::ColoredProperty(ColoredProperties::Brown(BrownProperty::BalticAve { [INFO] [stdout] 233 + state: PropertyState::Owned, [INFO] [stdout] 234 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if vec![pacific_ave, north_carolina_ave, pennsylvania_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[pacific_ave, north_carolina_ave, pennsylvania_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 238 | | Properties::ColoredProperty(ColoredProperties::Green(GreenProperty::PacificAve { [INFO] [stdout] 239 | | state: PropertyState::Owned, [INFO] [stdout] 240 | | })), [INFO] [stdout] ... | [INFO] [stdout] 250 | | )), [INFO] [stdout] 251 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 237 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Green(GreenProperty::PacificAve { [INFO] [stdout] 238 + state: PropertyState::Owned, [INFO] [stdout] 239 + })), [INFO] [stdout] 240 + Properties::ColoredProperty(ColoredProperties::Green( [INFO] [stdout] 241 + GreenProperty::NorthCarolinaAve { [INFO] [stdout] 242 + state: PropertyState::Owned, [INFO] [stdout] 243 + }, [INFO] [stdout] 244 + )), [INFO] [stdout] 245 + Properties::ColoredProperty(ColoredProperties::Green( [INFO] [stdout] 246 + GreenProperty::PennsylvaniaAve { [INFO] [stdout] 247 + state: PropertyState::Owned, [INFO] [stdout] 248 + }, [INFO] [stdout] 249 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if vec![oriental_ave, vermont_ave, connecticut_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[oriental_ave, vermont_ave, connecticut_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:238:28 [INFO] [stdout] | [INFO] [stdout] 238 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 239 | | Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 240 | | LightBlueProperty::OrientalAve { [INFO] [stdout] 241 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 253 | | )), [INFO] [stdout] 254 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 238 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 239 + LightBlueProperty::OrientalAve { [INFO] [stdout] 240 + state: PropertyState::Owned, [INFO] [stdout] 241 + }, [INFO] [stdout] 242 + )), [INFO] [stdout] 243 + Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 244 + LightBlueProperty::VermontAve { [INFO] [stdout] 245 + state: PropertyState::Owned, [INFO] [stdout] 246 + }, [INFO] [stdout] 247 + )), [INFO] [stdout] 248 + Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 249 + LightBlueProperty::ConnecticutAve { [INFO] [stdout] 250 + state: PropertyState::Owned, [INFO] [stdout] 251 + }, [INFO] [stdout] 252 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if vec![st_james_place, tennessee_ave, new_york_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[st_james_place, tennessee_ave, new_york_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 242 | | Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 243 | | OrangeProperty::StJamesPlace { [INFO] [stdout] 244 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 256 | | )), [INFO] [stdout] 257 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 241 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 242 + OrangeProperty::StJamesPlace { [INFO] [stdout] 243 + state: PropertyState::Owned, [INFO] [stdout] 244 + }, [INFO] [stdout] 245 + )), [INFO] [stdout] 246 + Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 247 + OrangeProperty::TennesseeAve { [INFO] [stdout] 248 + state: PropertyState::Owned, [INFO] [stdout] 249 + }, [INFO] [stdout] 250 + )), [INFO] [stdout] 251 + Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 252 + OrangeProperty::NewYorkAve { [INFO] [stdout] 253 + state: PropertyState::Owned, [INFO] [stdout] 254 + }, [INFO] [stdout] 255 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if vec![st_charles_place, states_ave, virginia_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[st_charles_place, states_ave, virginia_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 242 | | Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 243 | | PinkProperty::StCharlesPlace { [INFO] [stdout] 244 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 254 | | )), [INFO] [stdout] 255 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 241 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 242 + PinkProperty::StCharlesPlace { [INFO] [stdout] 243 + state: PropertyState::Owned, [INFO] [stdout] 244 + }, [INFO] [stdout] 245 + )), [INFO] [stdout] 246 + Properties::ColoredProperty(ColoredProperties::Pink(PinkProperty::VermontAve { [INFO] [stdout] 247 + state: PropertyState::Owned, [INFO] [stdout] 248 + })), [INFO] [stdout] 249 + Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 250 + PinkProperty::ConnecticutAve { [INFO] [stdout] 251 + state: PropertyState::Owned, [INFO] [stdout] 252 + }, [INFO] [stdout] 253 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if vec![kentucky_ave, indiana_ave, illinois_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[kentucky_ave, indiana_ave, illinois_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 238 | | Properties::ColoredProperty(ColoredProperties::Red(RedProperty::KentuckyAve { [INFO] [stdout] 239 | | state: PropertyState::Owned, [INFO] [stdout] 240 | | })), [INFO] [stdout] ... | [INFO] [stdout] 246 | | })), [INFO] [stdout] 247 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 237 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Red(RedProperty::KentuckyAve { [INFO] [stdout] 238 + state: PropertyState::Owned, [INFO] [stdout] 239 + })), [INFO] [stdout] 240 + Properties::ColoredProperty(ColoredProperties::Red(RedProperty::IndianaAve { [INFO] [stdout] 241 + state: PropertyState::Owned, [INFO] [stdout] 242 + })), [INFO] [stdout] 243 + Properties::ColoredProperty(ColoredProperties::Red(RedProperty::IllinoisAve { [INFO] [stdout] 244 + state: PropertyState::Owned, [INFO] [stdout] 245 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if vec![atlantic_ave, ventnor_ave, marvin_gardens] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[atlantic_ave, ventnor_ave, marvin_gardens]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 243 | | Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 244 | | YellowProperty::AtlanticAve { [INFO] [stdout] 245 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 257 | | )), [INFO] [stdout] 258 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 242 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 243 + YellowProperty::AtlanticAve { [INFO] [stdout] 244 + state: PropertyState::Owned, [INFO] [stdout] 245 + }, [INFO] [stdout] 246 + )), [INFO] [stdout] 247 + Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 248 + YellowProperty::VentnorAve { [INFO] [stdout] 249 + state: PropertyState::Owned, [INFO] [stdout] 250 + }, [INFO] [stdout] 251 + )), [INFO] [stdout] 252 + Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 253 + YellowProperty::MarvinGardens { [INFO] [stdout] 254 + state: PropertyState::Owned, [INFO] [stdout] 255 + }, [INFO] [stdout] 256 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | / if let Properties::ColoredProperty(ColoredProperties::Red(inner)) = property { [INFO] [stdout] 154 | | match inner { [INFO] [stdout] 155 | | RedProperty::KentuckyAve { state } [INFO] [stdout] 156 | | | RedProperty::IndianaAve { state } [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 153 | if let Properties::ColoredProperty(ColoredProperties::Red(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:188:55 [INFO] [stdout] | [INFO] [stdout] 188 | RedProperty::KentuckyAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 189 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 190 | | HouseCount::Zero => 0, [INFO] [stdout] 191 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 197 | | _ => 0, [INFO] [stdout] 198 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:188:44 [INFO] [stdout] | [INFO] [stdout] 188 | RedProperty::KentuckyAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 189 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:202:54 [INFO] [stdout] | [INFO] [stdout] 202 | RedProperty::IndianaAve { state } => match state { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 203 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 204 | | HouseCount::Zero => 0, [INFO] [stdout] 205 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 211 | | _ => 0, [INFO] [stdout] 212 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | RedProperty::IndianaAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 203 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | RedProperty::IllinoisAve { state } => match state { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 217 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 218 | | HouseCount::Zero => 0, [INFO] [stdout] 219 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 225 | | _ => 0, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:216:44 [INFO] [stdout] | [INFO] [stdout] 216 | RedProperty::IllinoisAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 217 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | / if let Properties::ColoredProperty(ColoredProperties::Yellow(inner)) = property { [INFO] [stdout] 159 | | match inner { [INFO] [stdout] 160 | | YellowProperty::AtlanticAve { state } [INFO] [stdout] 161 | | | YellowProperty::VentnorAve { state } [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 158 | if let Properties::ColoredProperty(ColoredProperties::Yellow(inner)) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:193:58 [INFO] [stdout] | [INFO] [stdout] 193 | YellowProperty::AtlanticAve { state } => match state { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 194 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 195 | | HouseCount::Zero => 0, [INFO] [stdout] 196 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 202 | | _ => 0, [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | YellowProperty::AtlanticAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 194 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:207:57 [INFO] [stdout] | [INFO] [stdout] 207 | YellowProperty::VentnorAve { state } => match state { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 208 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 209 | | HouseCount::Zero => 0, [INFO] [stdout] 210 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 216 | | _ => 0, [INFO] [stdout] 217 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | YellowProperty::VentnorAve { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 208 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:221:60 [INFO] [stdout] | [INFO] [stdout] 221 | YellowProperty::MarvinGardens { state } => match state { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 222 | | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] 223 | | HouseCount::Zero => 0, [INFO] [stdout] 224 | | HouseCount::One => 1, [INFO] [stdout] ... | [INFO] [stdout] 230 | | _ => 0, [INFO] [stdout] 231 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | YellowProperty::MarvinGardens { state } => match state { [INFO] [stdout] | ^^^^^ replace this binding [INFO] [stdout] 222 | PropertyState::Houses(house_count) => match house_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern, prefixed by `state: ` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/models/spaces/properties/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod properties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of inherent method `to_string(&self) -> String` for type `models::spaces::properties::properties::Properties` [INFO] [stdout] --> src/models/spaces/properties/properties.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / pub fn to_string(&self) -> String { [INFO] [stdout] 76 | | format!("{:?}", self) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: implement trait `Display` for type `models::spaces::properties::properties::Properties` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string [INFO] [stdout] = note: `#[warn(clippy::inherent_to_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / if let Properties::Railroad(inner) = property { [INFO] [stdout] 140 | | match inner { [INFO] [stdout] 141 | | Railroads::Reading { state } [INFO] [stdout] 142 | | | Railroads::Pennsylvania { state } [INFO] [stdout] ... | [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/railroad.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 139 | if let Properties::Railroad(inner) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/models/spaces/properties/utility.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | / if let Properties::Utility(inner) = property { [INFO] [stdout] 142 | | match inner { [INFO] [stdout] 143 | | Utilities::ElectricCompany { state } | Utilities::WaterWorks { state } => { [INFO] [stdout] 144 | | *state = PropertyState::Mortgaged [INFO] [stdout] ... | [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/models/spaces/properties/utility.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(property) = player.properties.iter_mut().find(|p| match p { [INFO] [stdout] | ^^^^^^^^ replace this binding [INFO] [stdout] ... [INFO] [stdout] 141 | if let Properties::Utility(inner) = property { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | if space >= 0.0 && space <= 10.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0.0..=10.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | } else if space >= 11.0 && space <= 20.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(11.0..=20.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/utils/space_to_coords.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | } else if space >= 21.0 && space <= 30.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(21.0..=30.0).contains(&space)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if vec![park_place, boardwalk] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[park_place, boardwalk]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/blue.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 232 | | Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::ParkPlace { [INFO] [stdout] 233 | | state: PropertyState::Owned, [INFO] [stdout] 234 | | })), [INFO] [stdout] ... | [INFO] [stdout] 237 | | })), [INFO] [stdout] 238 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 231 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::ParkPlace { [INFO] [stdout] 232 + state: PropertyState::Owned, [INFO] [stdout] 233 + })), [INFO] [stdout] 234 + Properties::ColoredProperty(ColoredProperties::Blue(BlueProperty::Boardwalk { [INFO] [stdout] 235 + state: PropertyState::Owned, [INFO] [stdout] 236 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if vec![mediterranean_ave, baltic_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mediterranean_ave, baltic_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/brown.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 228 | | Properties::ColoredProperty(ColoredProperties::Brown( [INFO] [stdout] 229 | | BrownProperty::MediterraneanAve { [INFO] [stdout] 230 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 235 | | })), [INFO] [stdout] 236 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 227 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Brown( [INFO] [stdout] 228 + BrownProperty::MediterraneanAve { [INFO] [stdout] 229 + state: PropertyState::Owned, [INFO] [stdout] 230 + }, [INFO] [stdout] 231 + )), [INFO] [stdout] 232 + Properties::ColoredProperty(ColoredProperties::Brown(BrownProperty::BalticAve { [INFO] [stdout] 233 + state: PropertyState::Owned, [INFO] [stdout] 234 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if vec![pacific_ave, north_carolina_ave, pennsylvania_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[pacific_ave, north_carolina_ave, pennsylvania_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/green.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 238 | | Properties::ColoredProperty(ColoredProperties::Green(GreenProperty::PacificAve { [INFO] [stdout] 239 | | state: PropertyState::Owned, [INFO] [stdout] 240 | | })), [INFO] [stdout] ... | [INFO] [stdout] 250 | | )), [INFO] [stdout] 251 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 237 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Green(GreenProperty::PacificAve { [INFO] [stdout] 238 + state: PropertyState::Owned, [INFO] [stdout] 239 + })), [INFO] [stdout] 240 + Properties::ColoredProperty(ColoredProperties::Green( [INFO] [stdout] 241 + GreenProperty::NorthCarolinaAve { [INFO] [stdout] 242 + state: PropertyState::Owned, [INFO] [stdout] 243 + }, [INFO] [stdout] 244 + )), [INFO] [stdout] 245 + Properties::ColoredProperty(ColoredProperties::Green( [INFO] [stdout] 246 + GreenProperty::PennsylvaniaAve { [INFO] [stdout] 247 + state: PropertyState::Owned, [INFO] [stdout] 248 + }, [INFO] [stdout] 249 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if vec![oriental_ave, vermont_ave, connecticut_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[oriental_ave, vermont_ave, connecticut_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/light_blue.rs:238:28 [INFO] [stdout] | [INFO] [stdout] 238 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 239 | | Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 240 | | LightBlueProperty::OrientalAve { [INFO] [stdout] 241 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 253 | | )), [INFO] [stdout] 254 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 238 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 239 + LightBlueProperty::OrientalAve { [INFO] [stdout] 240 + state: PropertyState::Owned, [INFO] [stdout] 241 + }, [INFO] [stdout] 242 + )), [INFO] [stdout] 243 + Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 244 + LightBlueProperty::VermontAve { [INFO] [stdout] 245 + state: PropertyState::Owned, [INFO] [stdout] 246 + }, [INFO] [stdout] 247 + )), [INFO] [stdout] 248 + Properties::ColoredProperty(ColoredProperties::LightBlue( [INFO] [stdout] 249 + LightBlueProperty::ConnecticutAve { [INFO] [stdout] 250 + state: PropertyState::Owned, [INFO] [stdout] 251 + }, [INFO] [stdout] 252 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if vec![st_james_place, tennessee_ave, new_york_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[st_james_place, tennessee_ave, new_york_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/orange.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 242 | | Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 243 | | OrangeProperty::StJamesPlace { [INFO] [stdout] 244 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 256 | | )), [INFO] [stdout] 257 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 241 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 242 + OrangeProperty::StJamesPlace { [INFO] [stdout] 243 + state: PropertyState::Owned, [INFO] [stdout] 244 + }, [INFO] [stdout] 245 + )), [INFO] [stdout] 246 + Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 247 + OrangeProperty::TennesseeAve { [INFO] [stdout] 248 + state: PropertyState::Owned, [INFO] [stdout] 249 + }, [INFO] [stdout] 250 + )), [INFO] [stdout] 251 + Properties::ColoredProperty(ColoredProperties::Orange( [INFO] [stdout] 252 + OrangeProperty::NewYorkAve { [INFO] [stdout] 253 + state: PropertyState::Owned, [INFO] [stdout] 254 + }, [INFO] [stdout] 255 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if vec![st_charles_place, states_ave, virginia_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[st_charles_place, states_ave, virginia_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/pink.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 242 | | Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 243 | | PinkProperty::StCharlesPlace { [INFO] [stdout] 244 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 254 | | )), [INFO] [stdout] 255 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 241 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 242 + PinkProperty::StCharlesPlace { [INFO] [stdout] 243 + state: PropertyState::Owned, [INFO] [stdout] 244 + }, [INFO] [stdout] 245 + )), [INFO] [stdout] 246 + Properties::ColoredProperty(ColoredProperties::Pink(PinkProperty::VermontAve { [INFO] [stdout] 247 + state: PropertyState::Owned, [INFO] [stdout] 248 + })), [INFO] [stdout] 249 + Properties::ColoredProperty(ColoredProperties::Pink( [INFO] [stdout] 250 + PinkProperty::ConnecticutAve { [INFO] [stdout] 251 + state: PropertyState::Owned, [INFO] [stdout] 252 + }, [INFO] [stdout] 253 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if vec![kentucky_ave, indiana_ave, illinois_ave] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[kentucky_ave, indiana_ave, illinois_ave]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/red.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 238 | | Properties::ColoredProperty(ColoredProperties::Red(RedProperty::KentuckyAve { [INFO] [stdout] 239 | | state: PropertyState::Owned, [INFO] [stdout] 240 | | })), [INFO] [stdout] ... | [INFO] [stdout] 246 | | })), [INFO] [stdout] 247 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 237 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Red(RedProperty::KentuckyAve { [INFO] [stdout] 238 + state: PropertyState::Owned, [INFO] [stdout] 239 + })), [INFO] [stdout] 240 + Properties::ColoredProperty(ColoredProperties::Red(RedProperty::IndianaAve { [INFO] [stdout] 241 + state: PropertyState::Owned, [INFO] [stdout] 242 + })), [INFO] [stdout] 243 + Properties::ColoredProperty(ColoredProperties::Red(RedProperty::IllinoisAve { [INFO] [stdout] 244 + state: PropertyState::Owned, [INFO] [stdout] 245 ~ }))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if vec![atlantic_ave, ventnor_ave, marvin_gardens] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[atlantic_ave, ventnor_ave, marvin_gardens]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/models/spaces/properties/colored_properties/yellow.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | let monopoly = vec![ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 243 | | Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 244 | | YellowProperty::AtlanticAve { [INFO] [stdout] 245 | | state: PropertyState::Owned, [INFO] [stdout] ... | [INFO] [stdout] 257 | | )), [INFO] [stdout] 258 | | ]; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 242 ~ let monopoly = [Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 243 + YellowProperty::AtlanticAve { [INFO] [stdout] 244 + state: PropertyState::Owned, [INFO] [stdout] 245 + }, [INFO] [stdout] 246 + )), [INFO] [stdout] 247 + Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 248 + YellowProperty::VentnorAve { [INFO] [stdout] 249 + state: PropertyState::Owned, [INFO] [stdout] 250 + }, [INFO] [stdout] 251 + )), [INFO] [stdout] 252 + Properties::ColoredProperty(ColoredProperties::Yellow( [INFO] [stdout] 253 + YellowProperty::MarvinGardens { [INFO] [stdout] 254 + state: PropertyState::Owned, [INFO] [stdout] 255 + }, [INFO] [stdout] 256 ~ ))]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "2755df207b51105c6ae67604138dd4d8b0f6505d90b401d911f2c930d32ff3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2755df207b51105c6ae67604138dd4d8b0f6505d90b401d911f2c930d32ff3df", kill_on_drop: false }` [INFO] [stdout] 2755df207b51105c6ae67604138dd4d8b0f6505d90b401d911f2c930d32ff3df