[INFO] cloning repository https://github.com/4t145/rahjong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4t145/rahjong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4t145%2Frahjong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4t145%2Frahjong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 857fabbe4272337f16c9b0b2c11e17d8cb3926c5
[INFO] building 4t145/rahjong against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4t145%2Frahjong" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/4t145/rahjong on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/4t145/rahjong
[INFO] finished tweaking git repo https://github.com/4t145/rahjong
[INFO] tweaked toml for git repo https://github.com/4t145/rahjong written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/4t145/rahjong 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded castaway v0.2.2
[INFO] [stderr]   Downloaded socket2 v0.5.6
[INFO] [stderr]   Downloaded unicode-width v0.1.12
[INFO] [stderr]   Downloaded rustversion v1.0.15
[INFO] [stderr]   Downloaded serde_derive v1.0.199
[INFO] [stderr]   Downloaded serde v1.0.199
[INFO] [stderr]   Downloaded cc v1.0.95
[INFO] [stderr]   Downloaded ratatui v0.26.2
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 13db30f84691eeb140472dba0237c7922fe2017e1ef8bbae718709dc807020cc
[INFO] running `Command { std: "docker" "start" "-a" "13db30f84691eeb140472dba0237c7922fe2017e1ef8bbae718709dc807020cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13db30f84691eeb140472dba0237c7922fe2017e1ef8bbae718709dc807020cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13db30f84691eeb140472dba0237c7922fe2017e1ef8bbae718709dc807020cc", kill_on_drop: false }`
[INFO] [stdout] 13db30f84691eeb140472dba0237c7922fe2017e1ef8bbae718709dc807020cc
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93bc8138aff4b43fe54fb37eea9d20aa064394e6200d827e0739e2a59b34ac2b
[INFO] running `Command { std: "docker" "start" "-a" "93bc8138aff4b43fe54fb37eea9d20aa064394e6200d827e0739e2a59b34ac2b", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling castaway v0.2.2
[INFO] [stderr]    Compiling compact_str v0.7.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling lru v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling stability v0.2.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling ratatui v0.26.2
[INFO] [stderr]    Compiling rahjong v0.1.0 (/opt/rustwide/workdir/lib/rahjong)
[INFO] [stdout] warning: unused import: `SeedableRng`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Win`
[INFO] [stdout]   --> lib/rahjong/src/rules/jp/round.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     win::{Chankan, Ron, Tsumo, Win},
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hand::Deck`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp/win.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{draw::Draw, hand::Deck, player::Player, tile::TileId};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Dragon`, `Honer`, `Num`, `SuitKind`, `Suit`, and `tile_set::TileSet`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |         self, tile_set::TileSet, Dragon, Honer, Num, Suit, SuitKind, TileFace, TileId, TileIndex,
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^  ^^^^^  ^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hands`
[INFO] [stdout]   --> lib/rahjong/src/game.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_hands`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gang`
[INFO] [stdout]    --> lib/rahjong/src/hand.rs:213:28
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn gang(&mut self, gang: Gang) -> Result<(), Gang> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_gang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp/round.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 137 |         if let Some(next) = self.draw {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn operations(&self, player: Wind) -> Vec<Operation> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> lib/rahjong/src/game.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async fn round(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 32 ~     fn round(&mut self) -> impl std::future::Future<Output = Result<(), Box<dyn std::error::Error>>> + Send {async {
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |         Ok(())
[INFO] [stdout] 36 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rahjong-tui-client v0.1.0 (/opt/rustwide/workdir/binary/tui-client)
[INFO] [stdout] warning: unused import: `prelude::Text`
[INFO] [stdout]  --> binary/tui-client/src/widget.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     prelude::Text,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `widgets::*`
[INFO] [stdout]   --> binary/tui-client/src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ratatui::{prelude::*, widgets::*};
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `area`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         area: ratatui::prelude::Rect,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_area`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         buf: &mut ratatui::prelude::Buffer,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         state: &mut Self::State,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `doras` is never read
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct JpHandWidget<'a> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     doras: Vec<TileId>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> binary/tui-client/src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     round.start();
[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] 22 |     let _ = round.start();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling rahjong-server v0.1.0 (/opt/rustwide/workdir/binary/server)
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> binary/server/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> binary/server/src/main.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> binary/server/src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         cx: &mut std::task::Context<'_>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> binary/server/src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct TcpStreamPull {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 59 |     inner: tokio::net::tcp::OwnedReadHalf,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.48s
[INFO] running `Command { std: "docker" "inspect" "93bc8138aff4b43fe54fb37eea9d20aa064394e6200d827e0739e2a59b34ac2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93bc8138aff4b43fe54fb37eea9d20aa064394e6200d827e0739e2a59b34ac2b", kill_on_drop: false }`
[INFO] [stdout] 93bc8138aff4b43fe54fb37eea9d20aa064394e6200d827e0739e2a59b34ac2b
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84550837da4e68e86dd195f5be742c4f378e75967b5abeeed4c4769f57dc17cd
[INFO] running `Command { std: "docker" "start" "-a" "84550837da4e68e86dd195f5be742c4f378e75967b5abeeed4c4769f57dc17cd", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: unused import: `SeedableRng`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Win`
[INFO] [stdout]   --> lib/rahjong/src/rules/jp/round.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     win::{Chankan, Ron, Tsumo, Win},
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hand::Deck`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp/win.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{draw::Draw, hand::Deck, player::Player, tile::TileId};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Dragon`, `Honer`, `Num`, `SuitKind`, `Suit`, and `tile_set::TileSet`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |         self, tile_set::TileSet, Dragon, Honer, Num, Suit, SuitKind, TileFace, TileId, TileIndex,
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^  ^^^^^  ^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hands`
[INFO] [stdout]   --> lib/rahjong/src/game.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_hands`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gang`
[INFO] [stdout]    --> lib/rahjong/src/hand.rs:213:28
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn gang(&mut self, gang: Gang) -> Result<(), Gang> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_gang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp/round.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 137 |         if let Some(next) = self.draw {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn operations(&self, player: Wind) -> Vec<Operation> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> lib/rahjong/src/game.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async fn round(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 32 ~     fn round(&mut self) -> impl std::future::Future<Output = Result<(), Box<dyn std::error::Error>>> + Send {async {
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |         Ok(())
[INFO] [stdout] 36 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rahjong v0.1.0 (/opt/rustwide/workdir/lib/rahjong)
[INFO] [stderr]    Compiling rahjong-tui-client v0.1.0 (/opt/rustwide/workdir/binary/tui-client)
[INFO] [stderr]    Compiling rahjong-server v0.1.0 (/opt/rustwide/workdir/binary/server)
[INFO] [stdout] warning: unused import: `prelude::Text`
[INFO] [stdout]  --> binary/tui-client/src/widget.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     prelude::Text,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `widgets::*`
[INFO] [stdout]   --> binary/tui-client/src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ratatui::{prelude::*, widgets::*};
[INFO] [stdout]    |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> binary/server/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> binary/server/src/main.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SeedableRng`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Win`
[INFO] [stdout]   --> lib/rahjong/src/rules/jp/round.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     win::{Chankan, Ron, Tsumo, Win},
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hand::Deck`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp/win.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{draw::Draw, hand::Deck, player::Player, tile::TileId};
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Dragon` and `tile_set::TileSet`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |         self, tile_set::TileSet, Dragon, Honer, Num, Suit, SuitKind, TileFace, TileId, TileIndex,
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `area`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         area: ratatui::prelude::Rect,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_area`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         buf: &mut ratatui::prelude::Buffer,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         state: &mut Self::State,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `doras` is never read
[INFO] [stdout]   --> binary/tui-client/src/widget.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct JpHandWidget<'a> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     doras: Vec<TileId>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> binary/tui-client/src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     round.start();
[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] 22 |     let _ = round.start();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hands`
[INFO] [stdout]   --> lib/rahjong/src/game.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_hands`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cx`
[INFO] [stdout]   --> binary/server/src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         cx: &mut std::task::Context<'_>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> binary/server/src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct TcpStreamPull {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 59 |     inner: tokio::net::tcp::OwnedReadHalf,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> lib/rahjong/src/rules/jp.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, Rng, SeedableRng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gang`
[INFO] [stdout]    --> lib/rahjong/src/hand.rs:213:28
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn gang(&mut self, gang: Gang) -> Result<(), Gang> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_gang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp/round.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 137 |         if let Some(next) = self.draw {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> lib/rahjong/src/rules/jp.rs:187:30
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn operations(&self, player: Wind) -> Vec<Operation> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> lib/rahjong/src/game.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     async fn round(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 32 ~     fn round(&mut self) -> impl std::future::Future<Output = Result<(), Box<dyn std::error::Error>>> + Send {async {
[INFO] [stdout] 33 |         let hands = self.wall().draw_next_n::<13>().await?;
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |         Ok(())
[INFO] [stdout] 36 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s
[INFO] running `Command { std: "docker" "inspect" "84550837da4e68e86dd195f5be742c4f378e75967b5abeeed4c4769f57dc17cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84550837da4e68e86dd195f5be742c4f378e75967b5abeeed4c4769f57dc17cd", kill_on_drop: false }`
[INFO] [stdout] 84550837da4e68e86dd195f5be742c4f378e75967b5abeeed4c4769f57dc17cd
