[INFO] fetching crate rave_rtp 0.1.1... [INFO] checking rave_rtp-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rave_rtp 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rave_rtp 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rave_rtp 0.1.1 [INFO] finished tweaking crates.io crate rave_rtp 0.1.1 [INFO] tweaked toml for crates.io crate rave_rtp 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f330a1b41140586abc88cd59e81678c605990207be142fd95ded051c220ac8e [INFO] running `Command { std: "docker" "start" "-a" "9f330a1b41140586abc88cd59e81678c605990207be142fd95ded051c220ac8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f330a1b41140586abc88cd59e81678c605990207be142fd95ded051c220ac8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f330a1b41140586abc88cd59e81678c605990207be142fd95ded051c220ac8e", kill_on_drop: false }` [INFO] [stdout] 9f330a1b41140586abc88cd59e81678c605990207be142fd95ded051c220ac8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2ad2edfd107cbf46f6a9a79a2251d92dad9f492ac6f35091e6a2adb89ab9f6 [INFO] running `Command { std: "docker" "start" "-a" "7b2ad2edfd107cbf46f6a9a79a2251d92dad9f492ac6f35091e6a2adb89ab9f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rave_rtp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | H264PacketizationModeUnsupported { mode: H264PacketizationMode }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | H264NalUnitDataLengthInvalid { len: usize }, [INFO] [stdout] 17 | H264NalUnitLengthTooSmall { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | H264DepacketizationNalUnitTypeUnknown { nal_unit_type: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | H264DepacketizationNalUnitTypeUnsupported { nal_unit_type_name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | H264AggregationUnitHeaderInvalid { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | H264AggregationUnitDataTooSmall { have: usize, need: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | H264FragmentationUnitHeaderInvalid { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | H264FragmentedStateAlreadyStarted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | H264FragmentedStateNeverStarted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_padding` is never used [INFO] [stdout] --> src/packet.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Packet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn with_padding(mut self, padding_divisor: u8) -> PacketPadded { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_packetization_parameters` are never used [INFO] [stdout] --> src/packetization/common.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Packetizer { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | pub fn new(payload_type: u8, ssrc: u32, csrc: Vec, mtu: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_packetization_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `H264Packetizer` is never constructed [INFO] [stdout] --> src/packetization/h264.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct H264Packetizer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_packetization_mode` and `packetize` are never used [INFO] [stdout] --> src/packetization/h264.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl H264Packetizer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_packetization_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn packetize(&mut self, data: Vec, timestamp: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `packetize` is never used [INFO] [stdout] --> src/packetization/h264.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait H264Packetize { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn packetize(&mut self, data: Vec, timestamp: u32) -> Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packetization/h264.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl H264PacketizerMode0 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn new(params: PacketizationParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packetization/h264.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl H264PacketizerMode1 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn new(params: PacketizationParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `H264Depacketizer` is never constructed [INFO] [stdout] --> src/packetization/h264.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct H264Depacketizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `H264Depacketizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `depacketize` are never used [INFO] [stdout] --> src/packetization/h264.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 360 | impl H264Depacketizer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | pub fn depacketize(&mut self, packet: &Packet) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | let payload = src.copy_to_bytes(payload_len); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | Ok(Packet::new(header, payload)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packetization/h264.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn packetize(&mut self, data: Vec, timestamp: u32) -> Result> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let num_packets = data.len(); [INFO] [stdout] 139 | / data.into_iter() [INFO] [stdout] 140 | | .enumerate() [INFO] [stdout] 141 | | .map(|(i, nal_unit)| { [INFO] [stdout] 142 | | // Since the caller must call this function exactly once per access unit, we can [INFO] [stdout] ... | [INFO] [stdout] 146 | | .packetize(nal_unit, timestamp, is_last_packet_in_access_unit) [INFO] [stdout] 147 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packetization/h264.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 252 | fn payload_stap_a(nal_units: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let mut payload = BytesMut::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(payload.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rave_rtp` (lib) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | H264PacketizationModeUnsupported { mode: H264PacketizationMode }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | H264NalUnitDataLengthInvalid { len: usize }, [INFO] [stdout] 17 | H264NalUnitLengthTooSmall { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | H264DepacketizationNalUnitTypeUnknown { nal_unit_type: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | H264DepacketizationNalUnitTypeUnsupported { nal_unit_type_name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | H264AggregationUnitHeaderInvalid { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | H264AggregationUnitDataTooSmall { have: usize, need: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | H264FragmentationUnitHeaderInvalid { len: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | H264FragmentedStateAlreadyStarted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | H264FragmentedStateNeverStarted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_padding` is never used [INFO] [stdout] --> src/packet.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Packet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn with_padding(mut self, padding_divisor: u8) -> PacketPadded { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_packetization_parameters` are never used [INFO] [stdout] --> src/packetization/common.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Packetizer { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | pub fn new(payload_type: u8, ssrc: u32, csrc: Vec, mtu: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_packetization_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `H264Packetizer` is never constructed [INFO] [stdout] --> src/packetization/h264.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct H264Packetizer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_packetization_mode` and `packetize` are never used [INFO] [stdout] --> src/packetization/h264.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl H264Packetizer { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_packetization_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn packetize(&mut self, data: Vec, timestamp: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `packetize` is never used [INFO] [stdout] --> src/packetization/h264.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait H264Packetize { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 92 | fn packetize(&mut self, data: Vec, timestamp: u32) -> Result>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packetization/h264.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl H264PacketizerMode0 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn new(params: PacketizationParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/packetization/h264.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl H264PacketizerMode1 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn new(params: PacketizationParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `H264Depacketizer` is never constructed [INFO] [stdout] --> src/packetization/h264.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct H264Depacketizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `H264Depacketizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `depacketize` are never used [INFO] [stdout] --> src/packetization/h264.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 360 | impl H264Depacketizer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | pub fn depacketize(&mut self, packet: &Packet) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | let payload = src.copy_to_bytes(payload_len); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | [INFO] [stdout] 30 | Ok(Packet::new(header, payload)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packetization/h264.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | fn packetize(&mut self, data: Vec, timestamp: u32) -> Result> { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let num_packets = data.len(); [INFO] [stdout] 139 | / data.into_iter() [INFO] [stdout] 140 | | .enumerate() [INFO] [stdout] 141 | | .map(|(i, nal_unit)| { [INFO] [stdout] 142 | | // Since the caller must call this function exactly once per access unit, we can [INFO] [stdout] ... | [INFO] [stdout] 146 | | .packetize(nal_unit, timestamp, is_last_packet_in_access_unit) [INFO] [stdout] 147 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packetization/h264.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 252 | fn payload_stap_a(nal_units: Vec) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let mut payload = BytesMut::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(payload.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rave_rtp` (lib test) due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7b2ad2edfd107cbf46f6a9a79a2251d92dad9f492ac6f35091e6a2adb89ab9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2ad2edfd107cbf46f6a9a79a2251d92dad9f492ac6f35091e6a2adb89ab9f6", kill_on_drop: false }` [INFO] [stdout] 7b2ad2edfd107cbf46f6a9a79a2251d92dad9f492ac6f35091e6a2adb89ab9f6