[INFO] cloning repository https://github.com/IGORplusplus/cli-roulette [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IGORplusplus/cli-roulette" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIGORplusplus%2Fcli-roulette", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIGORplusplus%2Fcli-roulette'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a9ed5e614d44fc9476950cfc82acefb3d56f671 [INFO] checking IGORplusplus/cli-roulette against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIGORplusplus%2Fcli-roulette" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IGORplusplus/cli-roulette [INFO] finished tweaking git repo https://github.com/IGORplusplus/cli-roulette [INFO] tweaked toml for git repo https://github.com/IGORplusplus/cli-roulette written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IGORplusplus/cli-roulette on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IGORplusplus/cli-roulette 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-general-category v0.6.0 [INFO] [stderr] Downloaded unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Downloaded unicode-ccc v0.1.2 [INFO] [stderr] Downloaded imagesize v0.11.0 [INFO] [stderr] Downloaded svgtypes v0.11.0 [INFO] [stderr] Downloaded usvg-tree v0.30.0 [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded usvg-text-layout v0.30.0 [INFO] [stderr] Downloaded usvg v0.30.0 [INFO] [stderr] Downloaded hex_color v3.0.0 [INFO] [stderr] Downloaded roxmltree v0.18.1 [INFO] [stderr] Downloaded usvg-parser v0.30.0 [INFO] [stderr] Downloaded rosvgtree v0.2.0 [INFO] [stderr] Downloaded kurbo v0.9.5 [INFO] [stderr] Downloaded fontdb v0.13.1 [INFO] [stderr] Downloaded rustybuzz v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90661243dbf8e17453747ad2207abef43ccdfc220099f2af194d1e90e385cacc [INFO] running `Command { std: "docker" "start" "-a" "90661243dbf8e17453747ad2207abef43ccdfc220099f2af194d1e90e385cacc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90661243dbf8e17453747ad2207abef43ccdfc220099f2af194d1e90e385cacc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90661243dbf8e17453747ad2207abef43ccdfc220099f2af194d1e90e385cacc", kill_on_drop: false }` [INFO] [stdout] 90661243dbf8e17453747ad2207abef43ccdfc220099f2af194d1e90e385cacc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950030819e8a9b8877c83234f977072dd5850ef4f3ec33ecc138f74e03e84c9e [INFO] running `Command { std: "docker" "start" "-a" "950030819e8a9b8877c83234f977072dd5850ef4f3ec33ecc138f74e03e84c9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking ttf-parser v0.18.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking roxmltree v0.18.1 [INFO] [stderr] Checking svgtypes v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking fontconfig-parser v0.5.8 [INFO] [stderr] Checking usvg-tree v0.30.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking simplecss v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rosvgtree v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking fontdb v0.13.1 [INFO] [stderr] Checking rustybuzz v0.7.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking data-url v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking imagesize v0.11.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking usvg-parser v0.30.0 [INFO] [stderr] Checking color-spantrace v0.3.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking hex_color v3.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking usvg-text-layout v0.30.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking usvg v0.30.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cli-roulette v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Alignment`, `Widget`, `buffer::Buffer`, `canvas::Canvas`, `canvas::Line`, and `symbols` [INFO] [stdout] --> src/ui.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | buffer::Buffer, symbols, layout::{Alignment, Rect}, prelude::*, style::{Color, Styled, Stylize}, widgets::{Block, BorderType, Borders, Clear, Paragraph, Widget, Wrap, canvas::Canvas, canvas::Line} [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: `self` [INFO] [stdout] --> src/ui.rs:8:79 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{components::enums::ShotgunCycleView, ui_components::widget_data::{self, WidgetData, WidgetKind}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/components/items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `seq::SliceRandom` [INFO] [stdout] --> src/components/shotgun.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{ Rng, seq::SliceRandom, thread_rng, distributions::{WeightedIndex, Distribution} }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `fmt::format` [INFO] [stdout] --> src/components/shotgun.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `shotgun` [INFO] [stdout] --> src/components/shotgun.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{components::{enums::ShotgunCycleView, shotgun}, ui_components::widget_data::{self, WidgetData}}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::terminal::disable_raw_mode` [INFO] [stdout] --> src/ui_components/widget_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::terminal::disable_raw_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/ui_components/widget_data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ui_components/widget_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BANG` and `CLICK` [INFO] [stdout] --> src/ui_components/widget_data.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ui::{SHOTGUN_ART, BANG, CLICK}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `Stylize` [INFO] [stdout] --> src/ui_components/widget_data.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use ratatui::style::{Color, Style, Stylize}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, and `Paragraph` [INFO] [stdout] --> src/ui_components/grid.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque` and `fmt::format` [INFO] [stdout] --> src/app.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::VecDeque, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `KeyModifiers`, `Layout`, `Rect`, and `self` [INFO] [stdout] --> src/app.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | layout::{Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | crossterm::event::{KeyCode, KeyEvent, KeyModifiers, MouseEvent, MouseButton, MouseEventKind, self}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_raw_mode`, `enable_raw_mode`, and `style::Color` [INFO] [stdout] --> src/app.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use crossterm::{style::Color, terminal::{disable_raw_mode, enable_raw_mode}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui_components::widget_data` [INFO] [stdout] --> src/app.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::{data::Data, ui_components::widget_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Widget`, `buffer::Buffer`, `canvas::Canvas`, `canvas::Line`, and `symbols` [INFO] [stdout] --> src/ui.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | buffer::Buffer, symbols, layout::{Alignment, Rect}, prelude::*, style::{Color, Styled, Stylize}, widgets::{Block, BorderType, Borders, Clear, Paragraph, Widget, Wrap, canvas::Canvas, canvas::Line} [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: `self` [INFO] [stdout] --> src/ui.rs:8:79 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{components::enums::ShotgunCycleView, ui_components::widget_data::{self, WidgetData, WidgetKind}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/components/items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `seq::SliceRandom` [INFO] [stdout] --> src/components/shotgun.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{ Rng, seq::SliceRandom, thread_rng, distributions::{WeightedIndex, Distribution} }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `fmt::format` [INFO] [stdout] --> src/components/shotgun.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `shotgun` [INFO] [stdout] --> src/components/shotgun.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{components::{enums::ShotgunCycleView, shotgun}, ui_components::widget_data::{self, WidgetData}}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::terminal::disable_raw_mode` [INFO] [stdout] --> src/ui_components/widget_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::terminal::disable_raw_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/ui_components/widget_data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/ui_components/widget_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BANG` and `CLICK` [INFO] [stdout] --> src/ui_components/widget_data.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ui::{SHOTGUN_ART, BANG, CLICK}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `Stylize` [INFO] [stdout] --> src/ui_components/widget_data.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use ratatui::style::{Color, Style, Stylize}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, and `Paragraph` [INFO] [stdout] --> src/ui_components/grid.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque` and `fmt::format` [INFO] [stdout] --> src/app.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::VecDeque, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `KeyModifiers`, `Layout`, `Rect`, and `self` [INFO] [stdout] --> src/app.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | layout::{Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | crossterm::event::{KeyCode, KeyEvent, KeyModifiers, MouseEvent, MouseButton, MouseEventKind, self}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `disable_raw_mode`, `enable_raw_mode`, and `style::Color` [INFO] [stdout] --> src/app.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use crossterm::{style::Color, terminal::{disable_raw_mode, enable_raw_mode}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui_components::widget_data` [INFO] [stdout] --> src/app.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::{data::Data, ui_components::widget_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 108 | AppEvent::Quit => self.quit(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 109 | [INFO] [stdout] 110 | AppEvent::Reload(amount) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 126 | AppEvent::Shoot => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 137 | AppEvent::ShowPopup(kind) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 204 | _ => { [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/app.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 108 | AppEvent::Quit => self.quit(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 109 | [INFO] [stdout] 110 | AppEvent::Reload(amount) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 126 | AppEvent::Shoot => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 137 | AppEvent::ShowPopup(kind) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 204 | _ => { [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `player_names` found for struct `match_data::MatchData` in the current scope [INFO] [stdout] --> src/ui.rs:106:100 [INFO] [stdout] | [INFO] [stdout] 106 | WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `match_data::MatchData` [INFO] [stdout] | [INFO] [stdout] ::: src/components/match_data.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MatchData { [INFO] [stdout] | -------------------- method `player_names` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/ui.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- unexpected argument #1 of type `&App` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ui.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn render_player_popup(frame: &mut Frame, widget_data: &WidgetData, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 106 - WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] 106 + WidgetKind::Player => render_player_popup(, frame, &widget_data, /* String */), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `player_names` found for struct `match_data::MatchData` in the current scope [INFO] [stdout] --> src/ui.rs:106:100 [INFO] [stdout] | [INFO] [stdout] 106 | WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `match_data::MatchData` [INFO] [stdout] | [INFO] [stdout] ::: src/components/match_data.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MatchData { [INFO] [stdout] | -------------------- method `player_names` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/ui.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- unexpected argument #1 of type `&App` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ui.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn render_player_popup(frame: &mut Frame, widget_data: &WidgetData, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 106 - WidgetKind::Player => render_player_popup(app, frame, &widget_data, app.match_data.player_names()), [INFO] [stdout] 106 + WidgetKind::Player => render_player_popup(, frame, &widget_data, /* String */), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/match_data.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | Some(id) [INFO] [stdout] | ---- ^^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u32` due to the type of the argument passed [INFO] [stdout] --> src/components/match_data.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Some(id) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4 [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 43 | Some(id.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/match_data.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | Some(id) [INFO] [stdout] | ---- ^^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u32` due to the type of the argument passed [INFO] [stdout] --> src/components/match_data.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Some(id) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4 [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 48 | Some(id.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/match_data.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | Some(id) [INFO] [stdout] | ---- ^^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u32` due to the type of the argument passed [INFO] [stdout] --> src/components/match_data.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Some(id) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4 [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 43 | Some(id.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/match_data.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | Some(id) [INFO] [stdout] | ---- ^^ expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u32` due to the type of the argument passed [INFO] [stdout] --> src/components/match_data.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Some(id) [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/option.rs:608:4 [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 48 | Some(id.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ChangePlayerTurn` found for enum `AppEvent` in the current scope [INFO] [stdout] --> src/app.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | self.events.send(AppEvent::ChangePlayerTurn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `AppEvent` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AppEvent { [INFO] [stdout] | ----------------- variant or associated item `ChangePlayerTurn` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ChangePlayerTurn` found for enum `AppEvent` in the current scope [INFO] [stdout] --> src/app.rs:258:44 [INFO] [stdout] | [INFO] [stdout] 258 | self.events.send(AppEvent::ChangePlayerTurn(self.match_data.second_player_id())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `AppEvent` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AppEvent { [INFO] [stdout] | ----------------- variant or associated item `ChangePlayerTurn` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/ui.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | buffer::Buffer, symbols, layout::{Alignment, Rect}, prelude::*, style::{Color, Styled, Stylize}, widgets::{Block, BorderType, Bor... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ChangePlayerTurn` found for enum `AppEvent` in the current scope [INFO] [stdout] --> src/app.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | self.events.send(AppEvent::ChangePlayerTurn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `AppEvent` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AppEvent { [INFO] [stdout] | ----------------- variant or associated item `ChangePlayerTurn` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ChangePlayerTurn` found for enum `AppEvent` in the current scope [INFO] [stdout] --> src/app.rs:258:44 [INFO] [stdout] | [INFO] [stdout] 258 | self.events.send(AppEvent::ChangePlayerTurn(self.match_data.second_player_id())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `AppEvent` [INFO] [stdout] | [INFO] [stdout] ::: src/event.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum AppEvent { [INFO] [stdout] | ----------------- variant or associated item `ChangePlayerTurn` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/ui.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | buffer::Buffer, symbols, layout::{Alignment, Rect}, prelude::*, style::{Color, Styled, Stylize}, widgets::{Block, BorderType, Bor... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | fn render_confirm_popup(app: &App, frame: &mut Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/ui.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | let w = frame_area.width; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/ui.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let h = frame_area.height; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | fn render_confirm_popup(app: &App, frame: &mut Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/ui.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | let w = frame_area.width; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/ui.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let h = frame_area.height; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/ui_components/grid.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn render(self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/ui_components/grid.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn render(self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/ui_components/grid.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn render(self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/ui_components/grid.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn render(self, area: Rect, buf: &mut Buffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cli-roulette` (bin "cli-roulette") due to 6 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cli-roulette` (bin "cli-roulette" test) due to 6 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "950030819e8a9b8877c83234f977072dd5850ef4f3ec33ecc138f74e03e84c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950030819e8a9b8877c83234f977072dd5850ef4f3ec33ecc138f74e03e84c9e", kill_on_drop: false }` [INFO] [stdout] 950030819e8a9b8877c83234f977072dd5850ef4f3ec33ecc138f74e03e84c9e