[INFO] fetching crate hodaun 0.4.1... [INFO] checking hodaun-0.4.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate hodaun 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hodaun 0.4.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hodaun 0.4.1 [INFO] finished tweaking crates.io crate hodaun 0.4.1 [INFO] tweaked toml for crates.io crate hodaun 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate hodaun 0.4.1 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68018372f2f18a932e77547f25254f701620c61c009cddc11c7f9c7e54c326c [INFO] running `Command { std: "docker" "start" "-a" "d68018372f2f18a932e77547f25254f701620c61c009cddc11c7f9c7e54c326c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68018372f2f18a932e77547f25254f701620c61c009cddc11c7f9c7e54c326c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68018372f2f18a932e77547f25254f701620c61c009cddc11c7f9c7e54c326c", kill_on_drop: false }` [INFO] [stdout] d68018372f2f18a932e77547f25254f701620c61c009cddc11c7f9c7e54c326c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5d2f1f8bfd765aa608aa0dbdd1eb7305d147efaa44e64e5bd018272e8cb17c4 [INFO] running `Command { std: "docker" "start" "-a" "e5d2f1f8bfd765aa608aa0dbdd1eb7305d147efaa44e64e5bd018272e8cb17c4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking alsa v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking hodaun v0.4.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hodaun` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/io/input.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io/input.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | ($sample:ty, |$x:ident| $convert:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ogg` [INFO] [stderr] --> src/lib.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stderr] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ogg` [INFO] [stderr] --> src/lib.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stderr] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, gen::*, mixer::*}; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io/input.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | ($sample:ty, |$x:ident| $convert:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($sample:ty, |$x:ident| $convert:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/wav.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | while let Some(frame) = source.next(sample_rate as f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codec/wav.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/input.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let device = if let Some(device) = builder.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/input.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ let device = match builder.device { Some(device) => { [INFO] [stdout] 62 | device [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | default_input_device().ok_or(BuildSystemAudioError::NoDevice)? [INFO] [stdout] 65 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/input.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let config = if let Some(config) = builder.config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/input.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ let config = match builder.config { Some(config) => { [INFO] [stdout] 67 | config [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | device.default_input_config()? [INFO] [stdout] 70 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | let device = if let Some(device) = builder.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ let device = match builder.device { Some(device) => { [INFO] [stdout] 68 | device [INFO] [stdout] 69 ~ } _ => { [INFO] [stdout] 70 | default_output_device().ok_or(BuildSystemAudioError::NoDevice)? [INFO] [stdout] 71 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let config = if let Some(config) = builder.config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ let config = match builder.config { Some(config) => { [INFO] [stdout] 73 | config [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | device.default_output_config()? [INFO] [stdout] 76 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a mut [A], &'b cpal::OutputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/io/output.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> impl FnMut(&mut [A], &OutputCallbackInfo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/io/output.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | config: &StreamConfig, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 120 | ) -> impl FnMut(&mut [A], &OutputCallbackInfo) + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(frame) = mixer.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match mixer.next(sample_rate) { Some(frame) => { [INFO] [stdout] 135 | frame.write_slice(&mut frame_buffer); [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | break; [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mixer.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(this_frame) = source.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/mixer.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match source.next(sample_rate) { Some(this_frame) => { [INFO] [stdout] 45 | frame.merge(this_frame, |a, b| a + b); [INFO] [stdout] 46 | true [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | false [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | let frame = if let Some(a) = self.a.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 376 | } else if let Some(b) = self.b.next(sample_rate) { [INFO] [stdout] | ------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | } else if let Some(b) = self.b.next(sample_rate) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ let frame = match self.a.next(sample_rate) { Some(a) => { [INFO] [stdout] 366 | match self.b_start { [INFO] [stdout] ... [INFO] [stdout] 375 | } [INFO] [stdout] 376 ~ } _ => { match self.b.next(sample_rate) { Some(b) => { [INFO] [stdout] 377 | b [INFO] [stdout] 378 ~ } _ => { [INFO] [stdout] 379 | return None; [INFO] [stdout] 380 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | Some(if let Some(acc) = &mut self.acc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ Some(match &mut self.acc { Some(acc) => { [INFO] [stdout] 408 | let t = (freq / sample_rate).min(1.0); [INFO] [stdout] 409 | acc.merge(frame, |a, b| lerp(a, b, t)); [INFO] [stdout] 410 | acc.clone() [INFO] [stdout] 411 ~ } _ => { [INFO] [stdout] 412 | self.acc = Some(frame.clone()); [INFO] [stdout] 413 | frame [INFO] [stdout] 414 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | if let Some(next) = source.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 573 ~ match source.next(sample_rate) { Some(next) => { [INFO] [stdout] 574 | frame.merge(next, Frame::add); [INFO] [stdout] 575 | true [INFO] [stdout] 576 ~ } _ => { [INFO] [stdout] 577 | false [INFO] [stdout] 578 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if let Some(curr) = &self.curr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 929 | } else if let Some(curr) = self.source.next(self.sample_rate) { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | } else if let Some(curr) = self.source.next(self.sample_rate) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 919 ~ match &self.curr { Some(curr) => { [INFO] [stdout] 920 | if self.i < ::CHANNELS { [INFO] [stdout] ... [INFO] [stdout] 928 | } [INFO] [stdout] 929 ~ } _ => { match self.source.next(self.sample_rate) { Some(curr) => { [INFO] [stdout] 930 | self.curr = Some(curr); [INFO] [stdout] 931 | self.next() [INFO] [stdout] 932 ~ } _ => { [INFO] [stdout] 933 | None [INFO] [stdout] 934 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/adsr.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hodaun` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/io/input.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/io/input.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | ($sample:ty, |$x:ident| $convert:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ogg` [INFO] [stderr] --> src/lib.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stderr] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `ogg` [INFO] [stderr] --> src/lib.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stderr] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, gen::*, mixer::*}; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/io/input.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | ($sample:ty, |$x:ident| $convert:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($sample:ty, |$x:ident| $convert:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/wav.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | while let Some(frame) = source.next(sample_rate as f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/codec/wav.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/input.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let device = if let Some(device) = builder.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/input.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ let device = match builder.device { Some(device) => { [INFO] [stdout] 62 | device [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | default_input_device().ok_or(BuildSystemAudioError::NoDevice)? [INFO] [stdout] 65 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/input.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let config = if let Some(config) = builder.config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/input.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ let config = match builder.config { Some(config) => { [INFO] [stdout] 67 | config [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | device.default_input_config()? [INFO] [stdout] 70 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | let device = if let Some(device) = builder.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ let device = match builder.device { Some(device) => { [INFO] [stdout] 68 | device [INFO] [stdout] 69 ~ } _ => { [INFO] [stdout] 70 | default_output_device().ok_or(BuildSystemAudioError::NoDevice)? [INFO] [stdout] 71 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | let config = if let Some(config) = builder.config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 72 ~ let config = match builder.config { Some(config) => { [INFO] [stdout] 73 | config [INFO] [stdout] 74 ~ } _ => { [INFO] [stdout] 75 | device.default_output_config()? [INFO] [stdout] 76 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a mut [A], &'b cpal::OutputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/io/output.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> impl FnMut(&mut [A], &OutputCallbackInfo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/io/output.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | config: &StreamConfig, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 120 | ) -> impl FnMut(&mut [A], &OutputCallbackInfo) + use [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/io/output.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(frame) = mixer.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/io/output.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match mixer.next(sample_rate) { Some(frame) => { [INFO] [stdout] 135 | frame.write_slice(&mut frame_buffer); [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | break; [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/mixer.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(this_frame) = source.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/mixer.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match source.next(sample_rate) { Some(this_frame) => { [INFO] [stdout] 45 | frame.merge(this_frame, |a, b| a + b); [INFO] [stdout] 46 | true [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | false [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | let frame = if let Some(a) = self.a.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 376 | } else if let Some(b) = self.b.next(sample_rate) { [INFO] [stdout] | ------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | } else if let Some(b) = self.b.next(sample_rate) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ let frame = match self.a.next(sample_rate) { Some(a) => { [INFO] [stdout] 366 | match self.b_start { [INFO] [stdout] ... [INFO] [stdout] 375 | } [INFO] [stdout] 376 ~ } _ => { match self.b.next(sample_rate) { Some(b) => { [INFO] [stdout] 377 | b [INFO] [stdout] 378 ~ } _ => { [INFO] [stdout] 379 | return None; [INFO] [stdout] 380 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | Some(if let Some(acc) = &mut self.acc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ Some(match &mut self.acc { Some(acc) => { [INFO] [stdout] 408 | let t = (freq / sample_rate).min(1.0); [INFO] [stdout] 409 | acc.merge(frame, |a, b| lerp(a, b, t)); [INFO] [stdout] 410 | acc.clone() [INFO] [stdout] 411 ~ } _ => { [INFO] [stdout] 412 | self.acc = Some(frame.clone()); [INFO] [stdout] 413 | frame [INFO] [stdout] 414 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | if let Some(next) = source.next(sample_rate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 573 ~ match source.next(sample_rate) { Some(next) => { [INFO] [stdout] 574 | frame.merge(next, Frame::add); [INFO] [stdout] 575 | true [INFO] [stdout] 576 ~ } _ => { [INFO] [stdout] 577 | false [INFO] [stdout] 578 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/source.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if let Some(curr) = &self.curr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 929 | } else if let Some(curr) = self.source.next(self.sample_rate) { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | } else if let Some(curr) = self.source.next(self.sample_rate) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/source.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 919 ~ match &self.curr { Some(curr) => { [INFO] [stdout] 920 | if self.i < ::CHANNELS { [INFO] [stdout] ... [INFO] [stdout] 928 | } [INFO] [stdout] 929 ~ } _ => { match self.source.next(self.sample_rate) { Some(curr) => { [INFO] [stdout] 930 | self.curr = Some(curr); [INFO] [stdout] 931 | self.next() [INFO] [stdout] 932 ~ } _ => { [INFO] [stdout] 933 | None [INFO] [stdout] 934 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/automation.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/chord.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/desktop.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/kick.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/perception.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/wav.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pan.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/echo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/repeat.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking hodaun v0.4.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 98 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 98 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, gen::*, mixer::*}; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, r#gen::*, mixer::*}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, gen::*, mixer::*}; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | pub use {frame::*, r#gen::*, mixer::*}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ogg` [INFO] [stdout] --> src/lib.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(any(feature = "wav", feature = "ogg"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpal`, `default`, `hound`, `input`, `noise`, `notes`, `output`, `rand`, `serde`, `thiserror`, and `wav` [INFO] [stdout] = help: consider adding `ogg` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 102 | SampleFormat::F64 => output_stream!(f64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 102 | SampleFormat::F64 => output_stream!(f64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 101 | SampleFormat::U64 => output_stream!(u64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 101 | SampleFormat::U64 => output_stream!(u64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 100 | SampleFormat::U32 => output_stream!(u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 100 | SampleFormat::U32 => output_stream!(u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 99 | SampleFormat::U8 => output_stream!(u8), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 99 | SampleFormat::U8 => output_stream!(u8), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 98 | SampleFormat::I64 => output_stream!(i64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 97 | SampleFormat::I32 => output_stream!(i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 98 | SampleFormat::I64 => output_stream!(i64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 96 | SampleFormat::I8 => output_stream!(i8), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 97 | SampleFormat::I32 => output_stream!(i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 95 | SampleFormat::U16 => output_stream!(u16), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 96 | SampleFormat::I8 => output_stream!(i8), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 94 | SampleFormat::I16 => output_stream!(i16), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 95 | SampleFormat::U16 => output_stream!(u16), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 93 | SampleFormat::F32 => output_stream!(f32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 94 | SampleFormat::I16 => output_stream!(i16), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `config` does not live long enough [INFO] [stdout] --> src/io/output.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 78 | let config = StreamConfig::from(config); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 86 | write_sources::(mixer_clone, &config), [INFO] [stdout] | -----------------------------------------^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `config` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 93 | SampleFormat::F32 => output_stream!(f32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - `config` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `output_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hodaun` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hodaun` (lib test) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e5d2f1f8bfd765aa608aa0dbdd1eb7305d147efaa44e64e5bd018272e8cb17c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d2f1f8bfd765aa608aa0dbdd1eb7305d147efaa44e64e5bd018272e8cb17c4", kill_on_drop: false }` [INFO] [stdout] e5d2f1f8bfd765aa608aa0dbdd1eb7305d147efaa44e64e5bd018272e8cb17c4