[INFO] cloning repository https://github.com/heypoom/commandpad.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heypoom/commandpad.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheypoom%2Fcommandpad.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheypoom%2Fcommandpad.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1d74b7b1d6f68b87a0dfcc5646341176335725f [INFO] checking heypoom/commandpad.rs against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheypoom%2Fcommandpad.rs" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heypoom/commandpad.rs on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heypoom/commandpad.rs [INFO] finished tweaking git repo https://github.com/heypoom/commandpad.rs [INFO] tweaked toml for git repo https://github.com/heypoom/commandpad.rs written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/heypoom/commandpad.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded alsa v0.4.3 [INFO] [stderr] Downloaded midly v0.5.2 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 778cc765d38cb9a6f5fca40ef8e811451f959219d2196e01c911cbe479d0700b [INFO] running `Command { std: "docker" "start" "-a" "778cc765d38cb9a6f5fca40ef8e811451f959219d2196e01c911cbe479d0700b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778cc765d38cb9a6f5fca40ef8e811451f959219d2196e01c911cbe479d0700b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778cc765d38cb9a6f5fca40ef8e811451f959219d2196e01c911cbe479d0700b", kill_on_drop: false }` [INFO] [stdout] 778cc765d38cb9a6f5fca40ef8e811451f959219d2196e01c911cbe479d0700b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dabc2b0c4c7e0cf3b815cbb6aa1cad48d5a9932e17a39544a427a36fac76728 [INFO] running `Command { std: "docker" "start" "-a" "0dabc2b0c4c7e0cf3b815cbb6aa1cad48d5a9932e17a39544a427a36fac76728", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking midly v0.5.2 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking midir v0.7.0 [INFO] [stderr] Checking commandpad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand_u8` [INFO] [stdout] --> src/main.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::launchpad::{blank_rgb_canvas, get_midi_in_ports, midi_input, rand_u8, Launchpad}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_u8` [INFO] [stdout] --> src/main.rs:9:73 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::launchpad::{blank_rgb_canvas, get_midi_in_ports, midi_input, rand_u8, Launchpad}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | if let &[command, position, velocity] = message { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ms` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | move |ms, message, _extra| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `midi_in` [INFO] [stdout] --> src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let midi_in = input [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_midi_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rng = rand::thread_rng(); [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: unused variable: `position` [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | if let &[command, position, velocity] = message { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ms` [INFO] [stdout] --> src/main.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | move |ms, message, _extra| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `midi_in` [INFO] [stdout] --> src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let midi_in = input [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_midi_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | let mut rng = rand::thread_rng(); [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: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/launchpad.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 178 | let mut color = self.color_map.get(&position).unwrap_or(&0); [INFO] [stdout] | -------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 183 | self.light_on(position, color + 1); [INFO] [stdout] | ^^^^ ----- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `daw_conn` [INFO] [stdout] --> src/launchpad.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | daw_conn: MidiOutputConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `midi_in` [INFO] [stdout] --> src/launchpad.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | midi_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/launchpad.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn print(s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input` [INFO] [stdout] --> src/launchpad.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn input(prompt: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_usize` [INFO] [stdout] --> src/launchpad.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn input_usize(prompt: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_daw` [INFO] [stdout] --> src/launchpad.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn send_daw(&mut self, message: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint_static_grid` [INFO] [stdout] --> src/launchpad.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn paint_static_grid(&mut self, grid: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle_color` [INFO] [stdout] --> src/launchpad.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn cycle_color(&mut self, position: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_u8` [INFO] [stdout] --> src/launchpad.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn rand_u8() -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/launchpad.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 178 | let mut color = self.color_map.get(&position).unwrap_or(&0); [INFO] [stdout] | -------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 183 | self.light_on(position, color + 1); [INFO] [stdout] | ^^^^ ----- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `daw_conn` [INFO] [stdout] --> src/launchpad.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | daw_conn: MidiOutputConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `midi_in` [INFO] [stdout] --> src/launchpad.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | midi_in: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/launchpad.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn print(s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input` [INFO] [stdout] --> src/launchpad.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn input(prompt: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_usize` [INFO] [stdout] --> src/launchpad.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn input_usize(prompt: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_daw` [INFO] [stdout] --> src/launchpad.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn send_daw(&mut self, message: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paint_static_grid` [INFO] [stdout] --> src/launchpad.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn paint_static_grid(&mut self, grid: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle_color` [INFO] [stdout] --> src/launchpad.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn cycle_color(&mut self, position: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand_u8` [INFO] [stdout] --> src/launchpad.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn rand_u8() -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.15s [INFO] running `Command { std: "docker" "inspect" "0dabc2b0c4c7e0cf3b815cbb6aa1cad48d5a9932e17a39544a427a36fac76728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dabc2b0c4c7e0cf3b815cbb6aa1cad48d5a9932e17a39544a427a36fac76728", kill_on_drop: false }` [INFO] [stdout] 0dabc2b0c4c7e0cf3b815cbb6aa1cad48d5a9932e17a39544a427a36fac76728