[INFO] cloning repository https://github.com/Krayfighter/audiokeyboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Krayfighter/audiokeyboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrayfighter%2Faudiokeyboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrayfighter%2Faudiokeyboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dec2d06f6d57841df3dc31921eeded5fb3f81c9f [INFO] checking Krayfighter/audiokeyboard/dec2d06f6d57841df3dc31921eeded5fb3f81c9f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrayfighter%2Faudiokeyboard" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Krayfighter/audiokeyboard on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Krayfighter/audiokeyboard [INFO] finished tweaking git repo https://github.com/Krayfighter/audiokeyboard [INFO] tweaked toml for git repo https://github.com/Krayfighter/audiokeyboard written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Krayfighter/audiokeyboard 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2e17c94bb67919d482625303bf34503b490441ca9ee6ad0e15398621e8e720 [INFO] running `Command { std: "docker" "start" "-a" "4e2e17c94bb67919d482625303bf34503b490441ca9ee6ad0e15398621e8e720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2e17c94bb67919d482625303bf34503b490441ca9ee6ad0e15398621e8e720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2e17c94bb67919d482625303bf34503b490441ca9ee6ad0e15398621e8e720", kill_on_drop: false }` [INFO] [stdout] 4e2e17c94bb67919d482625303bf34503b490441ca9ee6ad0e15398621e8e720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9cc215ff5a4de82084f7d61820e29c0ca00d681da15743e57a017ceea4ca8fd [INFO] running `Command { std: "docker" "start" "-a" "d9cc215ff5a4de82084f7d61820e29c0ca00d681da15743e57a017ceea4ca8fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking audiokeyboard v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/voice_algorithms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/voice_algorithms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ui/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::style::Print` [INFO] [stdout] --> src/ui/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::Print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/voice_algorithms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/voice_algorithms.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ui/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::style::Print` [INFO] [stdout] --> src/ui/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::Print; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/ui/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/state.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl KeyboardState { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, idx: char) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key_index` is never used [INFO] [stdout] --> src/ui/config.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl KeySet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_key_index(&self, key: &char) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ui/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(shared_state: crate::state::KeyboardState) -> Self { Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | config: config::KeySet::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `base_note_C_offset` should have a snake case name [INFO] [stdout] --> src/ui/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | base_note_C_offset: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `base_note_c_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `black_key_degrees` should have an upper case name [INFO] [stdout] --> src/ui/config.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | const black_key_degrees: [i32 ; 5] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BLACK_KEY_DEGREES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/ui/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audiokeyboard` (bin "audiokeyboard") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/state.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl KeyboardState { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, idx: char) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key_index` is never used [INFO] [stdout] --> src/ui/config.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl KeySet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_key_index(&self, key: &char) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ui/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(shared_state: crate::state::KeyboardState) -> Self { Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | config: config::KeySet::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `base_note_C_offset` should have a snake case name [INFO] [stdout] --> src/ui/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | base_note_C_offset: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `base_note_c_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `black_key_degrees` should have an upper case name [INFO] [stdout] --> src/ui/config.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | const black_key_degrees: [i32 ; 5] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BLACK_KEY_DEGREES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audiokeyboard` (bin "audiokeyboard" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d9cc215ff5a4de82084f7d61820e29c0ca00d681da15743e57a017ceea4ca8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9cc215ff5a4de82084f7d61820e29c0ca00d681da15743e57a017ceea4ca8fd", kill_on_drop: false }` [INFO] [stdout] d9cc215ff5a4de82084f7d61820e29c0ca00d681da15743e57a017ceea4ca8fd