[INFO] cloning repository https://github.com/NangmanGureum/audio_file_mover [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NangmanGureum/audio_file_mover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNangmanGureum%2Faudio_file_mover", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNangmanGureum%2Faudio_file_mover'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfa414d3ea7b2a120e09761872ac69ac56470d34 [INFO] checking NangmanGureum/audio_file_mover against try#0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNangmanGureum%2Faudio_file_mover" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NangmanGureum/audio_file_mover on toolchain 0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NangmanGureum/audio_file_mover [INFO] finished tweaking git repo https://github.com/NangmanGureum/audio_file_mover [INFO] tweaked toml for git repo https://github.com/NangmanGureum/audio_file_mover written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/NangmanGureum/audio_file_mover already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87d36533aae637cdeb6425638a64a758f0db86f967f3c3a061c503c3dcd6e6dc [INFO] running `Command { std: "docker" "start" "-a" "87d36533aae637cdeb6425638a64a758f0db86f967f3c3a061c503c3dcd6e6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d36533aae637cdeb6425638a64a758f0db86f967f3c3a061c503c3dcd6e6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d36533aae637cdeb6425638a64a758f0db86f967f3c3a061c503c3dcd6e6dc", kill_on_drop: false }` [INFO] [stdout] 87d36533aae637cdeb6425638a64a758f0db86f967f3c3a061c503c3dcd6e6dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f20bdc1cdfa0775bc3fbd327b695d9a2c5e3a4f9a62125a38968229d4ed6c7 [INFO] running `Command { std: "docker" "start" "-a" "f6f20bdc1cdfa0775bc3fbd327b695d9a2c5e3a4f9a62125a38968229d4ed6c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking simple_logger v1.13.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Checking rodio v0.14.0 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking piet-cairo v0.3.0 [INFO] [stderr] Checking piet-common v0.3.2 [INFO] [stderr] Checking druid-shell v0.7.0 [INFO] [stderr] Checking druid v0.7.0 [INFO] [stderr] Checking audio_file_mover v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Align`, `Flex`, `Padding` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::widget::{Align, Flex, Label, Padding}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rodio::OutputStream` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rodio::OutputStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 73 | bit_num => Some(Bits::Int(bit_num as u8)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 74 | _ => None, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_state` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let int_state = match OS { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bits` is never read [INFO] [stdout] --> src/audio.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut bits: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample_rate` is never read [INFO] [stdout] --> src/audio.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut sample_rate: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `channels` is never read [INFO] [stdout] --> src/audio.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut channels: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_list` [INFO] [stdout] --> src/file_maneger.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let file_list = fs::read_dir(dir.path).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Align`, `Flex`, `Padding` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::widget::{Align, Flex, Label, Padding}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rodio::OutputStream` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rodio::OutputStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/audio.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Bits { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 25 | Eight, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Sixteen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | TwentyFour, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | ThirtyTwoInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | ThirtyTwoFloat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SixtyFourInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | SixtyFourFloat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | Int(u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Float(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Bits` 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: associated function `new` is never used [INFO] [stdout] --> src/audio.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(file: &Path) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `play` is never used [INFO] [stdout] --> src/audio.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn play(audio_file: &AudioFile, stream_handle: &OutputStreamHandle) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/file_maneger.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/file_maneger.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(path: &String) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_list` is never used [INFO] [stdout] --> src/file_maneger.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_list(dir: Directory) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/file_maneger.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(path: &str) -> File { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_file` is never used [INFO] [stdout] --> src/file_maneger.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn move_file(file: File, to_directory: Directory) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/audio.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | stream_handle.play_raw(audio_src.convert_samples()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 73 | bit_num => Some(Bits::Int(bit_num as u8)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 74 | _ => None, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_state` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let int_state = match OS { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bits` is never read [INFO] [stdout] --> src/audio.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut bits: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample_rate` is never read [INFO] [stdout] --> src/audio.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut sample_rate: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `channels` is never read [INFO] [stdout] --> src/audio.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut channels: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_list` [INFO] [stdout] --> src/file_maneger.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let file_list = fs::read_dir(dir.path).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/audio.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Bits { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 25 | Eight, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Sixteen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | TwentyFour, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | ThirtyTwoInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | ThirtyTwoFloat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SixtyFourInt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | SixtyFourFloat, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | Int(u8), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Float(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Bits` 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: associated function `new` is never used [INFO] [stdout] --> src/audio.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(file: &Path) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `play` is never used [INFO] [stdout] --> src/audio.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn play(audio_file: &AudioFile, stream_handle: &OutputStreamHandle) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/file_maneger.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/file_maneger.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn new(path: &String) -> Directory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_list` is never used [INFO] [stdout] --> src/file_maneger.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_list(dir: Directory) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/file_maneger.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(path: &str) -> File { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_file` is never used [INFO] [stdout] --> src/file_maneger.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn move_file(file: File, to_directory: Directory) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/audio.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | stream_handle.play_raw(audio_src.convert_samples()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fluent-bundle v0.12.0, rental v0.5.6 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f6f20bdc1cdfa0775bc3fbd327b695d9a2c5e3a4f9a62125a38968229d4ed6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f20bdc1cdfa0775bc3fbd327b695d9a2c5e3a4f9a62125a38968229d4ed6c7", kill_on_drop: false }` [INFO] [stdout] f6f20bdc1cdfa0775bc3fbd327b695d9a2c5e3a4f9a62125a38968229d4ed6c7