[INFO] cloning repository https://github.com/jtbeckha/Sparkles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jtbeckha/Sparkles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtbeckha%2FSparkles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtbeckha%2FSparkles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ba94cd7df9cde65212c17471624b877e93210ca [INFO] checking jtbeckha/Sparkles against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjtbeckha%2FSparkles" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jtbeckha/Sparkles [INFO] finished tweaking git repo https://github.com/jtbeckha/Sparkles [INFO] tweaked toml for git repo https://github.com/jtbeckha/Sparkles written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jtbeckha/Sparkles on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jtbeckha/Sparkles 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.26 [INFO] [stderr] Downloaded libpulse-sys v1.5.0 [INFO] [stderr] Downloaded libpulse-simple-sys v1.5.0 [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded libpulse-binding v2.6.0 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] [stderr] Downloaded libpulse-simple-binding v2.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5797bb1b07a88875471a8ddf17e666d1efe4641cc6870ecfc1bbd16760ec0377 [INFO] running `Command { std: "docker" "start" "-a" "5797bb1b07a88875471a8ddf17e666d1efe4641cc6870ecfc1bbd16760ec0377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5797bb1b07a88875471a8ddf17e666d1efe4641cc6870ecfc1bbd16760ec0377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5797bb1b07a88875471a8ddf17e666d1efe4641cc6870ecfc1bbd16760ec0377", kill_on_drop: false }` [INFO] [stdout] 5797bb1b07a88875471a8ddf17e666d1efe4641cc6870ecfc1bbd16760ec0377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae8314954af2a57a5e13a7a657ef13e00bc4fced51506c6c7dc9a02a7ed20ad [INFO] running `Command { std: "docker" "start" "-a" "eae8314954af2a57a5e13a7a657ef13e00bc4fced51506c6c7dc9a02a7ed20ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling libpulse-sys v1.5.0 [INFO] [stderr] Compiling libpulse-simple-sys v1.5.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking termion v1.5.2 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking libpulse-binding v2.6.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking libpulse-simple-binding v2.6.1 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking sparkles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate log; [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: `ByteOrder` and `NativeEndian` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::{ByteOrder, NativeEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyze::rms_amplitude` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::analyze::rms_amplitude; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::decode::{decode, decode_stereo}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio_stream/pulse_simple.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate log; [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: `ByteOrder` and `NativeEndian` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use byteorder::{ByteOrder, NativeEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::analyze::rms_amplitude` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::analyze::rms_amplitude; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::decode::{decode, decode_stereo}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio_stream/pulse_simple.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/audio_stream/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("Invalid audio stream_type"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 22 | return Option::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/audio_stream/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("Invalid audio stream_type"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 22 | return Option::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rms_amplitude` is never used [INFO] [stdout] --> src/analyze/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rms_amplitude(samples: &mut Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rms_amplitude` is never used [INFO] [stdout] --> src/analyze/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rms_amplitude(samples: &mut Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode(input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/tty.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tty>>>> { [INFO] [stdout] | ------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self, meter: Meter) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode(input: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/tty.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tty>>>> { [INFO] [stdout] | ------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn draw(&mut self, meter: Meter) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "eae8314954af2a57a5e13a7a657ef13e00bc4fced51506c6c7dc9a02a7ed20ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae8314954af2a57a5e13a7a657ef13e00bc4fced51506c6c7dc9a02a7ed20ad", kill_on_drop: false }` [INFO] [stdout] eae8314954af2a57a5e13a7a657ef13e00bc4fced51506c6c7dc9a02a7ed20ad