[INFO] fetching crate iostream 0.1.3... [INFO] checking iostream-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate iostream 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate iostream 0.1.3 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 iostream 0.1.3 [INFO] finished tweaking crates.io crate iostream 0.1.3 [INFO] tweaked toml for crates.io crate iostream 0.1.3 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e3bd040d0af8380279c62379dbf52d103bbb58cf01ed9d76a9e51773ac421a7 [INFO] running `Command { std: "docker" "start" "-a" "5e3bd040d0af8380279c62379dbf52d103bbb58cf01ed9d76a9e51773ac421a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e3bd040d0af8380279c62379dbf52d103bbb58cf01ed9d76a9e51773ac421a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3bd040d0af8380279c62379dbf52d103bbb58cf01ed9d76a9e51773ac421a7", kill_on_drop: false }` [INFO] [stdout] 5e3bd040d0af8380279c62379dbf52d103bbb58cf01ed9d76a9e51773ac421a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 367beb8c854057c8ce02c65c60e4cd3d066a8083dbd5f3c58ee9d5b892ccb1fc [INFO] running `Command { std: "docker" "start" "-a" "367beb8c854057c8ce02c65c60e4cd3d066a8083dbd5f3c58ee9d5b892ccb1fc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking iostream v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub base_stream: &'a mut Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub base_stream: &'a mut dyn Stream, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub base_stream: &'a mut Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub base_stream: &'a mut dyn Stream, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub base_stream: &'a mut Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub base_stream: &'a mut dyn Stream, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub base_stream: &'a mut Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub base_stream: &'a mut dyn Stream, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/mod.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | fn copy_to(&mut self, target: &mut Stream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn copy_to(&mut self, target: &mut dyn Stream) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/mod.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | fn copy_to(&mut self, target: &mut Stream) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn copy_to(&mut self, target: &mut dyn Stream) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/stream_rw/stream_writer.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut Stream) -> Result, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_big_endian(stream: &'a mut dyn Stream) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | self.err_type.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | self.err_type.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/io/file/mod.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 109 | let mut _res; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let mut _file: File; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 309 | Ok(FileStream { [INFO] [stdout] | ____________^ [INFO] [stdout] 310 | | file: _file, [INFO] [stdout] 311 | | position: _position, [INFO] [stdout] 312 | | length: _length, [INFO] [stdout] 313 | | can_write: _can_write, [INFO] [stdout] 314 | | can_read: _can_read, [INFO] [stdout] 315 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | "read length error for i16,need length 2,read length {}", [INFO] [stdout] 100 | | r [INFO] [stdout] 101 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 ~ panic!( [INFO] [stdout] 99 | "read length error for i16,need length 2,read length {}", [INFO] [stdout] 100 | r [INFO] [stdout] 101 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 121 | | "read length error for u16,need length 2,read length {}", [INFO] [stdout] 122 | | r [INFO] [stdout] 123 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 ~ panic!( [INFO] [stdout] 121 | "read length error for u16,need length 2,read length {}", [INFO] [stdout] 122 | r [INFO] [stdout] 123 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 146 | | "read length error for u32,need length 4,read length {}", [INFO] [stdout] 147 | | r [INFO] [stdout] 148 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 145 ~ panic!( [INFO] [stdout] 146 | "read length error for u32,need length 4,read length {}", [INFO] [stdout] 147 | r [INFO] [stdout] 148 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 171 | | "read length error for i32,need length 4,read length {}", [INFO] [stdout] 172 | | r [INFO] [stdout] 173 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 170 ~ panic!( [INFO] [stdout] 171 | "read length error for i32,need length 4,read length {}", [INFO] [stdout] 172 | r [INFO] [stdout] 173 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 196 | | "read length error for i64,need length 8,read length {}", [INFO] [stdout] 197 | | r [INFO] [stdout] 198 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 195 ~ panic!( [INFO] [stdout] 196 | "read length error for i64,need length 8,read length {}", [INFO] [stdout] 197 | r [INFO] [stdout] 198 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | "read length error for u64,need length 8,read length {}", [INFO] [stdout] 222 | | r [INFO] [stdout] 223 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 220 ~ panic!( [INFO] [stdout] 221 | "read length error for u64,need length 8,read length {}", [INFO] [stdout] 222 | r [INFO] [stdout] 223 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 241 | | "read length error for f32,need length 4,read length {}", [INFO] [stdout] 242 | | r [INFO] [stdout] 243 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 240 ~ panic!( [INFO] [stdout] 241 | "read length error for f32,need length 4,read length {}", [INFO] [stdout] 242 | r [INFO] [stdout] 243 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 261 | | "read length error for f64,need length 8,read length {}", [INFO] [stdout] 262 | | r [INFO] [stdout] 263 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 260 ~ panic!( [INFO] [stdout] 261 | "read length error for f64,need length 8,read length {}", [INFO] [stdout] 262 | r [INFO] [stdout] 263 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iostream` (lib) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/io/file/mod.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 109 | let mut _res; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let mut _file: File; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 309 | Ok(FileStream { [INFO] [stdout] | ____________^ [INFO] [stdout] 310 | | file: _file, [INFO] [stdout] 311 | | position: _position, [INFO] [stdout] 312 | | length: _length, [INFO] [stdout] 313 | | can_write: _can_write, [INFO] [stdout] 314 | | can_read: _can_read, [INFO] [stdout] 315 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | "read length error for i16,need length 2,read length {}", [INFO] [stdout] 100 | | r [INFO] [stdout] 101 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 98 ~ panic!( [INFO] [stdout] 99 | "read length error for i16,need length 2,read length {}", [INFO] [stdout] 100 | r [INFO] [stdout] 101 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 121 | | "read length error for u16,need length 2,read length {}", [INFO] [stdout] 122 | | r [INFO] [stdout] 123 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 ~ panic!( [INFO] [stdout] 121 | "read length error for u16,need length 2,read length {}", [INFO] [stdout] 122 | r [INFO] [stdout] 123 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 146 | | "read length error for u32,need length 4,read length {}", [INFO] [stdout] 147 | | r [INFO] [stdout] 148 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 145 ~ panic!( [INFO] [stdout] 146 | "read length error for u32,need length 4,read length {}", [INFO] [stdout] 147 | r [INFO] [stdout] 148 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 171 | | "read length error for i32,need length 4,read length {}", [INFO] [stdout] 172 | | r [INFO] [stdout] 173 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 170 ~ panic!( [INFO] [stdout] 171 | "read length error for i32,need length 4,read length {}", [INFO] [stdout] 172 | r [INFO] [stdout] 173 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 196 | | "read length error for i64,need length 8,read length {}", [INFO] [stdout] 197 | | r [INFO] [stdout] 198 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 195 ~ panic!( [INFO] [stdout] 196 | "read length error for i64,need length 8,read length {}", [INFO] [stdout] 197 | r [INFO] [stdout] 198 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | "read length error for u64,need length 8,read length {}", [INFO] [stdout] 222 | | r [INFO] [stdout] 223 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 220 ~ panic!( [INFO] [stdout] 221 | "read length error for u64,need length 8,read length {}", [INFO] [stdout] 222 | r [INFO] [stdout] 223 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 241 | | "read length error for f32,need length 4,read length {}", [INFO] [stdout] 242 | | r [INFO] [stdout] 243 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 240 ~ panic!( [INFO] [stdout] 241 | "read length error for f32,need length 4,read length {}", [INFO] [stdout] 242 | r [INFO] [stdout] 243 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/io/stream_rw/stream_reader.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 261 | | "read length error for f64,need length 8,read length {}", [INFO] [stdout] 262 | | r [INFO] [stdout] 263 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 260 ~ panic!( [INFO] [stdout] 261 | "read length error for f64,need length 8,read length {}", [INFO] [stdout] 262 | r [INFO] [stdout] 263 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iostream` (lib test) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "367beb8c854057c8ce02c65c60e4cd3d066a8083dbd5f3c58ee9d5b892ccb1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367beb8c854057c8ce02c65c60e4cd3d066a8083dbd5f3c58ee9d5b892ccb1fc", kill_on_drop: false }` [INFO] [stdout] 367beb8c854057c8ce02c65c60e4cd3d066a8083dbd5f3c58ee9d5b892ccb1fc