[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheypoom%2Fcommandpad.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heypoom/commandpad.rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded midly v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef4f46947434450cf8b75bc33563aee29a46aa3e6174757f38ebf063e6c75d4f [INFO] running `Command { std: "docker" "start" "-a" "ef4f46947434450cf8b75bc33563aee29a46aa3e6174757f38ebf063e6c75d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef4f46947434450cf8b75bc33563aee29a46aa3e6174757f38ebf063e6c75d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4f46947434450cf8b75bc33563aee29a46aa3e6174757f38ebf063e6c75d4f", kill_on_drop: false }` [INFO] [stdout] ef4f46947434450cf8b75bc33563aee29a46aa3e6174757f38ebf063e6c75d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54fb815763296ad013c52a97c2906472394772663d82127b3aabac953412d0f9 [INFO] running `Command { std: "docker" "start" "-a" "54fb815763296ad013c52a97c2906472394772663d82127b3aabac953412d0f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [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] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [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: `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] = note: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: 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: 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] [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: `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] [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: 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: 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: fields `daw_conn` and `midi_in` are never read [INFO] [stdout] --> src/launchpad.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Launchpad { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | daw_conn: MidiOutputConnection, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | midi_in: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [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 `input` is never used [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: fields `daw_conn` and `midi_in` are never read [INFO] [stdout] --> src/launchpad.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Launchpad { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | daw_conn: MidiOutputConnection, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | midi_in: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [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 `input_usize` is never used [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: function `input` is never used [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: methods `send_daw`, `paint_static_grid`, and `cycle_color` are never used [INFO] [stdout] --> src/launchpad.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 110 | impl Launchpad { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn send_daw(&mut self, message: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn paint_static_grid(&mut self, grid: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn cycle_color(&mut self, position: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_usize` is never used [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: function `rand_u8` is never used [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: methods `send_daw`, `paint_static_grid`, and `cycle_color` are never used [INFO] [stdout] --> src/launchpad.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 110 | impl Launchpad { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn send_daw(&mut self, message: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn paint_static_grid(&mut self, grid: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn cycle_color(&mut self, position: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_u8` is never used [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "54fb815763296ad013c52a97c2906472394772663d82127b3aabac953412d0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54fb815763296ad013c52a97c2906472394772663d82127b3aabac953412d0f9", kill_on_drop: false }` [INFO] [stdout] 54fb815763296ad013c52a97c2906472394772663d82127b3aabac953412d0f9