[INFO] cloning repository https://github.com/adamholmgaard/queens
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamholmgaard/queens" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamholmgaard%2Fqueens", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamholmgaard%2Fqueens'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5f40c33de69b5472e0d76c0ebf2d08203259363
[INFO] testing adamholmgaard/queens against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamholmgaard%2Fqueens" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/adamholmgaard/queens
[INFO] finished tweaking git repo https://github.com/adamholmgaard/queens
[INFO] tweaked toml for git repo https://github.com/adamholmgaard/queens written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adamholmgaard/queens on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/adamholmgaard/queens 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be0c08bb3486e9898c7983f693667a81e7e8ec7082097b472fb6716dae160083
[INFO] running `Command { std: "docker" "start" "-a" "be0c08bb3486e9898c7983f693667a81e7e8ec7082097b472fb6716dae160083", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be0c08bb3486e9898c7983f693667a81e7e8ec7082097b472fb6716dae160083", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be0c08bb3486e9898c7983f693667a81e7e8ec7082097b472fb6716dae160083", kill_on_drop: false }`
[INFO] [stdout] be0c08bb3486e9898c7983f693667a81e7e8ec7082097b472fb6716dae160083
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efb100ae30c4a6c30075a14aead3a497c03c6d26c709d7210300fc4a4804d055
[INFO] running `Command { std: "docker" "start" "-a" "efb100ae30c4a6c30075a14aead3a497c03c6d26c709d7210300fc4a4804d055", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.93
[INFO] [stderr] Compiling unicode-ident v1.0.17
[INFO] [stderr] Compiling libc v0.2.170
[INFO] [stderr] Compiling once_cell v1.20.3
[INFO] [stderr] Compiling bitflags v2.8.0
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling pin-project-lite v0.2.16
[INFO] [stderr] Compiling rustix v0.38.44
[INFO] [stderr] Compiling log v0.4.26
[INFO] [stderr] Compiling linux-raw-sys v0.4.15
[INFO] [stderr] Compiling smallvec v1.14.0
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Compiling pkg-config v0.3.31
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling libloading v0.8.6
[INFO] [stderr] Compiling slab v0.4.9
[INFO] [stderr] Compiling cfg_aliases v0.2.1
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling serde v1.0.218
[INFO] [stderr] Compiling tracing-core v0.1.33
[INFO] [stderr] Compiling equivalent v1.0.2
[INFO] [stderr] Compiling parking v2.2.1
[INFO] [stderr] Compiling hashbrown v0.15.2
[INFO] [stderr] Compiling dlib v0.5.2
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling toml_datetime v0.6.8
[INFO] [stderr] Compiling winnow v0.7.3
[INFO] [stderr] Compiling shlex v1.3.0
[INFO] [stderr] Compiling typenum v1.18.0
[INFO] [stderr] Compiling futures-io v0.3.31
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling downcast-rs v1.2.1
[INFO] [stderr] Compiling cc v1.2.15
[INFO] [stderr] Compiling fastrand v2.3.0
[INFO] [stderr] Compiling wayland-client v0.31.8
[INFO] [stderr] Compiling concurrent-queue v2.5.0
[INFO] [stderr] Compiling stable_deref_trait v1.2.0
[INFO] [stderr] Compiling endi v1.1.0
[INFO] [stderr] Compiling wayland-sys v0.31.6
[INFO] [stderr] Compiling memoffset v0.9.1
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling atomic-waker v1.1.2
[INFO] [stderr] Compiling async-task v4.7.1
[INFO] [stderr] Compiling futures-lite v2.6.0
[INFO] [stderr] Compiling event-listener v5.4.0
[INFO] [stderr] Compiling quote v1.0.38
[INFO] [stderr] Compiling indexmap v2.7.1
[INFO] [stderr] Compiling quick-xml v0.37.2
[INFO] [stderr] Compiling event-listener-strategy v0.5.3
[INFO] [stderr] Compiling piper v0.2.4
[INFO] [stderr] Compiling nix v0.29.0
[INFO] [stderr] Compiling ttf-parser v0.25.1
[INFO] [stderr] Compiling async-lock v3.4.0
[INFO] [stderr] Compiling syn v2.0.98
[INFO] [stderr] Compiling async-channel v2.3.1
[INFO] [stderr] Compiling khronos_api v3.1.0
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Compiling futures-task v0.3.31
[INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr] Compiling arrayvec v0.7.6
[INFO] [stderr] Compiling litemap v0.7.5
[INFO] [stderr] Compiling writeable v0.5.5
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling cpufeatures v0.2.17
[INFO] [stderr] Compiling async-broadcast v0.7.2
[INFO] [stderr] Compiling ordered-stream v0.2.0
[INFO] [stderr] Compiling xml-rs v0.8.25
[INFO] [stderr] Compiling toml_edit v0.22.24
[INFO] [stderr] Compiling x11-dl v2.21.0
[INFO] [stderr] Compiling xcursor v0.3.8
[INFO] [stderr] Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr] Compiling getrandom v0.2.15
[INFO] [stderr] Compiling xdg-home v1.3.0
[INFO] [stderr] Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr] Compiling wayland-scanner v0.31.6
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling xkeysym v0.2.1
[INFO] [stderr] Compiling accesskit v0.17.1
[INFO] [stderr] Compiling cursor-icon v1.1.0
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling blocking v1.6.1
[INFO] [stderr] Compiling async-executor v1.13.1
[INFO] [stderr] Compiling memmap2 v0.9.5
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling async-fs v2.1.2
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling wayland-backend v0.3.8
[INFO] [stderr] Compiling gl_generator v0.14.0
[INFO] [stderr] Compiling sha1 v0.10.6
[INFO] [stderr] Compiling simd-adler32 v0.3.7
[INFO] [stderr] Compiling arrayref v0.3.9
[INFO] [stderr] Compiling icu_properties_data v1.5.0
[INFO] [stderr] Compiling strict-num v0.1.1
[INFO] [stderr] Compiling parking_lot v0.12.3
[INFO] [stderr] Compiling write16 v1.0.0
[INFO] [stderr] Compiling utf16_iter v1.0.5
[INFO] [stderr] Compiling utf8_iter v1.0.4
[INFO] [stderr] Compiling foldhash v0.1.4
[INFO] [stderr] Compiling x11rb-protocol v0.13.1
[INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1
[INFO] [stderr] Compiling icu_normalizer_data v1.5.0
[INFO] [stderr] Compiling adler2 v2.0.0
[INFO] [stderr] Compiling immutable-chunkmap v2.0.6
[INFO] [stderr] Compiling winit v0.30.9
[INFO] [stderr] Compiling proc-macro-crate v3.2.0
[INFO] [stderr] Compiling miniz_oxide v0.8.5
[INFO] [stderr] Compiling crc32fast v1.4.2
[INFO] [stderr] Compiling profiling v1.0.16
[INFO] [stderr] Compiling nohash-hasher v0.2.0
[INFO] [stderr] Compiling epaint_default_fonts v0.31.0
[INFO] [stderr] Compiling raw-window-handle v0.6.2
[INFO] [stderr] Compiling glutin_egl_sys v0.7.1
[INFO] [stderr] Compiling glutin_glx_sys v0.6.1
[INFO] [stderr] Compiling flate2 v1.1.0
[INFO] [stderr] Compiling xkbcommon-dl v0.4.2
[INFO] [stderr] Compiling fdeflate v0.3.7
[INFO] [stderr] Compiling smol_str v0.2.2
[INFO] [stderr] Compiling dpi v0.1.1
[INFO] [stderr] Compiling accesskit_consumer v0.26.0
[INFO] [stderr] Compiling getrandom v0.3.1
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling glutin v0.32.2
[INFO] [stderr] Compiling byteorder-lite v0.1.0
[INFO] [stderr] Compiling unicase v2.8.1
[INFO] [stderr] Compiling png v0.17.16
[INFO] [stderr] Compiling mime_guess2 v2.0.5
[INFO] [stderr] Compiling glutin-winit v0.5.0
[INFO] [stderr] Compiling home v0.5.11
[INFO] [stderr] Compiling utf8parse v0.2.2
[INFO] [stderr] Compiling rand_core v0.9.3
[INFO] [stderr] Compiling anstyle-parse v0.2.6
[INFO] [stderr] Compiling anstyle v1.0.10
[INFO] [stderr] Compiling owned_ttf_parser v0.25.0
[INFO] [stderr] Compiling litrs v0.4.1
[INFO] [stderr] Compiling ab_glyph v0.2.29
[INFO] [stderr] Compiling anstyle-query v1.1.2
[INFO] [stderr] Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr] Compiling glow v0.16.0
[INFO] [stderr] Compiling web-time v1.1.0
[INFO] [stderr] Compiling colorchoice v1.0.3
[INFO] [stderr] Compiling anstream v0.6.18
[INFO] [stderr] Compiling document-features v0.2.11
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling wayland-csd-frame v0.3.0
[INFO] [stderr] Compiling synstructure v0.13.1
[INFO] [stderr] Compiling zvariant_utils v2.1.0
[INFO] [stderr] Compiling zerocopy-derive v0.7.35
[INFO] [stderr] Compiling serde_derive v1.0.218
[INFO] [stderr] Compiling tracing-attributes v0.1.28
[INFO] [stderr] Compiling bytemuck_derive v1.8.1
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling enumflags2_derive v0.7.11
[INFO] [stderr] Compiling yoke-derive v0.7.5
[INFO] [stderr] Compiling zvariant_derive v4.2.0
[INFO] [stderr] Compiling zerovec-derive v0.10.3
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Compiling zbus_macros v4.4.0
[INFO] [stderr] Compiling serde_repr v0.1.19
[INFO] [stderr] Compiling icu_provider_macros v1.5.0
[INFO] [stderr] Compiling async-trait v0.1.86
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling zerocopy v0.7.35
[INFO] [stderr] Compiling wayland-protocols v0.32.6
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling wayland-cursor v0.31.8
[INFO] [stderr] Compiling enum-map-derive v0.17.0
[INFO] [stderr] Compiling env_filter v0.1.3
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling ppv-lite86 v0.2.20
[INFO] [stderr] Compiling bytemuck v1.21.0
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling env_logger v0.11.6
[INFO] [stderr] Compiling polling v3.7.4
[INFO] [stderr] Compiling yoke v0.7.5
[INFO] [stderr] Compiling tiny-skia-path v0.11.4
[INFO] [stderr] Compiling emath v0.31.0
[INFO] [stderr] Compiling zerovec v0.10.4
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling image v0.25.5
[INFO] [stderr] Compiling rand_chacha v0.9.0
[INFO] [stderr] Compiling ecolor v0.31.0
[INFO] [stderr] Compiling async-io v2.4.0
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling calloop v0.13.0
[INFO] [stderr] Compiling tiny-skia v0.11.4
[INFO] [stderr] Compiling epaint v0.31.0
[INFO] [stderr] Compiling calloop-wayland-source v0.3.0
[INFO] [stderr] Compiling rand v0.9.1
[INFO] [stderr] Compiling tinystr v0.7.6
[INFO] [stderr] Compiling icu_collections v1.5.0
[INFO] [stderr] Compiling icu_locid v1.5.0
[INFO] [stderr] Compiling icu_provider v1.5.0
[INFO] [stderr] Compiling icu_locid_transform v1.5.0
[INFO] [stderr] Compiling egui v0.31.0
[INFO] [stderr] Compiling icu_properties v1.5.1
[INFO] [stderr] Compiling enumflags2 v0.7.11
[INFO] [stderr] Compiling quick-xml v0.30.0
[INFO] [stderr] Compiling enum-map v2.7.3
[INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6
[INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6
[INFO] [stderr] Compiling zvariant v4.2.0
[INFO] [stderr] Compiling icu_normalizer v1.5.0
[INFO] [stderr] Compiling egui_glow v0.31.0
[INFO] [stderr] Compiling egui_extras v0.31.0
[INFO] [stderr] Compiling idna_adapter v1.2.0
[INFO] [stderr] Compiling x11rb v0.13.1
[INFO] [stderr] Compiling idna v1.0.3
[INFO] [stderr] Compiling url v2.5.4
[INFO] [stderr] Compiling zbus_names v3.0.0
[INFO] [stderr] Compiling webbrowser v1.0.3
[INFO] [stderr] Compiling zbus_xml v4.0.0
[INFO] [stderr] Compiling zbus v4.4.0
[INFO] [stderr] Compiling zbus-lockstep v0.4.4
[INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4
[INFO] [stderr] Compiling arboard v3.4.1
[INFO] [stderr] Compiling sctk-adwaita v0.10.1
[INFO] [stderr] Compiling smithay-clipboard v0.7.2
[INFO] [stderr] Compiling atspi-common v0.6.0
[INFO] [stderr] Compiling atspi-proxies v0.6.0
[INFO] [stderr] Compiling accesskit_atspi_common v0.10.1
[INFO] [stderr] Compiling atspi-connection v0.6.0
[INFO] [stderr] Compiling atspi v0.22.0
[INFO] [stderr] Compiling accesskit_unix v0.13.1
[INFO] [stderr] Compiling accesskit_winit v0.23.1
[INFO] [stderr] Compiling egui-winit v0.31.0
[INFO] [stderr] Compiling eframe v0.31.0
[INFO] [stderr] Compiling Queens v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout] --> src/model/grid.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout] --> src/model/grid.rs:4:16
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::fmt::{Display, Formatter};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `QueensError`
[INFO] [stdout] --> src/model/state.rs:1:21
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::errors::{QueensError, QueensResult};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `complex_layout`
[INFO] [stdout] --> src/model/state.rs:4:28
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::model::layout::{complex_layout, Layout};
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout] --> src/view/in_game/grid_ui.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::debug;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Layout` and `section`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:2:28
[INFO] [stdout] |
[INFO] [stdout] 2 | use crate::model::layout::{section, Area, Layout};
[INFO] [stdout] | ^^^^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Tile`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:4:26
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::model::tile::{Tile, TILE_SIZE};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `eframe::egui::CursorIcon::Default`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use eframe::egui::CursorIcon::Default;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `CornerRadius` and `vec2`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:6:20
[INFO] [stdout] |
[INFO] [stdout] 6 | use eframe::egui::{vec2, Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stdout] | ^^^^ ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Area`, `Button`, `Id`, `Ui`, and `vec2`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:6:20
[INFO] [stdout] |
[INFO] [stdout] 6 | use eframe::egui::{vec2, Align2, Area, Button, CentralPanel, Context, Id, Key, Ui, Vec2, Window};
[INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^ ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use std::thread::sleep;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::time::Duration;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout] --> src/view/in_game/underlay_ui.rs:2:79
[INFO] [stdout] |
[INFO] [stdout] 2 | use eframe::egui::{Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout] --> src/view/main_menu/main_menu_ui.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::debug;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Align2`, `Vec2`, and `Window`
[INFO] [stdout] --> src/main.rs:9:20
[INFO] [stdout] |
[INFO] [stdout] 9 | use eframe::egui::{Align2, CentralPanel, Context, Key, Vec2, Window};
[INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::thread::sleep;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::time::Duration;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:26:13
[INFO] [stdout] |
[INFO] [stdout] 26 | for x in state.get_layout().get_areas() {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:25:21
[INFO] [stdout] |
[INFO] [stdout] 25 | fn render_areas(ui: &mut Ui, state: State) -> QueensResult<()> {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_n` is never used
[INFO] [stdout] --> src/model/grid.rs:31:12
[INFO] [stdout] |
[INFO] [stdout] 13 | impl Grid {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub fn get_n(&self) -> usize {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/model/layout.rs:81:8
[INFO] [stdout] |
[INFO] [stdout] 80 | impl Layout {
[INFO] [stdout] | ----------- associated function in this implementation
[INFO] [stdout] 81 | fn new(areas: Vec) -> Layout {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `section_to_int` is never used
[INFO] [stdout] --> src/model/layout.rs:122:4
[INFO] [stdout] |
[INFO] [stdout] 122 | fn section_to_int(args: Vec) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `easy_layout` is never used
[INFO] [stdout] --> src/model/layout.rs:133:8
[INFO] [stdout] |
[INFO] [stdout] 133 | pub fn easy_layout() -> Layout {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `complex_layout` is never used
[INFO] [stdout] --> src/model/layout.rs:145:8
[INFO] [stdout] |
[INFO] [stdout] 145 | pub fn complex_layout() -> Layout {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `set_tile` is never used
[INFO] [stdout] --> src/model/state.rs:57:12
[INFO] [stdout] |
[INFO] [stdout] 24 | impl State {
[INFO] [stdout] | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub fn set_tile(&mut self, x: usize, tile: Tile) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_raw_color` is never used
[INFO] [stdout] --> src/model/tile.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 12 | impl Tile {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 | pub fn get_raw_color(&self) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:143:17
[INFO] [stdout] |
[INFO] [stdout] 143 | state.flip_tile(c);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 143 | let _ = state.flip_tile(c);
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s
[INFO] running `Command { std: "docker" "inspect" "efb100ae30c4a6c30075a14aead3a497c03c6d26c709d7210300fc4a4804d055", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efb100ae30c4a6c30075a14aead3a497c03c6d26c709d7210300fc4a4804d055", kill_on_drop: false }`
[INFO] [stdout] efb100ae30c4a6c30075a14aead3a497c03c6d26c709d7210300fc4a4804d055
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2e477251e918432f91fe2bafd5e56b5c5ae66483af4a1908efe71820cebcb83
[INFO] running `Command { std: "docker" "start" "-a" "d2e477251e918432f91fe2bafd5e56b5c5ae66483af4a1908efe71820cebcb83", kill_on_drop: false }`
[INFO] [stderr] Compiling Queens v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout] --> src/model/grid.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout] --> src/model/grid.rs:4:16
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::fmt::{Display, Formatter};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `QueensError`
[INFO] [stdout] --> src/model/state.rs:1:21
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::errors::{QueensError, QueensResult};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `complex_layout`
[INFO] [stdout] --> src/model/state.rs:4:28
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::model::layout::{complex_layout, Layout};
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout] --> src/view/in_game/grid_ui.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use log::debug;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Layout` and `section`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:2:28
[INFO] [stdout] |
[INFO] [stdout] 2 | use crate::model::layout::{section, Area, Layout};
[INFO] [stdout] | ^^^^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Tile`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:4:26
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::model::tile::{Tile, TILE_SIZE};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `eframe::egui::CursorIcon::Default`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use eframe::egui::CursorIcon::Default;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `CornerRadius` and `vec2`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:6:20
[INFO] [stdout] |
[INFO] [stdout] 6 | use eframe::egui::{vec2, Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stdout] | ^^^^ ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Area`, `Button`, `Id`, `Ui`, and `vec2`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:6:20
[INFO] [stdout] |
[INFO] [stdout] 6 | use eframe::egui::{vec2, Align2, Area, Button, CentralPanel, Context, Id, Key, Ui, Vec2, Window};
[INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^ ^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use std::thread::sleep;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::time::Duration;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout] --> src/view/in_game/underlay_ui.rs:2:79
[INFO] [stdout] |
[INFO] [stdout] 2 | use eframe::egui::{Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout] --> src/view/main_menu/main_menu_ui.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use log::debug;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Align2`, `Vec2`, and `Window`
[INFO] [stdout] --> src/main.rs:9:20
[INFO] [stdout] |
[INFO] [stdout] 9 | use eframe::egui::{Align2, CentralPanel, Context, Key, Vec2, Window};
[INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout] --> src/main.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use std::thread::sleep;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout] --> src/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use std::time::Duration;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:26:13
[INFO] [stdout] |
[INFO] [stdout] 26 | for x in state.get_layout().get_areas() {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout] --> src/view/in_game/highlight_ui.rs:25:21
[INFO] [stdout] |
[INFO] [stdout] 25 | fn render_areas(ui: &mut Ui, state: State) -> QueensResult<()> {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_n` is never used
[INFO] [stdout] --> src/model/grid.rs:31:12
[INFO] [stdout] |
[INFO] [stdout] 13 | impl Grid {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub fn get_n(&self) -> usize {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/model/layout.rs:81:8
[INFO] [stdout] |
[INFO] [stdout] 80 | impl Layout {
[INFO] [stdout] | ----------- associated function in this implementation
[INFO] [stdout] 81 | fn new(areas: Vec) -> Layout {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `section_to_int` is never used
[INFO] [stdout] --> src/model/layout.rs:122:4
[INFO] [stdout] |
[INFO] [stdout] 122 | fn section_to_int(args: Vec) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `easy_layout` is never used
[INFO] [stdout] --> src/model/layout.rs:133:8
[INFO] [stdout] |
[INFO] [stdout] 133 | pub fn easy_layout() -> Layout {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `complex_layout` is never used
[INFO] [stdout] --> src/model/layout.rs:145:8
[INFO] [stdout] |
[INFO] [stdout] 145 | pub fn complex_layout() -> Layout {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `set_tile` is never used
[INFO] [stdout] --> src/model/state.rs:57:12
[INFO] [stdout] |
[INFO] [stdout] 24 | impl State {
[INFO] [stdout] | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub fn set_tile(&mut self, x: usize, tile: Tile) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_raw_color` is never used
[INFO] [stdout] --> src/model/tile.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 12 | impl Tile {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 | pub fn get_raw_color(&self) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/view/in_game/in_game_ui.rs:143:17
[INFO] [stdout] |
[INFO] [stdout] 143 | state.flip_tile(c);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 143 | let _ = state.flip_tile(c);
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.59s
[INFO] running `Command { std: "docker" "inspect" "d2e477251e918432f91fe2bafd5e56b5c5ae66483af4a1908efe71820cebcb83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2e477251e918432f91fe2bafd5e56b5c5ae66483af4a1908efe71820cebcb83", kill_on_drop: false }`
[INFO] [stdout] d2e477251e918432f91fe2bafd5e56b5c5ae66483af4a1908efe71820cebcb83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b6cbf37e2ec23df86d9f59254d097be92e55ed030c01d4e78747f4757242af5b
[INFO] running `Command { std: "docker" "start" "-a" "b6cbf37e2ec23df86d9f59254d097be92e55ed030c01d4e78747f4757242af5b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr] --> src/model/grid.rs:3:5
[INFO] [stderr] |
[INFO] [stderr] 3 | use std::fmt;
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Display` and `Formatter`
[INFO] [stderr] --> src/model/grid.rs:4:16
[INFO] [stderr] |
[INFO] [stderr] 4 | use std::fmt::{Display, Formatter};
[INFO] [stderr] | ^^^^^^^ ^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `QueensError`
[INFO] [stderr] --> src/model/state.rs:1:21
[INFO] [stderr] |
[INFO] [stderr] 1 | use crate::errors::{QueensError, QueensResult};
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `complex_layout`
[INFO] [stderr] --> src/model/state.rs:4:28
[INFO] [stderr] |
[INFO] [stderr] 4 | use crate::model::layout::{complex_layout, Layout};
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `log::debug`
[INFO] [stderr] --> src/view/in_game/grid_ui.rs:5:5
[INFO] [stderr] |
[INFO] [stderr] 5 | use log::debug;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Layout` and `section`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:2:28
[INFO] [stderr] |
[INFO] [stderr] 2 | use crate::model::layout::{section, Area, Layout};
[INFO] [stderr] | ^^^^^^^ ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `Tile`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:4:26
[INFO] [stderr] |
[INFO] [stderr] 4 | use crate::model::tile::{Tile, TILE_SIZE};
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `eframe::egui::CursorIcon::Default`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:5:5
[INFO] [stderr] |
[INFO] [stderr] 5 | use eframe::egui::CursorIcon::Default;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `CornerRadius` and `vec2`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:6:20
[INFO] [stderr] |
[INFO] [stderr] 6 | use eframe::egui::{vec2, Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stderr] | ^^^^ ^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Area`, `Button`, `Id`, `Ui`, and `vec2`
[INFO] [stderr] --> src/view/in_game/in_game_ui.rs:6:20
[INFO] [stderr] |
[INFO] [stderr] 6 | use eframe::egui::{vec2, Align2, Area, Button, CentralPanel, Context, Id, Key, Ui, Vec2, Window};
[INFO] [stderr] | ^^^^ ^^^^ ^^^^^^ ^^ ^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::thread::sleep`
[INFO] [stderr] --> src/view/in_game/in_game_ui.rs:7:5
[INFO] [stderr] |
[INFO] [stderr] 7 | use std::thread::sleep;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr] --> src/view/in_game/in_game_ui.rs:8:5
[INFO] [stderr] |
[INFO] [stderr] 8 | use std::time::Duration;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `Vec2`
[INFO] [stderr] --> src/view/in_game/underlay_ui.rs:2:79
[INFO] [stderr] |
[INFO] [stderr] 2 | use eframe::egui::{Color32, CornerRadius, Pos2, Rect, Stroke, StrokeKind, Ui, Vec2};
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `log::debug`
[INFO] [stderr] --> src/view/main_menu/main_menu_ui.rs:4:5
[INFO] [stderr] |
[INFO] [stderr] 4 | use log::debug;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Align2`, `Vec2`, and `Window`
[INFO] [stderr] --> src/main.rs:9:20
[INFO] [stderr] |
[INFO] [stderr] 9 | use eframe::egui::{Align2, CentralPanel, Context, Key, Vec2, Window};
[INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::thread::sleep`
[INFO] [stderr] --> src/main.rs:13:5
[INFO] [stderr] |
[INFO] [stderr] 13 | use std::thread::sleep;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr] --> src/main.rs:14:5
[INFO] [stderr] |
[INFO] [stderr] 14 | use std::time::Duration;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:26:13
[INFO] [stderr] |
[INFO] [stderr] 26 | for x in state.get_layout().get_areas() {
[INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `ui`
[INFO] [stderr] --> src/view/in_game/highlight_ui.rs:25:21
[INFO] [stderr] |
[INFO] [stderr] 25 | fn render_areas(ui: &mut Ui, state: State) -> QueensResult<()> {
[INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stderr]
[INFO] [stderr] warning: method `get_n` is never used
[INFO] [stderr] --> src/model/grid.rs:31:12
[INFO] [stderr] |
[INFO] [stderr] 13 | impl Grid {
[INFO] [stderr] | --------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 31 | pub fn get_n(&self) -> usize {
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr] --> src/model/layout.rs:81:8
[INFO] [stderr] |
[INFO] [stderr] 80 | impl Layout {
[INFO] [stderr] | ----------- associated function in this implementation
[INFO] [stderr] 81 | fn new(areas: Vec) -> Layout {
[INFO] [stderr] | ^^^
[INFO] [stderr]
[INFO] [stderr] warning: function `section_to_int` is never used
[INFO] [stderr] --> src/model/layout.rs:122:4
[INFO] [stderr] |
[INFO] [stderr] 122 | fn section_to_int(args: Vec) -> Vec {
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: function `easy_layout` is never used
[INFO] [stderr] --> src/model/layout.rs:133:8
[INFO] [stderr] |
[INFO] [stderr] 133 | pub fn easy_layout() -> Layout {
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: function `complex_layout` is never used
[INFO] [stderr] --> src/model/layout.rs:145:8
[INFO] [stderr] |
[INFO] [stderr] 145 | pub fn complex_layout() -> Layout {
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: method `set_tile` is never used
[INFO] [stderr] --> src/model/state.rs:57:12
[INFO] [stderr] |
[INFO] [stderr] 24 | impl State {
[INFO] [stderr] | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 57 | pub fn set_tile(&mut self, x: usize, tile: Tile) {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: method `get_raw_color` is never used
[INFO] [stderr] --> src/model/tile.rs:24:12
[INFO] [stderr] |
[INFO] [stderr] 12 | impl Tile {
[INFO] [stderr] | --------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 24 | pub fn get_raw_color(&self) -> u8 {
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr] --> src/view/in_game/in_game_ui.rs:143:17
[INFO] [stderr] |
[INFO] [stderr] 143 | state.flip_tile(c);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr] |
[INFO] [stderr] 143 | let _ = state.flip_tile(c);
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] warning: `Queens` (bin "Queens" test) generated 27 warnings (run `cargo fix --bin "Queens" --tests` to apply 17 suggestions)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Queens-1a19181e6f7d6c09)
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "b6cbf37e2ec23df86d9f59254d097be92e55ed030c01d4e78747f4757242af5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6cbf37e2ec23df86d9f59254d097be92e55ed030c01d4e78747f4757242af5b", kill_on_drop: false }`
[INFO] [stdout] b6cbf37e2ec23df86d9f59254d097be92e55ed030c01d4e78747f4757242af5b