[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [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 ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.40 [INFO] [stderr] Downloaded windows-result v0.1.1 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded rodio v0.18.0 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded hyper v1.3.1 [INFO] [stderr] Downloaded reqwest v0.12.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eab7e8947272a1f3d5d76fa76b404c9669904f091933d0b5a869573e50cf67ef [INFO] running `Command { std: "docker" "start" "-a" "eab7e8947272a1f3d5d76fa76b404c9669904f091933d0b5a869573e50cf67ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eab7e8947272a1f3d5d76fa76b404c9669904f091933d0b5a869573e50cf67ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab7e8947272a1f3d5d76fa76b404c9669904f091933d0b5a869573e50cf67ef", kill_on_drop: false }` [INFO] [stdout] eab7e8947272a1f3d5d76fa76b404c9669904f091933d0b5a869573e50cf67ef [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 897b89700650d8247f79aa75ba320789bac9e1708f678c8c1ac2109f9af432d8 [INFO] running `Command { std: "docker" "start" "-a" "897b89700650d8247f79aa75ba320789bac9e1708f678c8c1ac2109f9af432d8", 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 bytes v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling rodio v0.18.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling hyper v1.3.1 [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 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::(); [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(&mut self, styled_text: T) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn write_styled(&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" "897b89700650d8247f79aa75ba320789bac9e1708f678c8c1ac2109f9af432d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897b89700650d8247f79aa75ba320789bac9e1708f678c8c1ac2109f9af432d8", kill_on_drop: false }` [INFO] [stdout] 897b89700650d8247f79aa75ba320789bac9e1708f678c8c1ac2109f9af432d8 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7afd45cd16141f00e1578119a8be24dbc78e916bb76b26840cb54062e1beb750 [INFO] running `Command { std: "docker" "start" "-a" "7afd45cd16141f00e1578119a8be24dbc78e916bb76b26840cb54062e1beb750", 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 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::(); [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(&mut self, styled_text: T) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn write_styled(&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.89s [INFO] running `Command { std: "docker" "inspect" "7afd45cd16141f00e1578119a8be24dbc78e916bb76b26840cb54062e1beb750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afd45cd16141f00e1578119a8be24dbc78e916bb76b26840cb54062e1beb750", kill_on_drop: false }` [INFO] [stdout] 7afd45cd16141f00e1578119a8be24dbc78e916bb76b26840cb54062e1beb750 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f68acc861b84a2579772c5f225529f344141ccab38bb233a964c0380f7c9754 [INFO] running `Command { std: "docker" "start" "-a" "1f68acc861b84a2579772c5f225529f344141ccab38bb233a964c0380f7c9754", 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 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::(); [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(&mut self, styled_text: T) -> std::io::Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | fn write_styled(&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.25s [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_char ... ok [INFO] [stdout] test utils::tests::test_normalize_word ... ok [INFO] [stdout] test utils::tests::test_match_tone ... 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' (25) 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: 0x5edae183bd92 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5edae183bd92 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5edae183bd92 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5edae183bd92 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5edae184ce2f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5edae184ce2f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5edae1808141 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5edae1808141 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5edae18140a2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5edae181956f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5edae1819401 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5edae179ab0e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5edae179ab0e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5edae1819c2f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5edae1819c2f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5edae1819a8a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5edae18141d9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5edae17fc3ed - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5edae1854cc0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5edae1854a73 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5edae1760135 - core::panicking::assert_failed::hd72bfa1a58e511ec [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5edae17672b6 - lingua_cli_rust::models::tests::test_base_model_tones::h3c267f78085ec68d [INFO] [stdout] at /opt/rustwide/workdir/src/models.rs:397:9 [INFO] [stdout] 22: 0x5edae1767327 - lingua_cli_rust::models::tests::test_base_model_tones::{{closure}}::he7592241387ad8f0 [INFO] [stdout] at /opt/rustwide/workdir/src/models.rs:395:31 [INFO] [stdout] 23: 0x5edae175e2c6 - core::ops::function::FnOnce::call_once::h9137430417a762fc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5edae179a8cb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5edae179a8cb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5edae17b03b5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5edae17b03b5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5edae17b03b5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5edae17b03b5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5edae17b03b5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5edae17b03b5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5edae17b03b5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5edae1786d24 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5edae1786d24 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5edae178a6ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5edae178a6ca - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5edae178a6ca - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5edae178a6ca - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5edae178a6ca - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5edae178a6ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5edae178a6ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5edae180e30f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5edae180e30f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x77287d95faa4 - [INFO] [stdout] 45: 0x77287d9eca34 - clone [INFO] [stdout] 46: 0x0 - [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 8.41s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin lingua_cli_rust` [INFO] running `Command { std: "docker" "inspect" "1f68acc861b84a2579772c5f225529f344141ccab38bb233a964c0380f7c9754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f68acc861b84a2579772c5f225529f344141ccab38bb233a964c0380f7c9754", kill_on_drop: false }` [INFO] [stdout] 1f68acc861b84a2579772c5f225529f344141ccab38bb233a964c0380f7c9754