[INFO] cloning repository https://github.com/puuuii/data2sound [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/puuuii/data2sound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuuuii%2Fdata2sound", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuuuii%2Fdata2sound'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c758682ab6cf6e8a84e17d98e929cb5df21fb8c8 [INFO] building puuuii/data2sound against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuuuii%2Fdata2sound" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/puuuii/data2sound [INFO] finished tweaking git repo https://github.com/puuuii/data2sound [INFO] tweaked toml for git repo https://github.com/puuuii/data2sound written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/puuuii/data2sound 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/puuuii/data2sound 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded primal-check v0.3.4 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded dasp_envelope v0.11.0 [INFO] [stderr] Downloaded dasp_rms v0.11.0 [INFO] [stderr] Downloaded dasp_signal v0.11.0 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded dasp v0.11.0 [INFO] [stderr] Downloaded transpose v0.2.3 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded rustfft v6.2.0 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded dasp_interpolate v0.11.0 [INFO] [stderr] Downloaded dasp_peak v0.11.0 [INFO] [stderr] Downloaded dasp_ring_buffer v0.11.0 [INFO] [stderr] Downloaded dasp_slice v0.11.0 [INFO] [stderr] Downloaded dasp_window v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] af2712e863f55ac84e70ac7d311df957b73fb9f2251a14541c97d63e14c443e0 [INFO] running `Command { std: "docker" "start" "-a" "af2712e863f55ac84e70ac7d311df957b73fb9f2251a14541c97d63e14c443e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2712e863f55ac84e70ac7d311df957b73fb9f2251a14541c97d63e14c443e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2712e863f55ac84e70ac7d311df957b73fb9f2251a14541c97d63e14c443e0", kill_on_drop: false }` [INFO] [stdout] af2712e863f55ac84e70ac7d311df957b73fb9f2251a14541c97d63e14c443e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f9e2987442ab5879cbfd1abf964ae863a1f84cc2e42f118cb4f0c630d613fdd1 [INFO] running `Command { std: "docker" "start" "-a" "f9e2987442ab5879cbfd1abf964ae863a1f84cc2e42f118cb4f0c630d613fdd1", kill_on_drop: false }` [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling dasp_slice v0.11.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling dasp v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling rstest v0.23.0 [INFO] [stderr] Compiling data2sound v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `path::Path` and `vec` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PureTones`, `ToneAndDuration`, `text2track::Text2Track`, and `text_analyzer::TextAnalyzer` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pure_tone::{PureTones, ToneAndDuration}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | text2track::Text2Track, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | text_analyzer::TextAnalyzer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `infrastructure::export_wav::export_wav` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use infrastructure::export_wav::export_wav; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` 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: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_length` [INFO] [stdout] --> src/domain/text2track.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let text_length = self.text_analyzer.length(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hiragana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let hiragana_ratio = self.text_analyzer.calculate_hiragana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hiragana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `katakana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let katakana_ratio = self.text_analyzer.calculate_katakana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_katakana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kanji_ratio` [INFO] [stdout] --> src/domain/text2track.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let kanji_ratio = self.text_analyzer.calculate_kanji_ratio(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kanji_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alphabets_ratio` [INFO] [stdout] --> src/domain/text2track.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let alphabets_ratio = self.text_analyzer.calculate_alphabets_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alphabets_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PureTones` is never constructed [INFO] [stdout] --> src/domain/pure_tone.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PureTones { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/pure_tone.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl PureTones { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(sample_rate: u32, track: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToneAndDuration` is never constructed [INFO] [stdout] --> src/domain/pure_tone.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ToneAndDuration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrackType` is never used [INFO] [stdout] --> src/domain/text2track.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TrackType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Text2Track` is never constructed [INFO] [stdout] --> src/domain/text2track.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Text2Track { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/domain/text2track.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Text2Track { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(text_analyzer: TextAnalyzer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn generate_track(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn determine_track_type(&self) -> TrackType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn generate_track_hiragana(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn generate_track_katakana(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn generate_track_kanji(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn generate_track_alphabets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextAnalyzer` is never constructed [INFO] [stdout] --> src/domain/text_analyzer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TextAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/domain/text_analyzer.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl TextAnalyzer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn calculate_hiragana_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn calculate_katakana_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn calculate_kanji_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn calculate_alphabets_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn count_hiragana(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn count_katakana(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn count_kanji(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn count_alphabets(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_wav` is never used [INFO] [stdout] --> src/infrastructure/export_wav.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn export_wav( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToneAndDuration` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pure_tone::{PureTones, ToneAndDuration}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_length` [INFO] [stdout] --> src/domain/text2track.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let text_length = self.text_analyzer.length(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hiragana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let hiragana_ratio = self.text_analyzer.calculate_hiragana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hiragana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `katakana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let katakana_ratio = self.text_analyzer.calculate_katakana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_katakana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kanji_ratio` [INFO] [stdout] --> src/domain/text2track.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let kanji_ratio = self.text_analyzer.calculate_kanji_ratio(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kanji_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alphabets_ratio` [INFO] [stdout] --> src/domain/text2track.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let alphabets_ratio = self.text_analyzer.calculate_alphabets_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alphabets_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.17s [INFO] running `Command { std: "docker" "inspect" "f9e2987442ab5879cbfd1abf964ae863a1f84cc2e42f118cb4f0c630d613fdd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e2987442ab5879cbfd1abf964ae863a1f84cc2e42f118cb4f0c630d613fdd1", kill_on_drop: false }` [INFO] [stdout] f9e2987442ab5879cbfd1abf964ae863a1f84cc2e42f118cb4f0c630d613fdd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 69e6f145c93eb7a124511322f81177c8209db1dd6831c5f2274ffb66eaf10405 [INFO] running `Command { std: "docker" "start" "-a" "69e6f145c93eb7a124511322f81177c8209db1dd6831c5f2274ffb66eaf10405", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `path::Path` and `vec` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PureTones`, `ToneAndDuration`, `text2track::Text2Track`, and `text_analyzer::TextAnalyzer` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pure_tone::{PureTones, ToneAndDuration}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | text2track::Text2Track, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | text_analyzer::TextAnalyzer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `infrastructure::export_wav::export_wav` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use infrastructure::export_wav::export_wav; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` 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: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_length` [INFO] [stdout] --> src/domain/text2track.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let text_length = self.text_analyzer.length(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hiragana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let hiragana_ratio = self.text_analyzer.calculate_hiragana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hiragana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `katakana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let katakana_ratio = self.text_analyzer.calculate_katakana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_katakana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kanji_ratio` [INFO] [stdout] --> src/domain/text2track.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let kanji_ratio = self.text_analyzer.calculate_kanji_ratio(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kanji_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alphabets_ratio` [INFO] [stdout] --> src/domain/text2track.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let alphabets_ratio = self.text_analyzer.calculate_alphabets_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alphabets_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PureTones` is never constructed [INFO] [stdout] --> src/domain/pure_tone.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PureTones { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/pure_tone.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl PureTones { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(sample_rate: u32, track: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToneAndDuration` is never constructed [INFO] [stdout] --> src/domain/pure_tone.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ToneAndDuration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrackType` is never used [INFO] [stdout] --> src/domain/text2track.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum TrackType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Text2Track` is never constructed [INFO] [stdout] --> src/domain/text2track.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Text2Track { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/domain/text2track.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Text2Track { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(text_analyzer: TextAnalyzer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn generate_track(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn determine_track_type(&self) -> TrackType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn generate_track_hiragana(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn generate_track_katakana(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | fn generate_track_kanji(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | fn generate_track_alphabets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextAnalyzer` is never constructed [INFO] [stdout] --> src/domain/text_analyzer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TextAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/domain/text_analyzer.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl TextAnalyzer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn calculate_hiragana_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn calculate_katakana_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn calculate_kanji_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn calculate_alphabets_ratio(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn count_hiragana(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn count_katakana(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn count_kanji(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn count_alphabets(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_wav` is never used [INFO] [stdout] --> src/infrastructure/export_wav.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn export_wav( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling data2sound v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToneAndDuration` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pure_tone::{PureTones, ToneAndDuration}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Path` and `vec` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PureTones`, `ToneAndDuration`, `text2track::Text2Track`, and `text_analyzer::TextAnalyzer` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pure_tone::{PureTones, ToneAndDuration}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | text2track::Text2Track, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | text_analyzer::TextAnalyzer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `infrastructure::export_wav::export_wav` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use infrastructure::export_wav::export_wav; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `console_error_panic_hook` [INFO] [stdout] --> src/utils.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "console_error_panic_hook")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `console_error_panic_hook` 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: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_length` [INFO] [stdout] --> src/domain/text2track.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let text_length = self.text_analyzer.length(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hiragana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let hiragana_ratio = self.text_analyzer.calculate_hiragana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hiragana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `katakana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let katakana_ratio = self.text_analyzer.calculate_katakana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_katakana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kanji_ratio` [INFO] [stdout] --> src/domain/text2track.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let kanji_ratio = self.text_analyzer.calculate_kanji_ratio(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kanji_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alphabets_ratio` [INFO] [stdout] --> src/domain/text2track.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let alphabets_ratio = self.text_analyzer.calculate_alphabets_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alphabets_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_length` [INFO] [stdout] --> src/domain/text2track.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let text_length = self.text_analyzer.length(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hiragana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let hiragana_ratio = self.text_analyzer.calculate_hiragana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hiragana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `katakana_ratio` [INFO] [stdout] --> src/domain/text2track.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let katakana_ratio = self.text_analyzer.calculate_katakana_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_katakana_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kanji_ratio` [INFO] [stdout] --> src/domain/text2track.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let kanji_ratio = self.text_analyzer.calculate_kanji_ratio(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kanji_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alphabets_ratio` [INFO] [stdout] --> src/domain/text2track.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let alphabets_ratio = self.text_analyzer.calculate_alphabets_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alphabets_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PureTones` is never constructed [INFO] [stdout] --> src/domain/pure_tone.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PureTones { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/pure_tone.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl PureTones { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(sample_rate: u32, track: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_wav` is never used [INFO] [stdout] --> src/infrastructure/export_wav.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn export_wav( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "69e6f145c93eb7a124511322f81177c8209db1dd6831c5f2274ffb66eaf10405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e6f145c93eb7a124511322f81177c8209db1dd6831c5f2274ffb66eaf10405", kill_on_drop: false }` [INFO] [stdout] 69e6f145c93eb7a124511322f81177c8209db1dd6831c5f2274ffb66eaf10405