[INFO] cloning repository https://github.com/hadrien-psydk/fixsrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hadrien-psydk/fixsrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadrien-psydk%2Ffixsrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadrien-psydk%2Ffixsrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 588e3072582be718ffeb1c0e27ab6c5b680949ae [INFO] testing hadrien-psydk/fixsrt against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadrien-psydk%2Ffixsrt" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hadrien-psydk/fixsrt on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hadrien-psydk/fixsrt [INFO] finished tweaking git repo https://github.com/hadrien-psydk/fixsrt [INFO] tweaked toml for git repo https://github.com/hadrien-psydk/fixsrt written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/hadrien-psydk/fixsrt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae75439862ec9b2fe555042db7033f916111fa27b5005f0c271c77c6eef2578 [INFO] running `Command { std: "docker" "start" "-a" "4ae75439862ec9b2fe555042db7033f916111fa27b5005f0c271c77c6eef2578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae75439862ec9b2fe555042db7033f916111fa27b5005f0c271c77c6eef2578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae75439862ec9b2fe555042db7033f916111fa27b5005f0c271c77c6eef2578", kill_on_drop: false }` [INFO] [stdout] 4ae75439862ec9b2fe555042db7033f916111fa27b5005f0c271c77c6eef2578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b64fa17f8696735c1bb11db1cb70d17d65b539825316a5b5d16a440c783ace [INFO] running `Command { std: "docker" "start" "-a" "a8b64fa17f8696735c1bb11db1cb70d17d65b539825316a5b5d16a440c783ace", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling fixsrt v16.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/srt.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let line = line_ori.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.43s [INFO] running `Command { std: "docker" "inspect" "a8b64fa17f8696735c1bb11db1cb70d17d65b539825316a5b5d16a440c783ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b64fa17f8696735c1bb11db1cb70d17d65b539825316a5b5d16a440c783ace", kill_on_drop: false }` [INFO] [stdout] a8b64fa17f8696735c1bb11db1cb70d17d65b539825316a5b5d16a440c783ace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5622523f64f9d0f243e9056e715e3aea39ec454c64f720beb80d211fe3b659 [INFO] running `Command { std: "docker" "start" "-a" "dc5622523f64f9d0f243e9056e715e3aea39ec454c64f720beb80d211fe3b659", kill_on_drop: false }` [INFO] [stderr] Compiling fixsrt v16.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/srt.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let line = line_ori.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [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/srt.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 198 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 216 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 233 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 252 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 274 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 296 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/srt.rs:660:28 [INFO] [stdout] | [INFO] [stdout] 660 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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] 660 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "dc5622523f64f9d0f243e9056e715e3aea39ec454c64f720beb80d211fe3b659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5622523f64f9d0f243e9056e715e3aea39ec454c64f720beb80d211fe3b659", kill_on_drop: false }` [INFO] [stdout] dc5622523f64f9d0f243e9056e715e3aea39ec454c64f720beb80d211fe3b659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0dec56a1d41999000c0cf261f4375f952c2e3c7131af8de67873b6afc951cc17 [INFO] running `Command { std: "docker" "start" "-a" "0dec56a1d41999000c0cf261f4375f952c2e3c7131af8de67873b6afc951cc17", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] running 6 tests [INFO] [stderr] --> src/srt.rs:71:23 [INFO] [stderr] | [INFO] [stderr] 71 | let line = line_ori.trim_right(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 198 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:216:29 [INFO] [stderr] | [INFO] [stderr] 216 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 216 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:233:29 [INFO] [stderr] | [INFO] [stderr] 233 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 233 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:252:29 [INFO] [stderr] | [INFO] [stderr] 252 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 252 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:274:29 [INFO] [stderr] | [INFO] [stderr] 274 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 274 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:296:29 [INFO] [stderr] | [INFO] [stderr] 296 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 296 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/srt.rs:660:28 [INFO] [stderr] | [INFO] [stderr] 660 | assert!(subs_res.is_ok(), format!("{}", subs_res.err().unwrap()) ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 660 | assert!(subs_res.is_ok(), "{}", subs_res.err().unwrap() ); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `fixsrt` (bin "fixsrt" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fixsrt-a7450c7a330692aa) [INFO] [stdout] test srt::test_decode_windows_1252 ... ok [INFO] [stdout] test srt::test_parse_srt ... ok [INFO] [stdout] test srt::test_format_srt_time_from_milli ... ok [INFO] [stdout] test srt::test_should_keep_last_sub ... ok [INFO] [stdout] test srt::test_parse_srt_time ... ok [INFO] [stdout] test txt_rep::test_replace_one_fr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0dec56a1d41999000c0cf261f4375f952c2e3c7131af8de67873b6afc951cc17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dec56a1d41999000c0cf261f4375f952c2e3c7131af8de67873b6afc951cc17", kill_on_drop: false }` [INFO] [stdout] 0dec56a1d41999000c0cf261f4375f952c2e3c7131af8de67873b6afc951cc17