[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#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Flingua_cli_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lemminkyinen/lingua_cli_rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-result v0.1.1
[INFO] [stderr]   Downloaded symphonia v0.5.4
[INFO] [stderr]   Downloaded rodio v0.18.0
[INFO] [stderr]   Downloaded symphonia-metadata v0.5.4
[INFO] [stderr]   Downloaded symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]   Downloaded symphonia-core v0.5.4
[INFO] [stderr]   Downloaded h2 v0.4.4
[INFO] [stderr]   Downloaded libz-ng-sys v1.1.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc1aa29840fbe06c9173cb350dd852f7d72bb9c33c99a3846d7a090eca490f73
[INFO] running `Command { std: "docker" "start" "-a" "fc1aa29840fbe06c9173cb350dd852f7d72bb9c33c99a3846d7a090eca490f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc1aa29840fbe06c9173cb350dd852f7d72bb9c33c99a3846d7a090eca490f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc1aa29840fbe06c9173cb350dd852f7d72bb9c33c99a3846d7a090eca490f73", kill_on_drop: false }`
[INFO] [stdout] fc1aa29840fbe06c9173cb350dd852f7d72bb9c33c99a3846d7a090eca490f73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50a85907dd72b498de281406630a5337b6e7eb35dc524a6c900a46a4d936d2aa
[INFO] running `Command { std: "docker" "start" "-a" "50a85907dd72b498de281406630a5337b6e7eb35dc524a6c900a46a4d936d2aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling symphonia-core v0.5.4
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling anstyle-query v1.0.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling symphonia-metadata v0.5.4
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libz-ng-sys v1.1.15
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling alsa v0.9.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling symphonia v0.5.4
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling claxon v0.4.3
[INFO] [stderr]    Compiling hound v3.5.1
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling tar v0.4.40
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling flate2 v1.0.30
[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 pin-project v1.1.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling rodio v0.18.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[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)]` 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)]` 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 6m 02s
[INFO] running `Command { std: "docker" "inspect" "50a85907dd72b498de281406630a5337b6e7eb35dc524a6c900a46a4d936d2aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50a85907dd72b498de281406630a5337b6e7eb35dc524a6c900a46a4d936d2aa", kill_on_drop: false }`
[INFO] [stdout] 50a85907dd72b498de281406630a5337b6e7eb35dc524a6c900a46a4d936d2aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64b624857ac384655a628d17282acc546ac5f59abf301a674e2c9211e2d58a29
[INFO] running `Command { std: "docker" "start" "-a" "64b624857ac384655a628d17282acc546ac5f59abf301a674e2c9211e2d58a29", 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)]` 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)]` 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 3.61s
[INFO] running `Command { std: "docker" "inspect" "64b624857ac384655a628d17282acc546ac5f59abf301a674e2c9211e2d58a29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64b624857ac384655a628d17282acc546ac5f59abf301a674e2c9211e2d58a29", kill_on_drop: false }`
[INFO] [stdout] 64b624857ac384655a628d17282acc546ac5f59abf301a674e2c9211e2d58a29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 632e38a8c8eab2bef4cb328164d1d58ef849e73cbb750e7a81a1043b950d89ec
[INFO] running `Command { std: "docker" "start" "-a" "632e38a8c8eab2bef4cb328164d1d58ef849e73cbb750e7a81a1043b950d89ec", 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)]` 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)]` 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.35s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lingua_cli_rust-fd8e58fee9eb5055)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test utils::tests::test_match_tone ... ok
[INFO] [stdout] test utils::tests::test_normalize_word ... 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' 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:     0x5a5412c77ed2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a5412c77ed2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a5412c77ed2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5a5412c77ed2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5a5412c9df03 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5a5412c9df03 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5a5412c74ed3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a5412c74ed3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5a5412c77d22 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5a5412c7943c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5a5412c79292 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5a5412c201f4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5a5412c201f4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a5412c79e1b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5a5412c79e1b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5a5412c79bea - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5a5412c783c9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5a5412c7987d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5a5412c9ca80 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5a5412c9cce7 - core::panicking::assert_failed_inner::h02e1528dd7bc6647
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:448:17
[INFO] [stdout]   20:     0x5a5412be0313 - core::panicking::assert_failed::h77bd5215cd2af535
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:403:5
[INFO] [stdout]   21:     0x5a5412be1a7f - lingua_cli_rust::models::tests::test_base_model_tones::h9b0cc7cbcfab87de
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models.rs:397:9
[INFO] [stdout]   22:     0x5a5412be6209 - lingua_cli_rust::models::tests::test_base_model_tones::{{closure}}::hcf0d3ed84ef80153
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models.rs:395:31
[INFO] [stdout]   23:     0x5a5412be6209 - core::ops::function::FnOnce::call_once::h56e2de2e6bb8b1c4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5a5412c2597b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a5412c2597b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5a5412c24b6e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5a5412c24b6e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5a5412c24b6e - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5a5412c24b6e - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5a5412c24b6e - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5a5412c24b6e - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5a5412c24b6e - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5a5412be86e4 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5a5412be86e4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   35:     0x5a5412bec0ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5a5412bec0ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5a5412bec0ba - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5a5412bec0ba - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5a5412bec0ba - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5a5412bec0ba - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5a5412bec0ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5a5412c7cfc7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5a5412c7cfc7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   44:     0x5a5412c7cfc7 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   45:     0x746f89468aa4 - <unknown>
[INFO] [stdout]   46:     0x746f894f5a34 - clone
[INFO] [stdout]   47:                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 1.57s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin lingua_cli_rust`
[INFO] running `Command { std: "docker" "inspect" "632e38a8c8eab2bef4cb328164d1d58ef849e73cbb750e7a81a1043b950d89ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "632e38a8c8eab2bef4cb328164d1d58ef849e73cbb750e7a81a1043b950d89ec", kill_on_drop: false }`
[INFO] [stdout] 632e38a8c8eab2bef4cb328164d1d58ef849e73cbb750e7a81a1043b950d89ec
