[INFO] cloning repository https://github.com/seichi042I/audio_splitter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seichi042I/audio_splitter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseichi042I%2Faudio_splitter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseichi042I%2Faudio_splitter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 943a6d81613fd1264e73bf60cb18d088013232a6 [INFO] checking seichi042I/audio_splitter against master#ed141926048597e3649bb238ca3dc417904cd56c for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseichi042I%2Faudio_splitter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seichi042I/audio_splitter on toolchain ed141926048597e3649bb238ca3dc417904cd56c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seichi042I/audio_splitter [INFO] finished tweaking git repo https://github.com/seichi042I/audio_splitter [INFO] tweaked toml for git repo https://github.com/seichi042I/audio_splitter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/seichi042I/audio_splitter 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" "+ed141926048597e3649bb238ca3dc417904cd56c" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 798f3c23901f29dc73eda54aa66fa1dc9d549f8ca6a2c3358383e4c8a7232aa2 [INFO] running `Command { std: "docker" "start" "-a" "798f3c23901f29dc73eda54aa66fa1dc9d549f8ca6a2c3358383e4c8a7232aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "798f3c23901f29dc73eda54aa66fa1dc9d549f8ca6a2c3358383e4c8a7232aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798f3c23901f29dc73eda54aa66fa1dc9d549f8ca6a2c3358383e4c8a7232aa2", kill_on_drop: false }` [INFO] [stdout] 798f3c23901f29dc73eda54aa66fa1dc9d549f8ca6a2c3358383e4c8a7232aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f0f0a9b5f912fb14610ff31227d431a4ee9fbe277c760b63bec983b68c6b729 [INFO] running `Command { std: "docker" "start" "-a" "2f0f0a9b5f912fb14610ff31227d431a4ee9fbe277c760b63bec983b68c6b729", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking realfft v3.3.0 [INFO] [stderr] Checking rubato v0.12.0 [INFO] [stderr] Checking audio_splitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut chunk_size = ((spec.sample_rate / 1000) as u64 * opt.chunk_length) as usize; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut num_samples = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut chunk_size = ((spec.sample_rate / 1000) as u64 * opt.chunk_length) as usize; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut num_samples = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | _ => Err(io::Error::new(io::ErrorKind::InvalidInput, "Unsupported sample format")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 174 | SampleFormat::Float => process_samples::(&mut reader, &spec, &opt), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 175 | SampleFormat::Int => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 182 | _ => Err(io::Error::new(io::ErrorKind::InvalidInput, "Unsupported sample format")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / writeln!( [INFO] [stdout] 52 | | log_file, [INFO] [stdout] 53 | | "min_silence_duration: {} ms", [INFO] [stdout] 54 | | opt.min_silence_duration [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(log_file, "chunk_length: {} ms", opt.chunk_length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | writeln!(log_file, "threshold: {} dB", opt.threshold); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(log_file, "sample type: {}", type_name::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | _ => Err(io::Error::new(io::ErrorKind::InvalidInput, "Unsupported sample format")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 174 | SampleFormat::Float => process_samples::(&mut reader, &spec, &opt), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 175 | SampleFormat::Int => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 182 | _ => Err(io::Error::new(io::ErrorKind::InvalidInput, "Unsupported sample format")), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / writeln!( [INFO] [stdout] 52 | | log_file, [INFO] [stdout] 53 | | "min_silence_duration: {} ms", [INFO] [stdout] 54 | | opt.min_silence_duration [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outdir_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut outdir_16kHz = opt.output_dirpath.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `outdir_16k_hz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(log_file, "chunk_length: {} ms", opt.chunk_length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | writeln!(log_file, "make tmp file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | writeln!(log_file, "threshold: {} dB", opt.threshold); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(log_file, "sample type: {}", type_name::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outpath_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let outpath_16kHz = format!("{}/output_{}.wav",outdir_16kHz.to_string_lossy(),part_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outpath_16k_hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outpath_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let outpath_16kHz = format!("{}/output_{}.wav",outdir_16kHz.to_string_lossy(),part_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outpath_16k_hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outdir_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut outdir_16kHz = opt.output_dirpath.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `outdir_16k_hz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | writeln!(log_file, "make tmp file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outpath_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let outpath_16kHz = format!("{}/output_{}.wav",outdir_16kHz.to_string_lossy(),part_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outpath_16k_hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `outpath_16kHz` should have a snake case name [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let outpath_16kHz = format!("{}/output_{}.wav",outdir_16kHz.to_string_lossy(),part_index); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outpath_16k_hz` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.38s [INFO] running `Command { std: "docker" "inspect" "2f0f0a9b5f912fb14610ff31227d431a4ee9fbe277c760b63bec983b68c6b729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0f0a9b5f912fb14610ff31227d431a4ee9fbe277c760b63bec983b68c6b729", kill_on_drop: false }` [INFO] [stdout] 2f0f0a9b5f912fb14610ff31227d431a4ee9fbe277c760b63bec983b68c6b729