[INFO] cloning repository https://github.com/gabrielpoca/midi-sequencer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabrielpoca/midi-sequencer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielpoca%2Fmidi-sequencer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielpoca%2Fmidi-sequencer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ec521913a84fa19714ccf32010d9d167a2ee7bc [INFO] checking gabrielpoca/midi-sequencer against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielpoca%2Fmidi-sequencer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gabrielpoca/midi-sequencer [INFO] finished tweaking git repo https://github.com/gabrielpoca/midi-sequencer [INFO] tweaked toml for git repo https://github.com/gabrielpoca/midi-sequencer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gabrielpoca/midi-sequencer on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gabrielpoca/midi-sequencer 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" "+028201683a76a5cd349729c6819c46607119c4e8" "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 midir v0.5.0 [INFO] [stderr] Downloaded coremidi v0.3.1 [INFO] [stderr] Downloaded winmm-sys v0.2.0 [INFO] [stderr] Downloaded tui v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf7c93f9d0e497db2df1963a810948f87e1fe102abe222c5e3390a9ec14f6b68 [INFO] running `Command { std: "docker" "start" "-a" "cf7c93f9d0e497db2df1963a810948f87e1fe102abe222c5e3390a9ec14f6b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf7c93f9d0e497db2df1963a810948f87e1fe102abe222c5e3390a9ec14f6b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7c93f9d0e497db2df1963a810948f87e1fe102abe222c5e3390a9ec14f6b68", kill_on_drop: false }` [INFO] [stdout] cf7c93f9d0e497db2df1963a810948f87e1fe102abe222c5e3390a9ec14f6b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239a6d3c657f5e205bdd5c402eda19edd09401b1b52565f41ba6d92797ecac59 [INFO] running `Command { std: "docker" "start" "-a" "239a6d3c657f5e205bdd5c402eda19edd09401b1b52565f41ba6d92797ecac59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking alsa v0.2.2 [INFO] [stderr] Checking tui v0.5.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking midir v0.5.0 [INFO] [stderr] Checking midi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/output.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | match msg.unwrap_or_else({|_| Event::None }) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - match msg.unwrap_or_else({|_| Event::None }) { [INFO] [stdout] 21 + match msg.unwrap_or_else(|_| Event::None) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/player/mod.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | let event = msg.unwrap_or_else({ |_| Event::None }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - let event = msg.unwrap_or_else({ |_| Event::None }); [INFO] [stdout] 24 + let event = msg.unwrap_or_else(|_| Event::None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/ui/render.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn run() -> Result<(), 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn run() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_port() -> Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn get_port() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/output.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | match msg.unwrap_or_else({|_| Event::None }) { [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - match msg.unwrap_or_else({|_| Event::None }) { [INFO] [stdout] 21 + match msg.unwrap_or_else(|_| Event::None) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/player/mod.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | let event = msg.unwrap_or_else({ |_| Event::None }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - let event = msg.unwrap_or_else({ |_| Event::None }); [INFO] [stdout] 24 + let event = msg.unwrap_or_else(|_| Event::None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/ui/render.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | Err(err) => println!("Error: {}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn run() -> Result<(), 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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | fn run() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_port() -> Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn get_port() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/render.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut window = video_subsystem [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: field `recv` is never read [INFO] [stdout] --> src/ui/render.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Render { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | pub recv: Receiver, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | Err(err) => println!("Error: {}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player/keyboard_handler.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn key_to_note<'a>(&self, key: Key) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn key_to_note<'a>(&self, key: Key) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui/render.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut window = video_subsystem [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: field `recv` is never read [INFO] [stdout] --> src/ui/render.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Render { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 26 | pub recv: Receiver, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player/keyboard_handler.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn key_to_note<'a>(&self, key: Key) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn key_to_note<'a>(&self, key: Key) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.32s [INFO] running `Command { std: "docker" "inspect" "239a6d3c657f5e205bdd5c402eda19edd09401b1b52565f41ba6d92797ecac59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239a6d3c657f5e205bdd5c402eda19edd09401b1b52565f41ba6d92797ecac59", kill_on_drop: false }` [INFO] [stdout] 239a6d3c657f5e205bdd5c402eda19edd09401b1b52565f41ba6d92797ecac59