[INFO] cloning repository https://github.com/boren07/fun-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boren07/fun-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboren07%2Ffun-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboren07%2Ffun-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b703d81916480615318f5a48c4752d895cabfcd3
[INFO] testing boren07/fun-cli against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboren07%2Ffun-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/boren07/fun-cli
[INFO] finished tweaking git repo https://github.com/boren07/fun-cli
[INFO] tweaked toml for git repo https://github.com/boren07/fun-cli written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/boren07/fun-cli on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/boren07/fun-cli 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4213205b43b4da87a6cf9dcb907a2420342cea4b41428e34823d616ad6b5618e
[INFO] running `Command { std: "docker" "start" "-a" "4213205b43b4da87a6cf9dcb907a2420342cea4b41428e34823d616ad6b5618e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4213205b43b4da87a6cf9dcb907a2420342cea4b41428e34823d616ad6b5618e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4213205b43b4da87a6cf9dcb907a2420342cea4b41428e34823d616ad6b5618e", kill_on_drop: false }`
[INFO] [stdout] 4213205b43b4da87a6cf9dcb907a2420342cea4b41428e34823d616ad6b5618e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c8093451e2200714c968b8df5887fd238f990dfbc96cc2fb91a147dc863a1426
[INFO] running `Command { std: "docker" "start" "-a" "c8093451e2200714c968b8df5887fd238f990dfbc96cc2fb91a147dc863a1426", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling bindgen v0.72.0
[INFO] [stderr]    Compiling symphonia-core v0.5.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling symphonia-metadata v0.5.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling compression-core v0.4.29
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling compression-codecs v0.4.29
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]    Compiling alsa v0.9.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling strength_reduce v0.2.4
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling clap_builder v4.5.46
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling symphonia v0.5.4
[INFO] [stderr]    Compiling transpose v0.2.3
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling primal-check v0.3.4
[INFO] [stderr]    Compiling netlink-sys v0.8.7
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling claxon v0.4.3
[INFO] [stderr]    Compiling hound v3.5.1
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling rustfft v6.4.0
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling async-compression v0.4.29
[INFO] [stderr]    Compiling sysinfo v0.31.4
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling netlink-packet-utils v0.5.2
[INFO] [stderr]    Compiling rodio v0.19.0
[INFO] [stderr]    Compiling netlink-packet-core v0.7.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling netlink-packet-sock-diag v0.4.2
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.46
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling netstat2 v0.11.2
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling fun-cli v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Entity`
[INFO] [stdout]  --> src/impls/games/tetris/game.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::impls::games::entities::{Entity, GameEntity};
[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: `Write`
[INFO] [stdout]  --> src/ui/widget.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Stdout, Write};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/impls/handlers.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/impls/handlers.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Commands::Weather(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             -------------------------- matches some of the same values
[INFO] [stdout] 23 |             Commands::Music(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] 24 |             Commands::Curl(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 25 |             Commands::Game(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 26 |             Commands::Os(handler) => Ok(Box::new(handler)),
[INFO] [stdout] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stdout]    |             ^ ...and 1 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: unused variable: `e`
[INFO] [stdout]    --> src/impls/music.rs:141:56
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let sink = Sink::try_new(&handle).map_err(|e| CliError::UnknownError("播放音频出现错误!!!".to_owned()))?;
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_playing` is never read
[INFO] [stdout]    --> src/impls/music.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 is_playing = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_top`
[INFO] [stdout]    --> src/impls/os.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let left_top = self.layout.get(&LayoutPosition::LeftTop).unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bottom`
[INFO] [stdout]    --> src/impls/os.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let left_bottom = self.layout.get(&LayoutPosition::LeftBottom).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bottom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys`
[INFO] [stdout]    --> src/impls/os.rs:188:57
[INFO] [stdout]     |
[INFO] [stdout] 188 |     fn set_overview_panel_list(list: &mut List<String>, sys: &mut System) {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bound`
[INFO] [stdout]   --> src/impls/games/thunder_fighter/entity.rs:76:47
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn update_bullets_by_speed(&mut self, max_bound: u16) {
[INFO] [stdout]    |                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bound`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/ui/widget.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn handle_event(&mut self, event: KeyCode) -> bool {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `focused`
[INFO] [stdout]   --> src/ui/widget.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn set_focus(&mut self, focused: bool) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focused`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `NetCloudMusic` is more private than the item `MusicHandler::get_internet_music`
[INFO] [stdout]   --> src/impls/music.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn get_internet_music(&self, client: &Client) -> Result<NetCloudMusic, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MusicHandler::get_internet_music` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `NetCloudMusic` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/impls/music.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct NetCloudMusic {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `WeatherResult` is more private than the item `WeatherHandler::get_now_weather`
[INFO] [stdout]   --> src/impls/weather.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn get_now_weather(&self, city: &str) -> Result<WeatherResult, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `WeatherHandler::get_now_weather` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `WeatherResult` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/impls/weather.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct WeatherResult {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HandlerParamMissError` is never constructed
[INFO] [stdout]  --> src/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum CliError {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] 6 |     NoMatchHandlerError,
[INFO] [stdout] 7 |     HandlerParamMissError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lyric` is never read
[INFO] [stdout]   --> src/impls/music.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct NetCloudMusic {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     lyric: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetCloudMusic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/impls/music.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl MusicHandler {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(name: String, play: bool, loop_play: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/impls/weather.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl WeatherHandler {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn new(city: String, mode: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evaluate_position` is never used
[INFO] [stdout]    --> src/impls/games/gomoku/entity.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl GomokuBoard {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn evaluate_position(&self, pos: Position, player: Cell) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_drop` is never read
[INFO] [stdout]   --> src/impls/games/tetris/game.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct TetrisGameState {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     last_drop: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/impls/games/thunder_fighter/entity.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl Enemy {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 118 |     /// Update the enemy position
[INFO] [stdout] 119 |     pub fn update(&mut self, max_bound: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `physical_core_count` is never read
[INFO] [stdout]   --> src/impls/osystem/cpu.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CpuWidget {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     physical_core_count: usize, // CPU物理核心数
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bounds` and `render_on_window` are never used
[INFO] [stdout]   --> src/ui/widget.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Widget {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 12 |     /// 获取组件边界坐标
[INFO] [stdout] 13 |     fn bounds(&self) -> (Coordinate, Coordinate) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn render_on_window(&self, stdout: &mut Stdout, coordinate: Coordinate, content: String) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_item` is never used
[INFO] [stdout]    --> src/ui/widget.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl<T: Display> List<T> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn add_item(&mut self, item: T) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIZE_KB` is never used
[INFO] [stdout]   --> src/utils/consts.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const SIZE_KB: u64 = 1024;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s
[INFO] running `Command { std: "docker" "inspect" "c8093451e2200714c968b8df5887fd238f990dfbc96cc2fb91a147dc863a1426", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8093451e2200714c968b8df5887fd238f990dfbc96cc2fb91a147dc863a1426", kill_on_drop: false }`
[INFO] [stdout] c8093451e2200714c968b8df5887fd238f990dfbc96cc2fb91a147dc863a1426
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 39dbb721c6644a02c116c993bae6e3d251457920caba76b0b6f6fb20b3ca98ce
[INFO] running `Command { std: "docker" "start" "-a" "39dbb721c6644a02c116c993bae6e3d251457920caba76b0b6f6fb20b3ca98ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling fun-cli v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Entity`
[INFO] [stdout]  --> src/impls/games/tetris/game.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::impls::games::entities::{Entity, GameEntity};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/impls/handlers.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/impls/handlers.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Commands::Weather(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             -------------------------- matches some of the same values
[INFO] [stdout] 23 |             Commands::Music(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] 24 |             Commands::Curl(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 25 |             Commands::Game(handler) => Ok(Box::new(handler)),
[INFO] [stdout]    |             ----------------------- matches some of the same values
[INFO] [stdout] 26 |             Commands::Os(handler) => Ok(Box::new(handler)),
[INFO] [stdout] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stdout]    |             ^ ...and 1 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: unused variable: `e`
[INFO] [stdout]    --> src/impls/music.rs:141:56
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let sink = Sink::try_new(&handle).map_err(|e| CliError::UnknownError("播放音频出现错误!!!".to_owned()))?;
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_playing` is never read
[INFO] [stdout]    --> src/impls/music.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 is_playing = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_top`
[INFO] [stdout]    --> src/impls/os.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let left_top = self.layout.get(&LayoutPosition::LeftTop).unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left_bottom`
[INFO] [stdout]    --> src/impls/os.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let left_bottom = self.layout.get(&LayoutPosition::LeftBottom).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bottom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys`
[INFO] [stdout]    --> src/impls/os.rs:188:57
[INFO] [stdout]     |
[INFO] [stdout] 188 |     fn set_overview_panel_list(list: &mut List<String>, sys: &mut System) {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_bound`
[INFO] [stdout]   --> src/impls/games/thunder_fighter/entity.rs:76:47
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn update_bullets_by_speed(&mut self, max_bound: u16) {
[INFO] [stdout]    |                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bound`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/ui/widget.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn handle_event(&mut self, event: KeyCode) -> bool {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `focused`
[INFO] [stdout]   --> src/ui/widget.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn set_focus(&mut self, focused: bool) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focused`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `NetCloudMusic` is more private than the item `music::MusicHandler::get_internet_music`
[INFO] [stdout]   --> src/impls/music.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn get_internet_music(&self, client: &Client) -> Result<NetCloudMusic, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `music::MusicHandler::get_internet_music` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `NetCloudMusic` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/impls/music.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct NetCloudMusic {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `WeatherResult` is more private than the item `WeatherHandler::get_now_weather`
[INFO] [stdout]   --> src/impls/weather.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn get_now_weather(&self, city: &str) -> Result<WeatherResult, Box<dyn std::error::Error>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `WeatherHandler::get_now_weather` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `WeatherResult` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/impls/weather.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct WeatherResult {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HandlerParamMissError` is never constructed
[INFO] [stdout]  --> src/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum CliError {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] 6 |     NoMatchHandlerError,
[INFO] [stdout] 7 |     HandlerParamMissError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lyric` is never read
[INFO] [stdout]   --> src/impls/music.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct NetCloudMusic {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     lyric: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NetCloudMusic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/impls/weather.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl WeatherHandler {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn new(city: String, mode: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evaluate_position` is never used
[INFO] [stdout]    --> src/impls/games/gomoku/entity.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl GomokuBoard {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn evaluate_position(&self, pos: Position, player: Cell) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_drop` is never read
[INFO] [stdout]   --> src/impls/games/tetris/game.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct TetrisGameState {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     last_drop: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/impls/games/thunder_fighter/entity.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl Enemy {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 118 |     /// Update the enemy position
[INFO] [stdout] 119 |     pub fn update(&mut self, max_bound: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `physical_core_count` is never read
[INFO] [stdout]   --> src/impls/osystem/cpu.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CpuWidget {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     physical_core_count: usize, // CPU物理核心数
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bounds` and `render_on_window` are never used
[INFO] [stdout]   --> src/ui/widget.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Widget {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 12 |     /// 获取组件边界坐标
[INFO] [stdout] 13 |     fn bounds(&self) -> (Coordinate, Coordinate) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn render_on_window(&self, stdout: &mut Stdout, coordinate: Coordinate, content: String) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_item` is never used
[INFO] [stdout]    --> src/ui/widget.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl<T: Display> List<T> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn add_item(&mut self, item: T) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIZE_KB` is never used
[INFO] [stdout]   --> src/utils/consts.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const SIZE_KB: u64 = 1024;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 14.99s
[INFO] running `Command { std: "docker" "inspect" "39dbb721c6644a02c116c993bae6e3d251457920caba76b0b6f6fb20b3ca98ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39dbb721c6644a02c116c993bae6e3d251457920caba76b0b6f6fb20b3ca98ce", kill_on_drop: false }`
[INFO] [stdout] 39dbb721c6644a02c116c993bae6e3d251457920caba76b0b6f6fb20b3ca98ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3f696f277ed28eb8090217d160690f259010b466cda7850d82005e45f338900f
[INFO] running `Command { std: "docker" "start" "-a" "3f696f277ed28eb8090217d160690f259010b466cda7850d82005e45f338900f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Entity`
[INFO] [stderr]  --> src/impls/games/tetris/game.rs:3:37
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::impls::games::entities::{Entity, GameEntity};
[INFO] [stderr]   |                                     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/impls/handlers.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/impls/handlers.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |             Commands::Weather(handler) => Ok(Box::new(handler)),
[INFO] [stderr]    |             -------------------------- matches some of the same values
[INFO] [stderr] 23 |             Commands::Music(handler) => Ok(Box::new(handler)),
[INFO] [stderr]    |             ------------------------ matches some of the same values
[INFO] [stderr] 24 |             Commands::Curl(handler) => Ok(Box::new(handler)),
[INFO] [stderr]    |             ----------------------- matches some of the same values
[INFO] [stderr] 25 |             Commands::Game(handler) => Ok(Box::new(handler)),
[INFO] [stderr]    |             ----------------------- matches some of the same values
[INFO] [stderr] 26 |             Commands::Os(handler) => Ok(Box::new(handler)),
[INFO] [stderr] 27 |             _ => Err(CliError::NoMatchHandlerError),
[INFO] [stderr]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/impls/music.rs:141:56
[INFO] [stderr]     |
[INFO] [stderr] 141 |             let sink = Sink::try_new(&handle).map_err(|e| CliError::UnknownError("播放音频出现错误!!!".to_owned()))?;
[INFO] [stderr]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `is_playing` is never read
[INFO] [stderr]    --> src/impls/music.rs:206:17
[INFO] [stderr]     |
[INFO] [stderr] 206 |                 is_playing = false;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `left_top`
[INFO] [stderr]    --> src/impls/os.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |         let left_top = self.layout.get(&LayoutPosition::LeftTop).unwrap();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_top`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `left_bottom`
[INFO] [stderr]    --> src/impls/os.rs:155:13
[INFO] [stderr]     |
[INFO] [stderr] 155 |         let left_bottom = self.layout.get(&LayoutPosition::LeftBottom).unwrap();
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bottom`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sys`
[INFO] [stderr]    --> src/impls/os.rs:188:57
[INFO] [stderr]     |
[INFO] [stderr] 188 |     fn set_overview_panel_list(list: &mut List<String>, sys: &mut System) {
[INFO] [stderr]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_sys`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max_bound`
[INFO] [stderr]   --> src/impls/games/thunder_fighter/entity.rs:76:47
[INFO] [stderr]    |
[INFO] [stderr] 76 |     pub fn update_bullets_by_speed(&mut self, max_bound: u16) {
[INFO] [stderr]    |                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_bound`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr]   --> src/ui/widget.rs:27:32
[INFO] [stderr]    |
[INFO] [stderr] 27 |     fn handle_event(&mut self, event: KeyCode) -> bool {
[INFO] [stderr]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `focused`
[INFO] [stderr]   --> src/ui/widget.rs:32:29
[INFO] [stderr]    |
[INFO] [stderr] 32 |     fn set_focus(&mut self, focused: bool) {
[INFO] [stderr]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focused`
[INFO] [stderr] 
[INFO] [stderr] warning: type `NetCloudMusic` is more private than the item `music::MusicHandler::get_internet_music`
[INFO] [stderr]   --> src/impls/music.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub fn get_internet_music(&self, client: &Client) -> Result<NetCloudMusic, Box<dyn std::error::Error>> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `music::MusicHandler::get_internet_music` is reachable at visibility `pub(crate)`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `NetCloudMusic` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/impls/music.rs:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | struct NetCloudMusic {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `WeatherResult` is more private than the item `WeatherHandler::get_now_weather`
[INFO] [stderr]   --> src/impls/weather.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub fn get_now_weather(&self, city: &str) -> Result<WeatherResult, Box<dyn std::error::Error>> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `WeatherHandler::get_now_weather` is reachable at visibility `pub(crate)`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `WeatherResult` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/impls/weather.rs:52:1
[INFO] [stderr]    |
[INFO] [stderr] 52 | struct WeatherResult {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `HandlerParamMissError` is never constructed
[INFO] [stderr]  --> src/error.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub enum CliError {
[INFO] [stderr]   |          -------- variant in this enum
[INFO] [stderr] 6 |     NoMatchHandlerError,
[INFO] [stderr] 7 |     HandlerParamMissError,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `lyric` is never read
[INFO] [stderr]   --> src/impls/music.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | struct NetCloudMusic {
[INFO] [stderr]    |        ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 39 |     lyric: String,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NetCloudMusic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/impls/weather.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl WeatherHandler {
[INFO] [stderr]    | ------------------- associated function in this implementation
[INFO] [stderr] 18 |     pub fn new(city: String, mode: u8) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `evaluate_position` is never used
[INFO] [stderr]    --> src/impls/games/gomoku/entity.rs:145:12
[INFO] [stderr]     |
[INFO] [stderr]  29 | impl GomokuBoard {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 145 |     pub fn evaluate_position(&self, pos: Position, player: Cell) -> (usize, usize) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `last_drop` is never read
[INFO] [stderr]   --> src/impls/games/tetris/game.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | struct TetrisGameState {
[INFO] [stderr]    |        --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 30 |     last_drop: u64,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update` is never used
[INFO] [stderr]    --> src/impls/games/thunder_fighter/entity.rs:119:12
[INFO] [stderr]     |
[INFO] [stderr] 117 | impl Enemy {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] 118 |     /// Update the enemy position
[INFO] [stderr] 119 |     pub fn update(&mut self, max_bound: u16) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `physical_core_count` is never read
[INFO] [stderr]   --> src/impls/osystem/cpu.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct CpuWidget {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     physical_core_count: usize, // CPU物理核心数
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `bounds` and `render_on_window` are never used
[INFO] [stderr]   --> src/ui/widget.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub trait Widget {
[INFO] [stderr]    |           ------ methods in this trait
[INFO] [stderr] 12 |     /// 获取组件边界坐标
[INFO] [stderr] 13 |     fn bounds(&self) -> (Coordinate, Coordinate) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36 |     fn render_on_window(&self, stdout: &mut Stdout, coordinate: Coordinate, content: String) -> io::Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `add_item` is never used
[INFO] [stderr]    --> src/ui/widget.rs:186:12
[INFO] [stderr]     |
[INFO] [stderr] 164 | impl<T: Display> List<T> {
[INFO] [stderr]     | ------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn add_item(&mut self, item: T) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SIZE_KB` is never used
[INFO] [stderr]   --> src/utils/consts.rs:20:11
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub const SIZE_KB: u64 = 1024;
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fun-cli` (bin "fun" test) generated 22 warnings (run `cargo fix --bin "fun" -p fun-cli --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/fun-cli/66b2243105091d88/deps/fun-66b2243105091d88)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] [?1049h[2Jtest impls::music::tests::test_colored_print ... ok
[INFO] [stdout] [38;2;30;144;255m[2;39HPanel[38;2;173;216;230m[1;1H┌[1;2H-------------------------------------------------------------------------------[1;81H┐[2;1H|[2;81H|[3;1H|[3;81H|[4;1H|[4;81H|[5;1H|[5;81H|[6;1H|[6;81H|[7;1H|[7;81H|[8;1H└[8;2H-------------------------------------------------------------------------------[8;81H┘[38;2;30;144;255m[4;4H磁盘名称:          overlay[5;4H文件系统类型:       overlay[6;4H磁盘类型:           Unknown[7;4H磁盘总空间:            28GB[8;4H可用空间:              13GB[38;2;30;144;255m[9;19Hleft1[38;2;173;216;230m[8;1H┌[8;2H---------------------------------------[8;41H┐[9;1H|[9;41H|[10;1H|[10;41H|[11;1H|[11;41H|[12;1H|[12;41H|[13;1H|[13;41H|[14;1H|[14;41H|[15;1H└[15;2H---------------------------------------[15;41H┘[38;2;30;144;255m[11;4H磁盘名称:          overlay[12;4H文件系统类型:       overlay[13;4H磁盘类型:           Unknown[14;4H磁盘总空间:            28GB[15;4H可用空间:              13GB[38;2;30;144;255m[9;58Hright1[38;2;173;216;230m[8;41H┌[8;42H---------------------------------------[8;81H┐[9;41H|[9;81H|[10;41H|[10;81H|[11;41H|[11;81H|[12;41H|[12;81H|[13;41H|[13;81H|[14;41H|[14;81H|[15;41H└[15;42H---------------------------------------[15;81H┘[38;2;30;144;255m[11;44H磁盘名称:          overlay[12;44H文件系统类型:       overlay[13;44H磁盘类型:           Unknown[14;44H磁盘总空间:            28GB[15;44H可用空间:              13GB[38;2;30;144;255m[16;19Hleft2[38;2;173;216;230m[15;1H┌[15;2H---------------------------------------[15;41H┐[16;1H|[16;41H|[17;1H|[17;41H|[18;1H|[18;41H|[19;1H|[19;41H|[20;1H|[20;41H|[21;1H|[21;41H|[22;1H└[22;2H---------------------------------------[22;41H┘[38;2;30;144;255m[18;4H磁盘名称:          overlay[19;4H文件系统类型:       overlay[20;4H磁盘类型:           Unknown[21;4H磁盘总空间:            28GB[22;4H可用空间:              13GB[38;2;30;144;255m[16;58Hright2[38;2;173;216;230m[15;41H┌[15;42H---------------------------------------[15;81H┐[16;41H|[16;81H|[17;41H|[17;81H|[18;41H|[18;81H|[19;41H|[19;81H|[20;41H|[20;81H|[21;41H|[21;81H|[22;41H└[22;42H---------------------------------------[22;81H┘[38;2;30;144;255m[18;44H磁盘名称:          overlay[19;44H文件系统类型:       overlay[20;44H磁盘类型:           Unknown[21;44H磁盘总空间:            28GB[22;44H可用空间:              13GBtest impls::os::tests::test_sysinfo ... ok
[INFO] [stdout] test impls::music::tests::test_play ... FAILED
[INFO] [stdout] test impls::weather::tests::test_weather ... FAILED
[INFO] [stdout] test ui::widget::tests::test_panel_widget has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "3f696f277ed28eb8090217d160690f259010b466cda7850d82005e45f338900f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f696f277ed28eb8090217d160690f259010b466cda7850d82005e45f338900f", kill_on_drop: false }`
[INFO] [stdout] 3f696f277ed28eb8090217d160690f259010b466cda7850d82005e45f338900f
