[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sersorrel/lp on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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 core-foundation v0.2.3 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] [stderr] Downloaded core-foundation-sys v0.2.3 [INFO] [stderr] Downloaded duct v0.13.5 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded bounded-integer v0.5.2 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded shared_child v0.3.5 [INFO] [stderr] Downloaded usfx v0.1.3 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded randomize v3.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8ffdb15f794c68f052148d24d4a734b2ed0cdbe460bada5e6d8156c158171de [INFO] running `Command { std: "docker" "start" "-a" "c8ffdb15f794c68f052148d24d4a734b2ed0cdbe460bada5e6d8156c158171de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8ffdb15f794c68f052148d24d4a734b2ed0cdbe460bada5e6d8156c158171de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ffdb15f794c68f052148d24d4a734b2ed0cdbe460bada5e6d8156c158171de", kill_on_drop: false }` [INFO] [stdout] c8ffdb15f794c68f052148d24d4a734b2ed0cdbe460bada5e6d8156c158171de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c38a1fd8b51e9d3465780c57293b904504638a351924a58ca47b0dcb71a7556 [INFO] running `Command { std: "docker" "start" "-a" "2c38a1fd8b51e9d3465780c57293b904504638a351924a58ca47b0dcb71a7556", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking randomize v3.0.1 [INFO] [stderr] Checking bounded-integer v0.5.2 [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 shared_child v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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: 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 17.84s [INFO] running `Command { std: "docker" "inspect" "2c38a1fd8b51e9d3465780c57293b904504638a351924a58ca47b0dcb71a7556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c38a1fd8b51e9d3465780c57293b904504638a351924a58ca47b0dcb71a7556", kill_on_drop: false }` [INFO] [stdout] 2c38a1fd8b51e9d3465780c57293b904504638a351924a58ca47b0dcb71a7556 [INFO] checking sersorrel/lp against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsersorrel%2Flp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sersorrel/lp on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31be93533b958da83e169d63300851182a2df25414f620f4913327cbc9838f06 [INFO] running `Command { std: "docker" "start" "-a" "31be93533b958da83e169d63300851182a2df25414f620f4913327cbc9838f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31be93533b958da83e169d63300851182a2df25414f620f4913327cbc9838f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31be93533b958da83e169d63300851182a2df25414f620f4913327cbc9838f06", kill_on_drop: false }` [INFO] [stdout] 31be93533b958da83e169d63300851182a2df25414f620f4913327cbc9838f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d92a969e574fc67c937705e2085f1752fb8c5db5b8b6b647b69c3a50d2d810b [INFO] running `Command { std: "docker" "start" "-a" "3d92a969e574fc67c937705e2085f1752fb8c5db5b8b6b647b69c3a50d2d810b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking memalloc v0.1.0 [INFO] [stderr] Checking randomize v3.0.1 [INFO] [stderr] Checking bounded-integer v0.5.2 [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 shared_child v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [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 serde_derive v1.0.137 [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: 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: `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: `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 `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: 14 warnings emitted [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.33s [INFO] running `Command { std: "docker" "inspect" "3d92a969e574fc67c937705e2085f1752fb8c5db5b8b6b647b69c3a50d2d810b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d92a969e574fc67c937705e2085f1752fb8c5db5b8b6b647b69c3a50d2d810b", kill_on_drop: false }` [INFO] [stdout] 3d92a969e574fc67c937705e2085f1752fb8c5db5b8b6b647b69c3a50d2d810b