[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 try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Flingua_cli_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lemminkyinen/lingua_cli_rust on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a62d8121fb66a9b75deee333d856c97282f4992958d67a2f26789cdc546e242 [INFO] running `Command { std: "docker" "start" "-a" "8a62d8121fb66a9b75deee333d856c97282f4992958d67a2f26789cdc546e242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a62d8121fb66a9b75deee333d856c97282f4992958d67a2f26789cdc546e242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a62d8121fb66a9b75deee333d856c97282f4992958d67a2f26789cdc546e242", kill_on_drop: false }` [INFO] [stdout] 8a62d8121fb66a9b75deee333d856c97282f4992958d67a2f26789cdc546e242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee6320d2177e2c230725b3f8d70e485031f69a450ea1b68c097305227e16640 [INFO] running `Command { std: "docker" "start" "-a" "fee6320d2177e2c230725b3f8d70e485031f69a450ea1b68c097305227e16640", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [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 openssl-sys v0.9.102 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [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 pin-project v1.1.5 [INFO] [stderr] Compiling rodio v0.18.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.30 [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" "fee6320d2177e2c230725b3f8d70e485031f69a450ea1b68c097305227e16640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee6320d2177e2c230725b3f8d70e485031f69a450ea1b68c097305227e16640", kill_on_drop: false }` [INFO] [stdout] fee6320d2177e2c230725b3f8d70e485031f69a450ea1b68c097305227e16640 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5c5430ed22d66b29b7dbec0f512f60f8946cbcd26ebe11d91f2c655a3983546 [INFO] running `Command { std: "docker" "start" "-a" "f5c5430ed22d66b29b7dbec0f512f60f8946cbcd26ebe11d91f2c655a3983546", 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.66s [INFO] running `Command { std: "docker" "inspect" "f5c5430ed22d66b29b7dbec0f512f60f8946cbcd26ebe11d91f2c655a3983546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c5430ed22d66b29b7dbec0f512f60f8946cbcd26ebe11d91f2c655a3983546", kill_on_drop: false }` [INFO] [stdout] f5c5430ed22d66b29b7dbec0f512f60f8946cbcd26ebe11d91f2c655a3983546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2be01a28050f68682b742605df9689850e3b3409fbc8f80a82babd8cfcf82049 [INFO] running `Command { std: "docker" "start" "-a" "2be01a28050f68682b742605df9689850e3b3409fbc8f80a82babd8cfcf82049", 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.18s [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_match_tone ... ok [INFO] [stdout] test utils::tests::test_normalize_char ... ok [INFO] [stdout] test utils::tests::test_normalize_word ... 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: 0x58fb34272482 - std::backtrace_rs::backtrace::libunwind::trace::hcbb09259ca22005c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58fb34272482 - std::backtrace_rs::backtrace::trace_unsynchronized::h0fac8c223cd6e456 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58fb34272482 - std::sys::backtrace::_print_fmt::he5f2b5e0c66ce66e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58fb34272482 - ::fmt::haf29e060fb6137a9 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58fb3428365f - core::fmt::rt::Argument::fmt::h596977d9d4f722b0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58fb3428365f - core::fmt::write::h0ee4d44b8e20572d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58fb3423e2d1 - std::io::default_write_fmt::h5f5bf04c08f51588 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58fb3423e2d1 - std::io::Write::write_fmt::he99637cf0d3cbc1c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58fb3424a3a2 - std::sys::backtrace::BacktraceLock::print::h3db71735b2a2861b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58fb3424f88f - std::panicking::default_hook::{{closure}}::h0168a26bb62ec69b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58fb3424f721 - std::panicking::default_hook::h7454a6fd0ab61b64 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x58fb341d049e - as core::ops::function::Fn>::call::h8dac224212939801 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x58fb341d049e - test::test_main_with_exit_callback::{{closure}}::h18346b0063635f4a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58fb3424ff4f - as core::ops::function::Fn>::call::h7e5d21d6123baaaf [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x58fb3424ff4f - std::panicking::panic_with_hook::h2d45a49bfd4e6ec4 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x58fb3424fdaa - std::panicking::panic_handler::{{closure}}::h37f0f43a266cd34d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x58fb3424a4d9 - std::sys::backtrace::__rust_end_short_backtrace::h1ed0bd8883e4d747 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58fb342327cd - __rustc[92da9811a626c906]::rust_begin_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x58fb3428b520 - core::panicking::panic_fmt::hc1117383da035bf0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x58fb3428b2d3 - core::panicking::assert_failed_inner::h5be295a0a9d76816 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x58fb341a1c17 - core::panicking::assert_failed::h53de5aeff713789b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x58fb3419b096 - lingua_cli_rust::models::tests::test_base_model_tones::h4b6ae6ab2ef877b3 [INFO] [stdout] at /opt/rustwide/workdir/src/models.rs:397:9 [INFO] [stdout] 22: 0x58fb3419b107 - lingua_cli_rust::models::tests::test_base_model_tones::{{closure}}::hdc53f6f7d9fc594e [INFO] [stdout] at /opt/rustwide/workdir/src/models.rs:395:31 [INFO] [stdout] 23: 0x58fb34195af6 - core::ops::function::FnOnce::call_once::heb9484594dc1ca66 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58fb341d025b - core::ops::function::FnOnce::call_once::habfa9d6a6bb4aa21 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58fb341d025b - test::__rust_begin_short_backtrace::hc119b5350e87269b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58fb341e5ea5 - test::run_test_in_process::{{closure}}::h47f2af3109a35895 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58fb341e5ea5 - as core::ops::function::FnOnce<()>>::call_once::h5dba888a302c7fc3 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x58fb341e5ea5 - std::panicking::catch_unwind::do_call::h245c3fdea830e686 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x58fb341e5ea5 - std::panicking::catch_unwind::he88149d1cfc3a929 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x58fb341e5ea5 - std::panic::catch_unwind::hd43a8ff20deb6d7a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58fb341e5ea5 - test::run_test_in_process::hcf11d509449005e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58fb341e5ea5 - test::run_test::{{closure}}::heb13d4899a512502 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58fb341bc684 - test::run_test::{{closure}}::h3e08e9adf8aad35e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58fb341bc684 - std::sys::backtrace::__rust_begin_short_backtrace::h773f9a01402fd17f [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x58fb341bff8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h408f0520947b97f2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x58fb341bff8a - as core::ops::function::FnOnce<()>>::call_once::h1162a01751e98fdc [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x58fb341bff8a - std::panicking::catch_unwind::do_call::hf4224593c5d108e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x58fb341bff8a - std::panicking::catch_unwind::h4478d419d6ab8a26 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x58fb341bff8a - std::panic::catch_unwind::h1e472892204dcfec [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58fb341bff8a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd555321a5ac5351d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x58fb341bff8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb9947c3c1cc735ed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58fb3424561f - as core::ops::function::FnOnce>::call_once::hf699f0a3c139bc19 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x58fb3424561f - std::sys::thread::unix::Thread::new::thread_start::h2d5318761291e34a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x776856807aa4 - [INFO] [stdout] 45: 0x776856894a34 - 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 7.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin lingua_cli_rust` [INFO] running `Command { std: "docker" "inspect" "2be01a28050f68682b742605df9689850e3b3409fbc8f80a82babd8cfcf82049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be01a28050f68682b742605df9689850e3b3409fbc8f80a82babd8cfcf82049", kill_on_drop: false }` [INFO] [stdout] 2be01a28050f68682b742605df9689850e3b3409fbc8f80a82babd8cfcf82049