[INFO] cloning repository https://github.com/redshiftss/crabble [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redshiftss/crabble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Fcrabble", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Fcrabble'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1fe0d9af184a9ac7ff334b997d6d4a3448adaa0 [INFO] building redshiftss/crabble against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Fcrabble" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/redshiftss/crabble [INFO] finished tweaking git repo https://github.com/redshiftss/crabble [INFO] tweaked toml for git repo https://github.com/redshiftss/crabble written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/redshiftss/crabble on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/redshiftss/crabble 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.8.0 [INFO] [stderr] Downloaded axum-core v0.5.0-alpha.1 [INFO] [stderr] Downloaded axum v0.8.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e0c1e3c381db3cde44b8323e27041212e56e7a3c069c71b744bd3df2c307e8e [INFO] running `Command { std: "docker" "start" "-a" "8e0c1e3c381db3cde44b8323e27041212e56e7a3c069c71b744bd3df2c307e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e0c1e3c381db3cde44b8323e27041212e56e7a3c069c71b744bd3df2c307e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0c1e3c381db3cde44b8323e27041212e56e7a3c069c71b744bd3df2c307e8e", kill_on_drop: false }` [INFO] [stdout] 8e0c1e3c381db3cde44b8323e27041212e56e7a3c069c71b744bd3df2c307e8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd2aa160c3cf1ea5beedc9c63b271e611bf3d016ab95fc10650692ba8609d7b [INFO] running `Command { std: "docker" "start" "-a" "3bd2aa160c3cf1ea5beedc9c63b271e611bf3d016ab95fc10650692ba8609d7b", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling matchit v0.8.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling axum-core v0.5.0-alpha.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling logic v0.0.0 (/opt/rustwide/workdir/logic) [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::take` [INFO] [stdout] --> logic/src/bag.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn take(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::take` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::put` [INFO] [stdout] --> logic/src/bag.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn put(&mut self, tile: HandTile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BoardTile` is more private than the item `Game::get_tile` [INFO] [stdout] --> logic/src/game.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_tile(&self, coord: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Game::get_tile` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BoardTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | struct BoardTile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `LetterValues::get` [INFO] [stdout] --> logic/src/language.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get(&self, tile: HandTile) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `LetterValues::get` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `language::Distribution::iter` [INFO] [stdout] --> logic/src/language.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `language::Distribution::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling asn_tests_runner v0.1.0 (/opt/rustwide/workdir/asn_tests_runner) [INFO] [stderr] Compiling crabble-tui v0.1.0 (/opt/rustwide/workdir/crabble-tui) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> crabble-tui/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [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] --> crabble-tui/src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use logic::game::{self, Game, Player}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEventKind` [INFO] [stdout] --> crabble-tui/src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modifier` [INFO] [stdout] --> crabble-tui/src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `Span`, and `Text` [INFO] [stdout] --> crabble-tui/src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use ratatui::text::{Line, Span, Text}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListItem` and `List` [INFO] [stdout] --> crabble-tui/src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::widgets::{Block, List, ListItem, Paragraph, Widget}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> crabble-tui/src/main.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> crabble-tui/src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct GameTurn { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputMode` is never used [INFO] [stdout] --> crabble-tui/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum InputMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `editable` is never read [INFO] [stdout] --> crabble-tui/src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct StringField { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | editable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_editable` is never used [INFO] [stdout] --> crabble-tui/src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl StringField { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn make_editable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling axum v0.8.0-alpha.1 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/networking/server) [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> networking/server/src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let store = HashMap::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> networking/server/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Clone`, 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: variants `Pending`, `Playing`, and `Completed` are never constructed [INFO] [stdout] --> networking/server/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 18 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Playing(Uuid), // Uuid indicating which player's turn it is [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `players`, `board`, and `state` are never read [INFO] [stdout] --> networking/server/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | uuid: Uuid, // We're storing the Uuids de-normalized cause it makes it easier lol [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | players: Vec, // Order determines turn order [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | state: GameState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_game` is never used [INFO] [stdout] --> networking/server/src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn start_game(store: &mut S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> networking/server/src/store.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.75s [INFO] running `Command { std: "docker" "inspect" "3bd2aa160c3cf1ea5beedc9c63b271e611bf3d016ab95fc10650692ba8609d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd2aa160c3cf1ea5beedc9c63b271e611bf3d016ab95fc10650692ba8609d7b", kill_on_drop: false }` [INFO] [stdout] 3bd2aa160c3cf1ea5beedc9c63b271e611bf3d016ab95fc10650692ba8609d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 291fecb569142369249b3affda30f63213a6d448db3a7f41f0ad38a26c7a8389 [INFO] running `Command { std: "docker" "start" "-a" "291fecb569142369249b3affda30f63213a6d448db3a7f41f0ad38a26c7a8389", kill_on_drop: false }` [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::take` [INFO] [stdout] --> logic/src/bag.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn take(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::take` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::put` [INFO] [stdout] --> logic/src/bag.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn put(&mut self, tile: HandTile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BoardTile` is more private than the item `Game::get_tile` [INFO] [stdout] --> logic/src/game.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_tile(&self, coord: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Game::get_tile` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BoardTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | struct BoardTile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `LetterValues::get` [INFO] [stdout] --> logic/src/language.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get(&self, tile: HandTile) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `LetterValues::get` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `language::Distribution::iter` [INFO] [stdout] --> logic/src/language.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `language::Distribution::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/networking/server) [INFO] [stderr] Compiling crabble-tui v0.1.0 (/opt/rustwide/workdir/crabble-tui) [INFO] [stderr] Compiling asn_tests_runner v0.1.0 (/opt/rustwide/workdir/asn_tests_runner) [INFO] [stderr] Compiling logic v0.0.0 (/opt/rustwide/workdir/logic) [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> networking/server/src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let store = HashMap::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> crabble-tui/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [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] --> crabble-tui/src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use logic::game::{self, Game, Player}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEventKind` [INFO] [stdout] --> crabble-tui/src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::event::{self, KeyCode, KeyEvent, KeyEventKind}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modifier` [INFO] [stdout] --> crabble-tui/src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `Span`, and `Text` [INFO] [stdout] --> crabble-tui/src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use ratatui::text::{Line, Span, Text}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListItem` and `List` [INFO] [stdout] --> crabble-tui/src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::widgets::{Block, List, ListItem, Paragraph, Widget}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> networking/server/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Clone`, 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: variants `Pending`, `Playing`, and `Completed` are never constructed [INFO] [stdout] --> networking/server/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 18 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Playing(Uuid), // Uuid indicating which player's turn it is [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Completed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `players`, `board`, and `state` are never read [INFO] [stdout] --> networking/server/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 25 | uuid: Uuid, // We're storing the Uuids de-normalized cause it makes it easier lol [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | players: Vec, // Order determines turn order [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | state: GameState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_game` is never used [INFO] [stdout] --> networking/server/src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn start_game(store: &mut S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Store` is never used [INFO] [stdout] --> networking/server/src/store.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> crabble-tui/src/main.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::style::{Color, Modifier, Style, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> crabble-tui/src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct GameTurn { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputMode` is never used [INFO] [stdout] --> crabble-tui/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum InputMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `editable` is never read [INFO] [stdout] --> crabble-tui/src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct StringField { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | editable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringField` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_editable` is never used [INFO] [stdout] --> crabble-tui/src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl StringField { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn make_editable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::take` [INFO] [stdout] --> logic/src/bag.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn take(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::take` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `Bag::put` [INFO] [stdout] --> logic/src/bag.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn put(&mut self, tile: HandTile) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Bag::put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BoardTile` is more private than the item `Game::get_tile` [INFO] [stdout] --> logic/src/game.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_tile(&self, coord: Coordinate) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Game::get_tile` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BoardTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | struct BoardTile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `LetterValues::get` [INFO] [stdout] --> logic/src/language.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get(&self, tile: HandTile) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `LetterValues::get` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HandTile` is more private than the item `language::Distribution::iter` [INFO] [stdout] --> logic/src/language.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `language::Distribution::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HandTile` is only usable at visibility `pub(crate)` [INFO] [stdout] --> logic/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | enum HandTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "291fecb569142369249b3affda30f63213a6d448db3a7f41f0ad38a26c7a8389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291fecb569142369249b3affda30f63213a6d448db3a7f41f0ad38a26c7a8389", kill_on_drop: false }` [INFO] [stdout] 291fecb569142369249b3affda30f63213a6d448db3a7f41f0ad38a26c7a8389