[INFO] fetching crate mod_player 0.1.4... [INFO] checking mod_player-0.1.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate mod_player 0.1.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mod_player 0.1.4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mod_player 0.1.4 [INFO] finished tweaking crates.io crate mod_player 0.1.4 [INFO] tweaked toml for crates.io crate mod_player 0.1.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages [INFO] [stderr] Adding alsa-sys v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding core-foundation-sys v0.5.1 (latest: v0.8.6) [INFO] [stderr] Adding coreaudio-rs v0.9.1 (latest: v0.11.3) [INFO] [stderr] Adding cpal v0.8.2 (latest: v0.15.3) [INFO] [stderr] Adding crc v1.8.1 (latest: v3.0.1) [INFO] [stderr] Adding stdweb v0.1.3 (latest: v0.4.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9b94ae8362f368a2dcd74179ecc15e20780291ca372060ba048582700fea30f [INFO] running `Command { std: "docker" "start" "-a" "e9b94ae8362f368a2dcd74179ecc15e20780291ca372060ba048582700fea30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9b94ae8362f368a2dcd74179ecc15e20780291ca372060ba048582700fea30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b94ae8362f368a2dcd74179ecc15e20780291ca372060ba048582700fea30f", kill_on_drop: false }` [INFO] [stdout] e9b94ae8362f368a2dcd74179ecc15e20780291ca372060ba048582700fea30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0c3b2d08dfae08ea20fe2cd41293a85ae3bf669bf20638cddba3f7f55d2af5 [INFO] running `Command { std: "docker" "start" "-a" "fd0c3b2d08dfae08ea20fe2cd41293a85ae3bf669bf20638cddba3f7f55d2af5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking mod_player v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking hound v3.5.1 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 340 | | "unhandled extended effect number: {}", [INFO] [stdout] 341 | | extended_effect [INFO] [stdout] 342 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 339 ~ _ => panic!( [INFO] [stdout] 340 | "unhandled extended effect number: {}", [INFO] [stdout] 341 | extended_effect [INFO] [stdout] 342 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 348 - _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] 348 + _ => panic!("unhandled effect number: {}", effect_number), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/scan_play.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `f` is assigned to, but never used [INFO] [stdout] --> src/bin/scan_play.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_f` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stdout] warning: the item `hound` is imported redundantly [INFO] [stdout] --> examples/convert_to_wav.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hound; [INFO] [stdout] | ^^^^^ the item `hound` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/scan_play.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/convert_to_wav.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | writer.write_sample(left); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = writer.write_sample(left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/convert_to_wav.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | writer.write_sample(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = writer.write_sample(right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `f` is assigned to, but never used [INFO] [stdout] --> src/bin/scan_play.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_f` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mod_player` is imported redundantly [INFO] [stdout] --> tests/regression.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mod_player; [INFO] [stdout] | ^^^^^^^^^^ the item `mod_player` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> tests/regression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> examples/streaming_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum PlayerCommand { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 7 | Stop {}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/streaming_player.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | std::io::stdin().read_line(&mut command); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = std::io::stdin().read_line(&mut command); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 340 | | "unhandled extended effect number: {}", [INFO] [stdout] 341 | | extended_effect [INFO] [stdout] 342 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 339 ~ _ => panic!( [INFO] [stdout] 340 | "unhandled extended effect number: {}", [INFO] [stdout] 341 | extended_effect [INFO] [stdout] 342 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 348 - _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] 348 + _ => panic!("unhandled effect number: {}", effect_number), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "fd0c3b2d08dfae08ea20fe2cd41293a85ae3bf669bf20638cddba3f7f55d2af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0c3b2d08dfae08ea20fe2cd41293a85ae3bf669bf20638cddba3f7f55d2af5", kill_on_drop: false }` [INFO] [stdout] fd0c3b2d08dfae08ea20fe2cd41293a85ae3bf669bf20638cddba3f7f55d2af5 [INFO] checking mod_player-0.1.4 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate mod_player 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate mod_player 0.1.4 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mod_player 0.1.4 [INFO] finished tweaking crates.io crate mod_player 0.1.4 [INFO] tweaked toml for crates.io crate mod_player 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cca3cb49a5e7db1a3df7125c9a091c7f5f7176a71040e588d9ac470952d5dd1 [INFO] running `Command { std: "docker" "start" "-a" "5cca3cb49a5e7db1a3df7125c9a091c7f5f7176a71040e588d9ac470952d5dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cca3cb49a5e7db1a3df7125c9a091c7f5f7176a71040e588d9ac470952d5dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cca3cb49a5e7db1a3df7125c9a091c7f5f7176a71040e588d9ac470952d5dd1", kill_on_drop: false }` [INFO] [stdout] 5cca3cb49a5e7db1a3df7125c9a091c7f5f7176a71040e588d9ac470952d5dd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8dc40c0a9694da972b0c8941b2e523984c9cd32502e9f21e8765b79e9c74823 [INFO] running `Command { std: "docker" "start" "-a" "d8dc40c0a9694da972b0c8941b2e523984c9cd32502e9f21e8765b79e9c74823", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking mod_player v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 340 | | "unhandled extended effect number: {}", [INFO] [stdout] 341 | | extended_effect [INFO] [stdout] 342 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 339 ~ _ => panic!( [INFO] [stdout] 340 | "unhandled extended effect number: {}", [INFO] [stdout] 341 | extended_effect [INFO] [stdout] 342 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 348 - _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] 348 + _ => panic!("unhandled effect number: {}", effect_number), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/scan_play.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `f` is assigned to, but never used [INFO] [stdout] --> src/bin/scan_play.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_f` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stdout] warning: the item `mod_player` is imported redundantly [INFO] [stdout] --> tests/regression.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mod_player; [INFO] [stdout] | ^^^^^^^^^^ the item `mod_player` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> tests/regression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hound` is imported redundantly [INFO] [stdout] --> examples/convert_to_wav.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hound; [INFO] [stdout] | ^^^^^ the item `hound` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/scan_play.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `f` is assigned to, but never used [INFO] [stdout] --> src/bin/scan_play.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_f` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/convert_to_wav.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | writer.write_sample(left); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = writer.write_sample(left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/convert_to_wav.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | writer.write_sample(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = writer.write_sample(right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> examples/streaming_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum PlayerCommand { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 7 | Stop {}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/streaming_player.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | std::io::stdin().read_line(&mut command); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 72 | let _ = std::io::stdin().read_line(&mut command); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 340 | | "unhandled extended effect number: {}", [INFO] [stdout] 341 | | extended_effect [INFO] [stdout] 342 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 339 ~ _ => panic!( [INFO] [stdout] 340 | "unhandled extended effect number: {}", [INFO] [stdout] 341 | extended_effect [INFO] [stdout] 342 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 348 - _ => panic!(format!("unhandled effect number: {}", effect_number)), [INFO] [stdout] 348 + _ => panic!("unhandled effect number: {}", effect_number), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.94s [INFO] running `Command { std: "docker" "inspect" "d8dc40c0a9694da972b0c8941b2e523984c9cd32502e9f21e8765b79e9c74823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8dc40c0a9694da972b0c8941b2e523984c9cd32502e9f21e8765b79e9c74823", kill_on_drop: false }` [INFO] [stdout] d8dc40c0a9694da972b0c8941b2e523984c9cd32502e9f21e8765b79e9c74823