[INFO] fetching crate lasprs 0.6.1... [INFO] checking lasprs-0.6.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lasprs 0.6.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lasprs 0.6.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 lasprs 0.6.1 [INFO] finished tweaking crates.io crate lasprs 0.6.1 [INFO] tweaked toml for crates.io crate lasprs 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate lasprs 0.6.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a92bb58bc394c3905558dd72ee4a4c078885991b3cd932d763b722ebac503024 [INFO] running `Command { std: "docker" "start" "-a" "a92bb58bc394c3905558dd72ee4a4c078885991b3cd932d763b722ebac503024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92bb58bc394c3905558dd72ee4a4c078885991b3cd932d763b722ebac503024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92bb58bc394c3905558dd72ee4a4c078885991b3cd932d763b722ebac503024", kill_on_drop: false }` [INFO] [stdout] a92bb58bc394c3905558dd72ee4a4c078885991b3cd932d763b722ebac503024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ab196a687ba5ae8b0212f3c06a055fdf8762d39cf8c439c4f577b4a19b9c977 [INFO] running `Command { std: "docker" "start" "-a" "2ab196a687ba5ae8b0212f3c06a055fdf8762d39cf8c439c4f577b4a19b9c977", 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] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling hdf5-types v0.8.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling hdf5 v0.8.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking softfloat v1.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking reinterpret v0.2.1 [INFO] [stderr] Compiling hdf5-src v0.8.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling hdf5-derive v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling hdf5-sys v0.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking realfft v3.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking lasprs v0.6.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 `lasprs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/daq/streamdata.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/daq/streamdata.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | ($c:expr_2021,$t:ty) => {{ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/daq/streamdata.rs:148:14 [INFO] [stderr] | [INFO] [stderr] 148 | ($c:expr_2021,$t:ty) => {{ [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] error: aborting due to 2 previous errors [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/daq/streamdata.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | ($c:expr,$t:ty) => {{ [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] 85 | ($c:expr_2021,$t:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/daq/streamdata.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | ($c:expr,$t:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 148 | ($c:expr_2021,$t:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vc` is never used [INFO] [stdout] --> src/config.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type Vc = Vec; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cmat` is never used [INFO] [stdout] --> src/config.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub type Cmat = Array2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ninchannels` and `noutchannels` are never used [INFO] [stdout] --> src/daq/api/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Stream { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn ninchannels(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn noutchannels(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPreFilter` is never used [INFO] [stdout] --> src/siggen.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 318 | impl SiggenChannelConfig { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 319 | /// Set new pre-filter that filters the source signal [INFO] [stdout] 320 | pub fn setPreFilter(&mut self, pref: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a [T], &'b InputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> impl FnMut(&[T], &cpal::InputCallbackInfo) [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/daq/api/api_cpal.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | config: &cpal::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] 207 | ) -> impl FnMut(&[T], &cpal::InputCallbackInfo) + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a mut [T], &'b OutputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | ) -> impl FnMut(&mut [T], &cpal::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, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/daq/api/api_cpal.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | config: &cpal::StreamConfig, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 306 | ch_config: &[DaqChannel], [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 308 | ) -> impl FnMut(&mut [T], &cpal::OutputCallbackInfo) + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(device) = self.host.default_input_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/daq/api/api_cpal.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 556 ~ match self.host.default_input_device() { Some(device) => { [INFO] [stdout] 557 | if let Ok(config) = device.default_input_config() { [INFO] [stdout] ... [INFO] [stdout] 604 | } [INFO] [stdout] 605 ~ } _ => { [INFO] [stdout] 606 | bail!("Could not open default input device") [INFO] [stdout] 607 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:557:16 [INFO] [stdout] | [INFO] [stdout] 557 | if let Ok(config) = device.default_input_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/daq/api/api_cpal.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } 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] 557 ~ match device.default_input_config() { Ok(config) => { [INFO] [stdout] 558 | let framesPerBlock: usize = 4096; [INFO] [stdout] ... [INFO] [stdout] 601 | })) [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | bail!("Could not obtain default input configuration") [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | if let Err(e) = std::fs::remove_file(&self.settings.filename) { [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/daq/record.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match std::fs::remove_file(&self.settings.filename) { Err(e) => { [INFO] [stdout] 400 | eprintln!("Recording failed, but file removal failed as well: {}", e); [INFO] [stdout] 401 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(h) = self.handle.take() { [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/daq/record.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } [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 ~ match self.handle.take() { Some(h) => { [INFO] [stdout] 408 | let res = h.join().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 411 | } [INFO] [stdout] 412 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | if let Err(e) = res { [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/daq/record.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match res { Err(e) => { [INFO] [stdout] 410 | self.last_status = RecordStatus::Error(format!("{}", e)); [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(s) = &self.input_stream { [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/daq/streammgr.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match &self.input_stream { Some(s) => { [INFO] [stdout] 158 | return Some(s.stream.metadata()); [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(s) = &self.output_stream { [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/daq/streammgr.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match &self.output_stream { Some(s) => { [INFO] [stdout] 163 | return Some(s.stream.metadata()); [INFO] [stdout] 164 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(s) = &self.input_stream { [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/daq/streammgr.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | } 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] 174 ~ match &self.input_stream { Some(s) => { [INFO] [stdout] 175 | s.stream.status() [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | StreamStatus::NotRunning {} [INFO] [stdout] 178 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(s) = &self.output_stream { [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/daq/streammgr.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | } 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] 181 ~ match &self.output_stream { Some(s) => { [INFO] [stdout] 182 | s.stream.status() [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | StreamStatus::NotRunning {} [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(istream) = &self.input_stream { [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] 199 | } else if let Some(os) = &self.output_stream { [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/daq/streammgr.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } else if let Some(os) = &self.output_stream { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | } 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] 194 ~ match &self.input_stream { Some(istream) => { [INFO] [stdout] 195 | if let StreamType::Duplex = istream.streamtype { [INFO] [stdout] ... [INFO] [stdout] 198 | } [INFO] [stdout] 199 ~ } _ => { match &self.output_stream { Some(os) => { [INFO] [stdout] 200 | assert!(self.siggen.is_none()); [INFO] [stdout] 201 | os.comm.send(StreamCommand::NewSiggen(siggen)).unwrap(); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | self.siggen = Some(siggen); [INFO] [stdout] 204 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(devs) = cpal_devs { [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/daq/streammgr.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match cpal_devs { Ok(devs) => { [INFO] [stdout] 218 | devinfo.extend(devs); [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(is) = &self.input_stream { [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/daq/streammgr.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 231 ~ match &self.input_stream { Some(is) => { [INFO] [stdout] 232 | is.comm.send(StreamCommand::AddInQueue(tx)).unwrap() [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | self.instreamqueues.as_mut().unwrap().push(tx); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if let Ok(msg) = rx.recv_timeout(time::Duration::from_millis(10)) { [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/daq/streammgr.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 276 ~ match rx.recv_timeout(time::Duration::from_millis(10)) { Ok(msg) => { [INFO] [stdout] 277 | [INFO] [stdout] 278 | sendMsgToAllQueuesRemoveUnused(&mut iqueues, msg); [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | if let Err(_e) = tx.send(msg) { [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/daq/streammgr.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match tx.send(msg) { Err(_e) => { [INFO] [stdout] 375 | // println!("Error sending raw stream data to output stream!"); [INFO] [stdout] 376 | break 'infy; [INFO] [stdout] 377 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 557 | if let Some(StreamInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 558 | | streamtype: _, // Ignored here [INFO] [stdout] 559 | | stream: _, [INFO] [stdout] 560 | | threadhandle, [INFO] [stdout] 561 | | comm, [INFO] [stdout] 562 | | }) = self.input_stream.take() [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/daq/streammgr.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | } 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] 557 ~ match self.input_stream.take() [INFO] [stdout] 558 ~ { Some(StreamInfo { [INFO] [stdout] 559 + streamtype: _, // Ignored here [INFO] [stdout] 560 + stream: _, [INFO] [stdout] 561 + threadhandle, [INFO] [stdout] 562 + comm, [INFO] [stdout] 563 ~ }) => { [INFO] [stdout] 564 | // println!("Stopping existing stream.."); [INFO] [stdout] ... [INFO] [stdout] 569 | self.instreamqueues = Some(threadhandle.join().expect("Stream thread panicked!")); [INFO] [stdout] 570 ~ } _ => { [INFO] [stdout] 571 | bail!("Stream is not running.") [INFO] [stdout] 572 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 577 | if let Some(StreamInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 578 | | streamtype: _, // Ignored here [INFO] [stdout] 579 | | stream: _, [INFO] [stdout] 580 | | threadhandle, [INFO] [stdout] 581 | | comm, [INFO] [stdout] 582 | | }) = self.output_stream.take() [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/daq/streammgr.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | } 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] 577 ~ match self.output_stream.take() [INFO] [stdout] 578 ~ { Some(StreamInfo { [INFO] [stdout] 579 + streamtype: _, // Ignored here [INFO] [stdout] 580 + stream: _, [INFO] [stdout] 581 + threadhandle, [INFO] [stdout] 582 + comm, [INFO] [stdout] 583 ~ }) => { [INFO] [stdout] 584 | if comm.send(StreamCommand::StopThread).is_err() { [INFO] [stdout] ... [INFO] [stdout] 591 | // println!("Threadhandle joined!"); [INFO] [stdout] 592 ~ } _ => { [INFO] [stdout] 593 | bail!("Stream is not running."); [INFO] [stdout] 594 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | while let Some(timeblock) = self.timebuf.pop(self.nfft(), self.overlap_keep) { [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/ps/aps.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | while let Some(timeblock) = self.timebuf.pop(self.nfft(), self.overlap_keep) { [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/ps/aps.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/siggen.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(f) = &mut self.prefilter { [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/siggen.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match &mut self.prefilter { Some(f) => { [INFO] [stdout] 334 | f.reset() [INFO] [stdout] 335 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/siggen.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | if let Some(f) = &mut self.prefilter { [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/siggen.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match &mut self.prefilter { Some(f) => { [INFO] [stdout] 375 | f.filter(result); [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rt/rtaps.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | ... if let Some(cpsresult) = aps.compute_last(flt.view()) { [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/rt/rtaps.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match aps.compute_last(flt.view()) { Some(cpsresult) => { [INFO] [stdout] 69 | last_cps = Some(cpsresult.clone()); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rt/rtaps.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(last_cps) = last_cps.take() { [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/rt/rtaps.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match last_cps.take() { Some(last_cps) => { [INFO] [stdout] 98 | *last_result_lock = Some(RtApsComm::NewResult(last_cps)); [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/lasp_output.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lasprs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/daq/streamdata.rs [INFO] [stderr] * src/filter/zpkmodel.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/daq/streamdata.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | ($c:expr_2021,$t:ty) => {{ [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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/daq/streamdata.rs:148:14 [INFO] [stderr] | [INFO] [stderr] 148 | ($c:expr_2021,$t:ty) => {{ [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: unused variable: `Aw` [INFO] [stderr] --> src/filter/zpkmodel.rs:618:13 [INFO] [stderr] | [INFO] [stderr] 618 | let Aw = ZPKModel::freqWeightingFilter(crate::FreqWeighting::A); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_Aw` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/daq/streamdata.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | ($c:expr,$t:ty) => {{ [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] 85 | ($c:expr_2021,$t:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/daq/streamdata.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | ($c:expr,$t:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 148 | ($c:expr_2021,$t:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Aw` [INFO] [stdout] --> src/filter/zpkmodel.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | let Aw = ZPKModel::freqWeightingFilter(crate::FreqWeighting::A); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Aw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vc` is never used [INFO] [stdout] --> src/config.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub type Vc = Vec; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cmat` is never used [INFO] [stdout] --> src/config.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub type Cmat = Array2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ninchannels` and `noutchannels` are never used [INFO] [stdout] --> src/daq/api/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Stream { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn ninchannels(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn noutchannels(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPreFilter` is never used [INFO] [stdout] --> src/siggen.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 318 | impl SiggenChannelConfig { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 319 | /// Set new pre-filter that filters the source signal [INFO] [stdout] 320 | pub fn setPreFilter(&mut self, pref: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a [T], &'b InputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> impl FnMut(&[T], &cpal::InputCallbackInfo) [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/daq/api/api_cpal.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | config: &cpal::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] 207 | ) -> impl FnMut(&[T], &cpal::InputCallbackInfo) + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl for<'a, 'b> FnMut(&'a mut [T], &'b OutputCallbackInfo)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | ) -> impl FnMut(&mut [T], &cpal::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, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/daq/api/api_cpal.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | config: &cpal::StreamConfig, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 306 | ch_config: &[DaqChannel], [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 308 | ) -> impl FnMut(&mut [T], &cpal::OutputCallbackInfo) + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | if let Some(device) = self.host.default_input_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/daq/api/api_cpal.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 556 ~ match self.host.default_input_device() { Some(device) => { [INFO] [stdout] 557 | if let Ok(config) = device.default_input_config() { [INFO] [stdout] ... [INFO] [stdout] 604 | } [INFO] [stdout] 605 ~ } _ => { [INFO] [stdout] 606 | bail!("Could not open default input device") [INFO] [stdout] 607 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/api/api_cpal.rs:557:16 [INFO] [stdout] | [INFO] [stdout] 557 | if let Ok(config) = device.default_input_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/daq/api/api_cpal.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } 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] 557 ~ match device.default_input_config() { Ok(config) => { [INFO] [stdout] 558 | let framesPerBlock: usize = 4096; [INFO] [stdout] ... [INFO] [stdout] 601 | })) [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | bail!("Could not obtain default input configuration") [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | if let Err(e) = std::fs::remove_file(&self.settings.filename) { [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/daq/record.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match std::fs::remove_file(&self.settings.filename) { Err(e) => { [INFO] [stdout] 400 | eprintln!("Recording failed, but file removal failed as well: {}", e); [INFO] [stdout] 401 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(h) = self.handle.take() { [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/daq/record.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | } [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 ~ match self.handle.take() { Some(h) => { [INFO] [stdout] 408 | let res = h.join().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 411 | } [INFO] [stdout] 412 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/record.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | if let Err(e) = res { [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/daq/record.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match res { Err(e) => { [INFO] [stdout] 410 | self.last_status = RecordStatus::Error(format!("{}", e)); [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(s) = &self.input_stream { [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/daq/streammgr.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match &self.input_stream { Some(s) => { [INFO] [stdout] 158 | return Some(s.stream.metadata()); [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(s) = &self.output_stream { [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/daq/streammgr.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match &self.output_stream { Some(s) => { [INFO] [stdout] 163 | return Some(s.stream.metadata()); [INFO] [stdout] 164 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | if let Some(s) = &self.input_stream { [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/daq/streammgr.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | } 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] 174 ~ match &self.input_stream { Some(s) => { [INFO] [stdout] 175 | s.stream.status() [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | StreamStatus::NotRunning {} [INFO] [stdout] 178 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(s) = &self.output_stream { [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/daq/streammgr.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | } 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] 181 ~ match &self.output_stream { Some(s) => { [INFO] [stdout] 182 | s.stream.status() [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | StreamStatus::NotRunning {} [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(istream) = &self.input_stream { [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] 199 | } else if let Some(os) = &self.output_stream { [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/daq/streammgr.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } else if let Some(os) = &self.output_stream { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | } 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] 194 ~ match &self.input_stream { Some(istream) => { [INFO] [stdout] 195 | if let StreamType::Duplex = istream.streamtype { [INFO] [stdout] ... [INFO] [stdout] 198 | } [INFO] [stdout] 199 ~ } _ => { match &self.output_stream { Some(os) => { [INFO] [stdout] 200 | assert!(self.siggen.is_none()); [INFO] [stdout] 201 | os.comm.send(StreamCommand::NewSiggen(siggen)).unwrap(); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | self.siggen = Some(siggen); [INFO] [stdout] 204 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(devs) = cpal_devs { [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/daq/streammgr.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match cpal_devs { Ok(devs) => { [INFO] [stdout] 218 | devinfo.extend(devs); [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(is) = &self.input_stream { [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/daq/streammgr.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 231 ~ match &self.input_stream { Some(is) => { [INFO] [stdout] 232 | is.comm.send(StreamCommand::AddInQueue(tx)).unwrap() [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | self.instreamqueues.as_mut().unwrap().push(tx); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if let Ok(msg) = rx.recv_timeout(time::Duration::from_millis(10)) { [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/daq/streammgr.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 276 ~ match rx.recv_timeout(time::Duration::from_millis(10)) { Ok(msg) => { [INFO] [stdout] 277 | [INFO] [stdout] 278 | sendMsgToAllQueuesRemoveUnused(&mut iqueues, msg); [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | if let Err(_e) = tx.send(msg) { [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/daq/streammgr.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match tx.send(msg) { Err(_e) => { [INFO] [stdout] 375 | // println!("Error sending raw stream data to output stream!"); [INFO] [stdout] 376 | break 'infy; [INFO] [stdout] 377 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:557:12 [INFO] [stdout] | [INFO] [stdout] 557 | if let Some(StreamInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 558 | | streamtype: _, // Ignored here [INFO] [stdout] 559 | | stream: _, [INFO] [stdout] 560 | | threadhandle, [INFO] [stdout] 561 | | comm, [INFO] [stdout] 562 | | }) = self.input_stream.take() [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/daq/streammgr.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | } 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] 557 ~ match self.input_stream.take() [INFO] [stdout] 558 ~ { Some(StreamInfo { [INFO] [stdout] 559 + streamtype: _, // Ignored here [INFO] [stdout] 560 + stream: _, [INFO] [stdout] 561 + threadhandle, [INFO] [stdout] 562 + comm, [INFO] [stdout] 563 ~ }) => { [INFO] [stdout] 564 | // println!("Stopping existing stream.."); [INFO] [stdout] ... [INFO] [stdout] 569 | self.instreamqueues = Some(threadhandle.join().expect("Stream thread panicked!")); [INFO] [stdout] 570 ~ } _ => { [INFO] [stdout] 571 | bail!("Stream is not running.") [INFO] [stdout] 572 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/daq/streammgr.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 577 | if let Some(StreamInfo { [INFO] [stdout] | ____________^ [INFO] [stdout] 578 | | streamtype: _, // Ignored here [INFO] [stdout] 579 | | stream: _, [INFO] [stdout] 580 | | threadhandle, [INFO] [stdout] 581 | | comm, [INFO] [stdout] 582 | | }) = self.output_stream.take() [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/daq/streammgr.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | } 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] 577 ~ match self.output_stream.take() [INFO] [stdout] 578 ~ { Some(StreamInfo { [INFO] [stdout] 579 + streamtype: _, // Ignored here [INFO] [stdout] 580 + stream: _, [INFO] [stdout] 581 + threadhandle, [INFO] [stdout] 582 + comm, [INFO] [stdout] 583 ~ }) => { [INFO] [stdout] 584 | if comm.send(StreamCommand::StopThread).is_err() { [INFO] [stdout] ... [INFO] [stdout] 591 | // println!("Threadhandle joined!"); [INFO] [stdout] 592 ~ } _ => { [INFO] [stdout] 593 | bail!("Stream is not running."); [INFO] [stdout] 594 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | while let Some(timeblock) = self.timebuf.pop(self.nfft(), self.overlap_keep) { [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/ps/aps.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | while let Some(timeblock) = self.timebuf.pop(self.nfft(), self.overlap_keep) { [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/ps/aps.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | if let Some(v) = aps.compute_last(&timedata) { [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/ps/aps.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | } 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] 527 ~ match aps.compute_last(&timedata) { Some(v) => { [INFO] [stdout] 528 | let tf = v.tf(0, 1, None); [INFO] [stdout] 529 | assert_eq!((&tf - 2.0 * Cflt::ONE).sum().abs(), 0.0); [INFO] [stdout] 530 ~ } _ => { [INFO] [stdout] 531 | assert!(false); [INFO] [stdout] 532 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(v) = aps.compute_last(&timedata) { [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/ps/aps.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | } 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] 554 ~ match aps.compute_last(&timedata) { Some(v) => { [INFO] [stdout] 555 | let tf = v.tf(0, 1, Some(2)); [INFO] [stdout] 556 | assert_eq!((&tf - 2.0 * Cflt::ONE).sum().abs(), 0.0); [INFO] [stdout] 557 ~ } _ => { [INFO] [stdout] 558 | assert!(false); [INFO] [stdout] 559 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ps/aps.rs:582:16 [INFO] [stdout] | [INFO] [stdout] 582 | if let Some(v) = aps.compute_last(&timedata) { [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/ps/aps.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | } 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] 582 ~ match aps.compute_last(&timedata) { Some(v) => { [INFO] [stdout] 583 | let ap = v.ap(0); [INFO] [stdout] 584 | assert_abs_diff_eq!((&ap).sum().abs(), timedata_mean_square, epsilon = 1e-2); [INFO] [stdout] 585 ~ } _ => { [INFO] [stdout] 586 | assert!(false); [INFO] [stdout] 587 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/siggen.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(f) = &mut self.prefilter { [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/siggen.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match &mut self.prefilter { Some(f) => { [INFO] [stdout] 334 | f.reset() [INFO] [stdout] 335 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/siggen.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | if let Some(f) = &mut self.prefilter { [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/siggen.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 374 ~ match &mut self.prefilter { Some(f) => { [INFO] [stdout] 375 | f.filter(result); [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rt/rtaps.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | ... if let Some(cpsresult) = aps.compute_last(flt.view()) { [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/rt/rtaps.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match aps.compute_last(flt.view()) { Some(cpsresult) => { [INFO] [stdout] 69 | last_cps = Some(cpsresult.clone()); [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rt/rtaps.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(last_cps) = last_cps.take() { [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/rt/rtaps.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match last_cps.take() { Some(last_cps) => { [INFO] [stdout] 98 | *last_result_lock = Some(RtApsComm::NewResult(last_cps)); [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/lasp_record.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/lasp_inputdefault.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/lasp_devinfo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/lasp_outputdefault.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.75s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lasprs v0.6.1 (/tmp/fixit) [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 265 | config: &cpal::StreamConfig, [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 280 | let icb = CpalApi::create_incallback::<$rtype>( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 281 | | meta, [INFO] [stdout] 282 | | &config, sender, framesPerBlock, en_inchannels); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |___________________________________________________________________________`config` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 293 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 294 | | SampleFormat::I8 => i8, [INFO] [stdout] 295 | | SampleFormat::I16 => i16, [INFO] [stdout] 296 | | SampleFormat::I32 => i32, [INFO] [stdout] 297 | | SampleFormat::F32 => f32 [INFO] [stdout] 298 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 398 | config: &cpal::StreamConfig, [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 412 | let outcallback = CpalApi::create_outcallback::<$rtype>(config, status.clone(), receiver, ch_config, framesPerBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `config` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 423 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 424 | | SampleFormat::I8 => i8, [INFO] [stdout] 425 | | SampleFormat::I16 => i16, [INFO] [stdout] 426 | | SampleFormat::I32 => i32, [INFO] [stdout] 427 | | SampleFormat::F32 => f32 [INFO] [stdout] 428 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 401 | ch_config: &[DaqChannel], [INFO] [stdout] | --------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `ch_config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 412 | let outcallback = CpalApi::create_outcallback::<$rtype>(config, status.clone(), receiver, ch_config, framesPerBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ch_config` escapes the associated function body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 423 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 424 | | SampleFormat::I8 => i8, [INFO] [stdout] 425 | | SampleFormat::I16 => i16, [INFO] [stdout] 426 | | SampleFormat::I32 => i32, [INFO] [stdout] 427 | | SampleFormat::F32 => f32 [INFO] [stdout] 428 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 265 | config: &cpal::StreamConfig, [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 280 | let icb = CpalApi::create_incallback::<$rtype>( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 281 | | meta, [INFO] [stdout] 282 | | &config, sender, framesPerBlock, en_inchannels); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |___________________________________________________________________________`config` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 293 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 294 | | SampleFormat::I8 => i8, [INFO] [stdout] 295 | | SampleFormat::I16 => i16, [INFO] [stdout] 296 | | SampleFormat::I32 => i32, [INFO] [stdout] 297 | | SampleFormat::F32 => f32 [INFO] [stdout] 298 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 398 | config: &cpal::StreamConfig, [INFO] [stdout] | ------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 412 | let outcallback = CpalApi::create_outcallback::<$rtype>(config, status.clone(), receiver, ch_config, framesPerBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `config` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 423 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 424 | | SampleFormat::I8 => i8, [INFO] [stdout] 425 | | SampleFormat::I16 => i16, [INFO] [stdout] 426 | | SampleFormat::I32 => i32, [INFO] [stdout] 427 | | SampleFormat::F32 => f32 [INFO] [stdout] 428 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> src/daq/api/api_cpal.rs:412:27 [INFO] [stdout] | [INFO] [stdout] 401 | ch_config: &[DaqChannel], [INFO] [stdout] | --------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `ch_config` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 412 | let outcallback = CpalApi::create_outcallback::<$rtype>(config, status.clone(), receiver, ch_config, framesPerBlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ch_config` escapes the associated function body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 423 | let stream: cpal::Stream = build_stream!( [INFO] [stdout] | ____________________________________- [INFO] [stdout] 424 | | SampleFormat::I8 => i8, [INFO] [stdout] 425 | | SampleFormat::I16 => i16, [INFO] [stdout] 426 | | SampleFormat::I32 => i32, [INFO] [stdout] 427 | | SampleFormat::F32 => f32 [INFO] [stdout] 428 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `build_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lasprs` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `Aw` [INFO] [stdout] --> src/filter/zpkmodel.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | let Aw = ZPKModel::freqWeightingFilter(crate::FreqWeighting::A); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_Aw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lasprs` (lib test) due to 4 previous errors; 1 warning 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" "2ab196a687ba5ae8b0212f3c06a055fdf8762d39cf8c439c4f577b4a19b9c977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab196a687ba5ae8b0212f3c06a055fdf8762d39cf8c439c4f577b4a19b9c977", kill_on_drop: false }` [INFO] [stdout] 2ab196a687ba5ae8b0212f3c06a055fdf8762d39cf8c439c4f577b4a19b9c977