[INFO] fetching crate iostream 0.1.3... [INFO] checking iostream-0.1.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate iostream 0.1.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate iostream 0.1.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a20084638777b377cb2bd5b90df2f28081760eeb5872336997ba45224740f2 [INFO] running `Command { std: "docker" "start" "-a" "76a20084638777b377cb2bd5b90df2f28081760eeb5872336997ba45224740f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a20084638777b377cb2bd5b90df2f28081760eeb5872336997ba45224740f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a20084638777b377cb2bd5b90df2f28081760eeb5872336997ba45224740f2", kill_on_drop: false }` [INFO] [stdout] 76a20084638777b377cb2bd5b90df2f28081760eeb5872336997ba45224740f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d5daf1208364ab448c1dc445a73fef7014d931dfcece4e2f176dfdcda945f85 [INFO] running `Command { std: "docker" "start" "-a" "7d5daf1208364ab448c1dc445a73fef7014d931dfcece4e2f176dfdcda945f85", kill_on_drop: false }` [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^^ help: use `dyn`: `dyn Stream` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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] 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: `#[warn(non_fmt_panics)]` on by default [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] 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] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | panic!(format!("{}", i)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] 15 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(format!("{}", i)) [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] 21 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | panic!(format!("{}", i)) [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] 27 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("{}", i)) [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] 33 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | panic!(format!("{}", i)) [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] 46 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(format!("{}", i)) [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] 57 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(format!("{}", i)) [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] 68 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | panic!(format!("{}", i)) [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] 72 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(format!("{}", i)) [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] 78 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(format!("{}", i)) [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] 84 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(format!("{}", i)) [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] 89 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | panic!(format!("{}", i)) [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] 93 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | panic!(format!("{}", i)) [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] 104 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | panic!(format!("{}", i)) [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] 113 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | panic!(format!("{}", i)) [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] 119 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | panic!(format!("{}", i)) [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] 125 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!("{}", i)) [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] 138 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | panic!(format!("{}", i)) [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!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | panic!(format!("{}", i)) [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] 155 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | panic!(format!("{}", i)) [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] 162 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | panic!(format!("{}", i)) [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] 169 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | panic!(format!("{}", i)) [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] 182 | panic!("{}", i) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/filetest/test_new_filestream.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | panic!(errmsg); [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 192 | panic!("{}", errmsg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 192 | std::panic::panic_any(errmsg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "7d5daf1208364ab448c1dc445a73fef7014d931dfcece4e2f176dfdcda945f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d5daf1208364ab448c1dc445a73fef7014d931dfcece4e2f176dfdcda945f85", kill_on_drop: false }` [INFO] [stdout] 7d5daf1208364ab448c1dc445a73fef7014d931dfcece4e2f176dfdcda945f85