[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sersorrel/lp 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/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-4-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/leshow/tokio-i3ipc` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded duct v0.13.5 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded bounded-integer v0.5.2 [INFO] [stderr] Downloaded shared_child v0.3.5 [INFO] [stderr] Downloaded usfx v0.1.3 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 521b4c402232391c52b575912877a3300025ffc2062c91bfa69a50f0acd7369f [INFO] running `Command { std: "docker" "start" "-a" "521b4c402232391c52b575912877a3300025ffc2062c91bfa69a50f0acd7369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "521b4c402232391c52b575912877a3300025ffc2062c91bfa69a50f0acd7369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521b4c402232391c52b575912877a3300025ffc2062c91bfa69a50f0acd7369f", kill_on_drop: false }` [INFO] [stdout] 521b4c402232391c52b575912877a3300025ffc2062c91bfa69a50f0acd7369f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f0a33c525928027c93d56ad48bbc7c736436fc0c1981835c15776a2aa7b66883 [INFO] running `Command { std: "docker" "start" "-a" "f0a33c525928027c93d56ad48bbc7c736436fc0c1981835c15776a2aa7b66883", 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 syn v1.0.93 [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 lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking randomize v3.0.1 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking bounded-integer v0.5.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking usfx v0.1.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking alsa v0.4.3 [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: 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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(old_output) = unsafe { addr_of!(CURRENT_OUTPUT_HELD) } { [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(old_output) = unsafe { addr_of!(CURRENT_OUTPUT_HELD) } { [INFO] [stdout] | ~~~~~~~~~ + [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: 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: 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: `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: 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: 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: 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: 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.15s [INFO] running `Command { std: "docker" "inspect" "f0a33c525928027c93d56ad48bbc7c736436fc0c1981835c15776a2aa7b66883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a33c525928027c93d56ad48bbc7c736436fc0c1981835c15776a2aa7b66883", kill_on_drop: false }` [INFO] [stdout] f0a33c525928027c93d56ad48bbc7c736436fc0c1981835c15776a2aa7b66883