[INFO] cloning repository https://github.com/Lemminkyinen/lingua_cli_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lemminkyinen/lingua_cli_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Flingua_cli_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Flingua_cli_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa595832b8e7c154a83bbcc41bfa901477de8760
[INFO] testing Lemminkyinen/lingua_cli_rust against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Flingua_cli_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Lemminkyinen/lingua_cli_rust
[INFO] finished tweaking git repo https://github.com/Lemminkyinen/lingua_cli_rust
[INFO] tweaked toml for git repo https://github.com/Lemminkyinen/lingua_cli_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lemminkyinen/lingua_cli_rust on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Lemminkyinen/lingua_cli_rust 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clang-sys v1.7.0
[INFO] [stderr]   Downloaded windows-result v0.1.1
[INFO] [stderr]   Downloaded xattr v1.3.1
[INFO] [stderr]   Downloaded coreaudio-sys v0.2.15
[INFO] [stderr]   Downloaded tar v0.4.40
[INFO] [stderr]   Downloaded clap_lex v0.7.0
[INFO] [stderr]   Downloaded hound v3.5.1
[INFO] [stderr]   Downloaded rustls-pki-types v1.7.0
[INFO] [stderr]   Downloaded anyhow v1.0.82
[INFO] [stderr]   Downloaded alsa v0.9.0
[INFO] [stderr]   Downloaded claxon v0.4.3
[INFO] [stderr]   Downloaded clap v4.5.4
[INFO] [stderr]   Downloaded rodio v0.18.0
[INFO] [stderr]   Downloaded clap_builder v4.5.2
[INFO] [stderr]   Downloaded bindgen v0.69.4
[INFO] [stderr]   Downloaded libz-ng-sys v1.1.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bcc965d7a4f5abec72fa5b96f112e269e0ef4970f6f85ce31b1b23bda2229e7e
[INFO] running `Command { std: "docker" "start" "-a" "bcc965d7a4f5abec72fa5b96f112e269e0ef4970f6f85ce31b1b23bda2229e7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcc965d7a4f5abec72fa5b96f112e269e0ef4970f6f85ce31b1b23bda2229e7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcc965d7a4f5abec72fa5b96f112e269e0ef4970f6f85ce31b1b23bda2229e7e", kill_on_drop: false }`
[INFO] [stdout] bcc965d7a4f5abec72fa5b96f112e269e0ef4970f6f85ce31b1b23bda2229e7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1f8f0053627258990253c9bcb324f61685732fa07a7143f83d113f1d75f2d24
[INFO] running `Command { std: "docker" "start" "-a" "c1f8f0053627258990253c9bcb324f61685732fa07a7143f83d113f1d75f2d24", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling anstyle-query v1.0.3
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling symphonia-core v0.5.4
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling alsa v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling symphonia-metadata v0.5.4
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libz-ng-sys v1.1.15
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling hound v3.5.1
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling symphonia v0.5.4
[INFO] [stderr]    Compiling claxon v0.4.3
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling tar v0.4.40
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling thiserror-impl v1.0.60
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]    Compiling rodio v0.18.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.4
[INFO] [stderr]    Compiling lingua_cli_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `ignore_tools_arcive`
[INFO] [stdout]    --> src/file_io.rs:130:11
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[cfg(not(feature = "ignore_tools_arcive"))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `ignore_tools_arcive` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/game.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout]  70 | /         '_words: loop {
[INFO] [stdout]  71 | |             let (mut word, pronounce) = receiver.recv().unwrap();
[INFO] [stdout]  72 | |             let is_chinese = random::<bool>();
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 102 |           Ok(())
[INFO] [stdout]     |           ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Tones` and `Random` are never constructed
[INFO] [stdout]   --> src/game.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Mode {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Tones,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 16 |     Random,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Google` is never constructed
[INFO] [stdout]    --> src/models.rs:253:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub enum Voice {
[INFO] [stdout]     |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 253 |     Google,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Voice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_styled_line` and `write_styled` are never used
[INFO] [stdout]  --> src/utils.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait StyledWrite {
[INFO] [stdout]   |           ----------- methods in this trait
[INFO] [stdout] 8 |     fn write_styled_line<T: Display>(&mut self, styled_text: T) -> std::io::Result<()>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     fn write_styled<T: Display>(&mut self, styled_text: T) -> Result<(), std::io::Error>;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "c1f8f0053627258990253c9bcb324f61685732fa07a7143f83d113f1d75f2d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1f8f0053627258990253c9bcb324f61685732fa07a7143f83d113f1d75f2d24", kill_on_drop: false }`
[INFO] [stdout] c1f8f0053627258990253c9bcb324f61685732fa07a7143f83d113f1d75f2d24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6421119fa300854cc1207dbb35509313e410f93d8774f027c4f2102e42a086a
[INFO] running `Command { std: "docker" "start" "-a" "c6421119fa300854cc1207dbb35509313e410f93d8774f027c4f2102e42a086a", kill_on_drop: false }`
[INFO] [stderr]    Compiling lingua_cli_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `ignore_tools_arcive`
[INFO] [stdout]    --> src/file_io.rs:130:11
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[cfg(not(feature = "ignore_tools_arcive"))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `ignore_tools_arcive` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/game.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout]  70 | /         '_words: loop {
[INFO] [stdout]  71 | |             let (mut word, pronounce) = receiver.recv().unwrap();
[INFO] [stdout]  72 | |             let is_chinese = random::<bool>();
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 102 |           Ok(())
[INFO] [stdout]     |           ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Tones` and `Random` are never constructed
[INFO] [stdout]   --> src/game.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Mode {
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Tones,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 16 |     Random,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Google` is never constructed
[INFO] [stdout]    --> src/models.rs:253:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub enum Voice {
[INFO] [stdout]     |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 253 |     Google,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Voice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_styled_line` and `write_styled` are never used
[INFO] [stdout]  --> src/utils.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait StyledWrite {
[INFO] [stdout]   |           ----------- methods in this trait
[INFO] [stdout] 8 |     fn write_styled_line<T: Display>(&mut self, styled_text: T) -> std::io::Result<()>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     fn write_styled<T: Display>(&mut self, styled_text: T) -> Result<(), std::io::Error>;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "c6421119fa300854cc1207dbb35509313e410f93d8774f027c4f2102e42a086a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6421119fa300854cc1207dbb35509313e410f93d8774f027c4f2102e42a086a", kill_on_drop: false }`
[INFO] [stdout] c6421119fa300854cc1207dbb35509313e410f93d8774f027c4f2102e42a086a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] aa9300c3c3d057a3624787ccf2859431359d11a01c9b07f92e6b30dec50ba628
[INFO] running `Command { std: "docker" "start" "-a" "aa9300c3c3d057a3624787ccf2859431359d11a01c9b07f92e6b30dec50ba628", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `ignore_tools_arcive`
[INFO] [stderr]    --> src/file_io.rs:130:11
[INFO] [stderr]     |
[INFO] [stderr] 130 | #[cfg(not(feature = "ignore_tools_arcive"))]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `ignore_tools_arcive` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/game.rs:102:9
[INFO] [stderr]     |
[INFO] [stderr]  70 | /         '_words: loop {
[INFO] [stderr]  71 | |             let (mut word, pronounce) = receiver.recv().unwrap();
[INFO] [stderr]  72 | |             let is_chinese = random::<bool>();
[INFO] [stderr] ...   |
[INFO] [stderr] 101 | |         }
[INFO] [stderr]     | |_________- any code following this expression is unreachable
[INFO] [stderr] 102 |           Ok(())
[INFO] [stderr]     |           ^^^^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Tones` and `Random` are never constructed
[INFO] [stderr]   --> src/game.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum Mode {
[INFO] [stderr]    |          ---- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 15 |     Tones,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 16 |     Random,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Google` is never constructed
[INFO] [stderr]    --> src/models.rs:253:5
[INFO] [stderr]     |
[INFO] [stderr] 246 | pub enum Voice {
[INFO] [stderr]     |          ----- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 253 |     Google,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Voice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `write_styled_line` and `write_styled` are never used
[INFO] [stderr]  --> src/utils.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait StyledWrite {
[INFO] [stderr]   |           ----------- methods in this trait
[INFO] [stderr] 8 |     fn write_styled_line<T: Display>(&mut self, styled_text: T) -> std::io::Result<()>;
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 9 |     fn write_styled<T: Display>(&mut self, styled_text: T) -> Result<(), std::io::Error>;
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `lingua_cli_rust` (bin "lingua_cli_rust" test) generated 5 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lingua_cli_rust-e302e848a340b128)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test utils::tests::test_normalize_word ... ok
[INFO] [stdout] test utils::tests::test_match_tone ... ok
[INFO] [stdout] test utils::tests::test_normalize_char ... ok
[INFO] [stdout] test models::tests::test_get_pinying ... ok
[INFO] [stdout] test models::tests::test_base_model_tones ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- models::tests::test_base_model_tones stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'models::tests::test_base_model_tones' (24) panicked at src/models.rs:397:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: ["ni3 hao3"]
[INFO] [stdout]  right: ["ni3 hao3", "wo3 ai4 ni3", "ni3 hao3 le"]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e310d9a6622 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5e310d9a6622 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5e310d9a6622 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5e310d9a6622 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5e310d9b749f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5e310d9b749f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5e310d972d83 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5e310d972d83 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5e310d97ec52 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5e310d9840af - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5e310d983f41 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5e310d90ad7e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5e310d90ad7e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5e310d9846bf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5e310d9846bf - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5e310d98451a - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5e310d97ed89 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5e310d96767d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5e310d9bf2e0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5e310d9bf093 - core::panicking::assert_failed_inner::hdcc703ae7c807131
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x5e310d8d37ac - core::panicking::assert_failed::hcf97932a8e1e0358
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x5e310d8cfed6 - lingua_cli_rust::models::tests::test_base_model_tones::h4fedb76ab397b64c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models.rs:397:9
[INFO] [stdout]   22:     0x5e310d8cff47 - lingua_cli_rust::models::tests::test_base_model_tones::{{closure}}::h2b95c37d5ad86c68
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models.rs:395:31
[INFO] [stdout]   23:     0x5e310d8d1e66 - core::ops::function::FnOnce::call_once::hc26f9febdd399e72
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e310d90ab5b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5e310d90ab5b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5e310d91ebdd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5e310d91ebdd - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5e310d91ebdd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x5e310d91ebdd - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x5e310d91ebdd - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5e310d91ebdd - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5e310d91ebdd - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5e310d8f80f4 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5e310d8f80f4 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5e310d8fba2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x5e310d8fba2a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5e310d8fba2a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x5e310d8fba2a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x5e310d8fba2a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5e310d8fba2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x5e310d8fba2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5e310d97a18f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x5e310d97a18f - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x7f669088baa4 - <unknown>
[INFO] [stdout]   45:     0x7f6690918a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     models::tests::test_base_model_tones
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.87s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin lingua_cli_rust`
[INFO] running `Command { std: "docker" "inspect" "aa9300c3c3d057a3624787ccf2859431359d11a01c9b07f92e6b30dec50ba628", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa9300c3c3d057a3624787ccf2859431359d11a01c9b07f92e6b30dec50ba628", kill_on_drop: false }`
[INFO] [stdout] aa9300c3c3d057a3624787ccf2859431359d11a01c9b07f92e6b30dec50ba628
