[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuuuii%2Fdata2sound" "/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/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/puuuii/data2sound on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.95 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded unicode-ident v1.0.13 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded dasp_envelope v0.11.0 [INFO] [stderr] Downloaded dasp_ring_buffer v0.11.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.16 [INFO] [stderr] Downloaded dasp_rms v0.11.0 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded dasp_slice v0.11.0 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded dasp_interpolate v0.11.0 [INFO] [stderr] Downloaded dasp_signal v0.11.0 [INFO] [stderr] Downloaded js-sys v0.3.70 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded bumpalo v3.16.0 [INFO] [stderr] Downloaded dasp_peak v0.11.0 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded web-sys v0.3.70 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded toml_edit v0.22.22 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded mach2 v0.4.2 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded rustfft v6.2.0 [INFO] [stderr] Downloaded jobserver v0.1.32 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.43 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded indexmap v2.6.0 [INFO] [stderr] Downloaded toml_datetime v0.6.8 [INFO] [stderr] Downloaded proc-macro-crate v3.2.0 [INFO] [stderr] Downloaded log v0.4.22 [INFO] [stderr] Downloaded dasp v0.11.0 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded libc v0.2.159 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded semver v1.0.23 [INFO] [stderr] Downloaded bytes v1.7.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.15 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded dasp_window v0.11.1 [INFO] [stderr] Downloaded transpose v0.2.3 [INFO] [stderr] Downloaded encoding_rs v0.8.34 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded primal-check v0.3.4 [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded tinyvec v1.8.0 [INFO] [stderr] Downloaded hashbrown v0.15.0 [INFO] [stderr] Downloaded winnow v0.6.20 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded bitflags v2.6.0 [INFO] [stderr] Downloaded bytemuck v1.18.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.95 [INFO] [stderr] Downloaded quote v1.0.37 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7738edb95b001cc65fa9d60e1a02bd7d69c5df18502a607a88dbe7e17612b62e [INFO] running `Command { std: "docker" "start" "-a" "7738edb95b001cc65fa9d60e1a02bd7d69c5df18502a607a88dbe7e17612b62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7738edb95b001cc65fa9d60e1a02bd7d69c5df18502a607a88dbe7e17612b62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7738edb95b001cc65fa9d60e1a02bd7d69c5df18502a607a88dbe7e17612b62e", kill_on_drop: false }` [INFO] [stdout] 7738edb95b001cc65fa9d60e1a02bd7d69c5df18502a607a88dbe7e17612b62e [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26ad046ca8ddbb61bee18538cbe7fc5f2d119010a967f120170e34bb03878d43 [INFO] running `Command { std: "docker" "start" "-a" "26ad046ca8ddbb61bee18538cbe7fc5f2d119010a967f120170e34bb03878d43", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling dasp_slice v0.11.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling dasp v0.11.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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 40.72s [INFO] running `Command { std: "docker" "inspect" "26ad046ca8ddbb61bee18538cbe7fc5f2d119010a967f120170e34bb03878d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ad046ca8ddbb61bee18538cbe7fc5f2d119010a967f120170e34bb03878d43", kill_on_drop: false }` [INFO] [stdout] 26ad046ca8ddbb61bee18538cbe7fc5f2d119010a967f120170e34bb03878d43 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 532134aa712ab6070faafa6ad97a690252fa5fb42e075b22565102de162c92ac [INFO] running `Command { std: "docker" "start" "-a" "532134aa712ab6070faafa6ad97a690252fa5fb42e075b22565102de162c92ac", 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] [stderr] Compiling data2sound v0.1.0 (/opt/rustwide/workdir) [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 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 1.19s [INFO] running `Command { std: "docker" "inspect" "532134aa712ab6070faafa6ad97a690252fa5fb42e075b22565102de162c92ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532134aa712ab6070faafa6ad97a690252fa5fb42e075b22565102de162c92ac", kill_on_drop: false }` [INFO] [stdout] 532134aa712ab6070faafa6ad97a690252fa5fb42e075b22565102de162c92ac