[INFO] fetching crate velodyne-lidar 0.2.0... [INFO] checking velodyne-lidar-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate velodyne-lidar 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate velodyne-lidar 0.2.0 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 velodyne-lidar 0.2.0 [INFO] finished tweaking crates.io crate velodyne-lidar 0.2.0 [INFO] tweaked toml for crates.io crate velodyne-lidar 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.5) [INFO] [stderr] Adding nmea v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding pcap v1.3.0 (available: v2.2.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.36.1 (available: v0.59.0) [INFO] [stderr] Adding windows_aarch64_msvc v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.36.1 (available: v0.52.6) [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] [stderr] Blocking waiting for file lock on package cache [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] 1858faceaca468cc5a80bf3153eeb105671e6de55e6dc3fa129fe6e5ff4ea504 [INFO] running `Command { std: "docker" "start" "-a" "1858faceaca468cc5a80bf3153eeb105671e6de55e6dc3fa129fe6e5ff4ea504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1858faceaca468cc5a80bf3153eeb105671e6de55e6dc3fa129fe6e5ff4ea504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1858faceaca468cc5a80bf3153eeb105671e6de55e6dc3fa129fe6e5ff4ea504", kill_on_drop: false }` [INFO] [stdout] 1858faceaca468cc5a80bf3153eeb105671e6de55e6dc3fa129fe6e5ff4ea504 [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] 0a7c5711251fc6dd9375dcc2bf4f9958a6b2ef114b9a14984ddec31a480a240f [INFO] running `Command { std: "docker" "start" "-a" "0a7c5711251fc6dd9375dcc2bf4f9958a6b2ef114b9a14984ddec31a480a240f", 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 (3 fixes) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking measurements v0.11.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking velodyne-lidar v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused imports: `Error` and `format_err` [INFO] [stdout] --> src/common.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | pub use anyhow::{bail, ensure, format_err, Error, Result}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `velodyne_lidar` [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/common.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `noisy_float::types::R64` [INFO] [stdout] --> src/common.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use noisy_float::types::R64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/packet/data.rs [INFO] [stderr] * src/types/firing_xyz.rs [INFO] [stderr] * src/types/frame_raw.rs [INFO] [stderr] * src/types/frame_xyz.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/types/firing_xyz.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | ($name:ident, $size:expr_2021, $point:path) => { [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/types/frame_raw.rs:99:34 [INFO] [stderr] | [INFO] [stderr] 99 | ($name:ident, $firing:ident, $nrows: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/frame_raw.rs:145:34 [INFO] [stderr] | [INFO] [stderr] 145 | ($name:ident, $firing:ident, $nrows: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/frame_xyz.rs:108:38 [INFO] [stderr] | [INFO] [stderr] 108 | ($name:ident, $firing:ident, $nrows:expr_2021, $point:ident) => { [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: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/packet/data.rs:143:24 [INFO] [stderr] | [INFO] [stderr] 143 | NaiveDateTime::from_timestamp_opt(secs as i64, nsecs as u32).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: unused imports: `BufReader`, `Cow`, `Formatter`, `Ipv4Addr`, `LineWriter`, `Lines`, `MaybeUninit`, `TcpStream`, `cmp::Ordering`, `fs::File`, `marker::PhantomData`, `path::Path`, and `self` [INFO] [stdout] --> src/common.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | borrow::{Borrow, Cow}, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | cmp::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | io::{prelude::*, BufReader, LineWriter, Lines}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 14 | iter, [INFO] [stdout] 15 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | mem::{self, MaybeUninit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | net::{Ipv4Addr, TcpStream, ToSocketAddrs}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 18 | ops::Range, [INFO] [stdout] 19 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/firing_xyz.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | ($name:ident, $size:expr, $point:path) => { [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] 12 | ($name:ident, $size:expr_2021, $point:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/frame_raw.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | ($name:ident, $firing:ident, $nrows: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($name:ident, $firing:ident, $nrows:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/frame_raw.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | ($name:ident, $firing:ident, $nrows: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 145 | ($name:ident, $firing:ident, $nrows:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/frame_xyz.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | ($name:ident, $firing:ident, $nrows:expr, $point:ident) => { [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] 108 | ($name:ident, $firing:ident, $nrows:expr_2021, $point:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/packet/data.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | NaiveDateTime::from_timestamp_opt(secs as i64, nsecs as u32).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/batcher.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | Some(if let Some(firing) = iter.next() { [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/batcher.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | } 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] 71 ~ Some(match iter.next() { Some(firing) => { [INFO] [stdout] 72 | conv.push_one(firing) [INFO] [stdout] 73 ~ } _ => { [INFO] [stdout] 74 | let output = conv.take(); [INFO] [stdout] 75 | *state = None; [INFO] [stdout] 76 | output [INFO] [stdout] 77 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/packet/generic.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(if let Ok(packet) = DataPacket::from_slice(buffer) { [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] 14 | (*packet).into() [INFO] [stdout] 15 | } else if let Ok(packet) = PositionPacket::from_slice(buffer) { [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/packet/generic.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | } else if let Ok(packet) = PositionPacket::from_slice(buffer) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/packet/generic.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | } 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] 13 ~ Ok(match DataPacket::from_slice(buffer) { Ok(packet) => { [INFO] [stdout] 14 | (*packet).into() [INFO] [stdout] 15 ~ } _ => { match PositionPacket::from_slice(buffer) { Ok(packet) => { [INFO] [stdout] 16 | (*packet).into() [INFO] [stdout] 17 ~ } _ => { [INFO] [stdout] 18 | bail!("unable to parse bytes into a data or a positoin packet"); [INFO] [stdout] 19 ~ }}}}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/packet/generic.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Self::Data(v) = self { [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/packet/generic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } 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] 23 ~ match self { Self::Data(v) => { [INFO] [stdout] 24 | Ok(*v) [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | Err(self) [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/packet/generic.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Self::Position(v) = self { [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/packet/generic.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } 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] 31 ~ match self { Self::Position(v) => { [INFO] [stdout] 32 | Ok(*v) [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | Err(self) [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/types/frame_raw.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | ($name:ident, $firing:ident, $nrows:expr_2021) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/types/frame_raw.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | ($name:ident, $firing:ident, $nrows:expr_2021) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/types/frame_xyz.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | ($name:ident, $firing:ident, $nrows:expr_2021, $point:ident) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `Serialize`, and `Serializer` [INFO] [stdout] --> src/common.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `borrow::Borrow`, `net::ToSocketAddrs`, and `str::FromStr` [INFO] [stdout] --> src/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fmt::{Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | net::ToSocketAddrs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ops::Range, [INFO] [stdout] 14 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/firing_xyz.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | ($name:ident, $size:expr, $point:path) => { [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] 12 | ($name:ident, $size:expr_2021, $point:path) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/packet/data.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | NaiveDateTime::from_timestamp_opt(secs as i64, nsecs as u32).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `velodyne-lidar` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0a7c5711251fc6dd9375dcc2bf4f9958a6b2ef114b9a14984ddec31a480a240f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7c5711251fc6dd9375dcc2bf4f9958a6b2ef114b9a14984ddec31a480a240f", kill_on_drop: false }` [INFO] [stdout] 0a7c5711251fc6dd9375dcc2bf4f9958a6b2ef114b9a14984ddec31a480a240f