[INFO] cloning repository https://github.com/sersorrel/lp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sersorrel/lp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 949e11b8619527cc9acea6b838d4da01c77b9d45 [INFO] checking sersorrel/lp against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sersorrel/lp on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sersorrel/lp [INFO] finished tweaking git repo https://github.com/sersorrel/lp [INFO] tweaked toml for git repo https://github.com/sersorrel/lp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sersorrel/lp 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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 233dec19e9bac3049af435484d05e3b211365a27cd6eaf8bcd87cc21cdab663c [INFO] running `Command { std: "docker" "start" "-a" "233dec19e9bac3049af435484d05e3b211365a27cd6eaf8bcd87cc21cdab663c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "233dec19e9bac3049af435484d05e3b211365a27cd6eaf8bcd87cc21cdab663c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233dec19e9bac3049af435484d05e3b211365a27cd6eaf8bcd87cc21cdab663c", kill_on_drop: false }` [INFO] [stdout] 233dec19e9bac3049af435484d05e3b211365a27cd6eaf8bcd87cc21cdab663c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de13089c0206e6b94a81c0f868ef9313cf743948a35bb17d66eca07375aa492e [INFO] running `Command { std: "docker" "start" "-a" "de13089c0206e6b94a81c0f868ef9313cf743948a35bb17d66eca07375aa492e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking randomize v3.0.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking bounded-integer v0.5.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking usfx v0.1.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking midir v0.7.0 [INFO] [stderr] Checking i3ipc-types v0.15.0-alpha (https://github.com/leshow/tokio-i3ipc#d443c0b3) [INFO] [stderr] Checking i3_ipc v0.15.0-alpha (https://github.com/leshow/tokio-i3ipc#d443c0b3) [INFO] [stderr] Checking lp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `top_bound` [INFO] [stdout] --> src/main.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let mut top_bound = focus_y; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_bound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_bound` [INFO] [stdout] --> src/main.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bottom_bound = focus_y; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_bound` [INFO] [stdout] --> src/main.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | let mut left_bound = focus_x; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_bound` [INFO] [stdout] --> src/main.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut right_bound = focus_x; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut top_bound = focus_y; [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:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bottom_bound = focus_y; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut left_bound = focus_x; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut right_bound = focus_x; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_bound` [INFO] [stdout] --> src/main.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | let mut top_bound = focus_y; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_bound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom_bound` [INFO] [stdout] --> src/main.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bottom_bound = focus_y; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_bound` [INFO] [stdout] --> src/main.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | let mut left_bound = focus_x; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_bound` [INFO] [stdout] --> src/main.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut right_bound = focus_x; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut top_bound = focus_y; [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:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut bottom_bound = focus_y; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut left_bound = focus_x; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1124:26 [INFO] [stdout] | [INFO] [stdout] 1124 | for (i, output) in outputs [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut right_bound = focus_x; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1124:26 [INFO] [stdout] | [INFO] [stdout] 1124 | for (i, output) in outputs [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_sin` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn fast_sin(mut x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_audio_frame_static` is never used [INFO] [stdout] --> src/main.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | fn get_audio_frame_static() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_button` and `press_release_button` are never used [INFO] [stdout] --> src/main.rs:788:16 [INFO] [stdout] | [INFO] [stdout] 758 | impl<'a> Ui<'a> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 788 | fn toggle_button( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | fn press_release_button( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `light` is never used [INFO] [stdout] --> src/main.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | fn light(launchpad: &mut Launchpad, x: i8, y: i8) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extinguish` is never used [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | fn extinguish(launchpad: &mut Launchpad, x: i8, y: i8) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_sin` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn fast_sin(mut x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `clock` should have an upper case name [INFO] [stdout] --> src/main.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 634 | static mut clock: f32 = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CLOCK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `light` is never used [INFO] [stdout] --> src/main.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | fn light(launchpad: &mut Launchpad, x: i8, y: i8) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extinguish` is never used [INFO] [stdout] --> src/main.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | fn extinguish(launchpad: &mut Launchpad, x: i8, y: i8) -> eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1170:64 [INFO] [stdout] | [INFO] [stdout] 1170 | ... if let Some(old_output) = unsafe { &CURRENT_OUTPUT_HELD } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(old_output) = unsafe { &raw const CURRENT_OUTPUT_HELD } { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `clock` should have an upper case name [INFO] [stdout] --> src/main.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 634 | static mut clock: f32 = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CLOCK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:1170:64 [INFO] [stdout] | [INFO] [stdout] 1170 | ... if let Some(old_output) = unsafe { &CURRENT_OUTPUT_HELD } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(old_output) = unsafe { &raw const CURRENT_OUTPUT_HELD } { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.35s [INFO] running `Command { std: "docker" "inspect" "de13089c0206e6b94a81c0f868ef9313cf743948a35bb17d66eca07375aa492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de13089c0206e6b94a81c0f868ef9313cf743948a35bb17d66eca07375aa492e", kill_on_drop: false }` [INFO] [stdout] de13089c0206e6b94a81c0f868ef9313cf743948a35bb17d66eca07375aa492e