[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadrien-psydk%2Ffixsrt" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hadrien-psydk/fixsrt on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/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" "+beta-2022-04-10" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78c47d6a7a95e8c0c0404b6ad933b00d10640f9caee722a59b23668c7df0b247 [INFO] running `Command { std: "docker" "start" "-a" "78c47d6a7a95e8c0c0404b6ad933b00d10640f9caee722a59b23668c7df0b247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78c47d6a7a95e8c0c0404b6ad933b00d10640f9caee722a59b23668c7df0b247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c47d6a7a95e8c0c0404b6ad933b00d10640f9caee722a59b23668c7df0b247", kill_on_drop: false }` [INFO] [stdout] 78c47d6a7a95e8c0c0404b6ad933b00d10640f9caee722a59b23668c7df0b247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b2eb4361e0b21ed058de2b64388edaebcdf6a882d43c8990854c016576633b7 [INFO] running `Command { std: "docker" "start" "-a" "8b2eb4361e0b21ed058de2b64388edaebcdf6a882d43c8990854c016576633b7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling textwrap v0.9.0 [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 4.79s [INFO] running `Command { std: "docker" "inspect" "8b2eb4361e0b21ed058de2b64388edaebcdf6a882d43c8990854c016576633b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2eb4361e0b21ed058de2b64388edaebcdf6a882d43c8990854c016576633b7", kill_on_drop: false }` [INFO] [stdout] 8b2eb4361e0b21ed058de2b64388edaebcdf6a882d43c8990854c016576633b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c8457c35e71fc107a0e27751b5131672a3b239335816f8667e194ab32100a0 [INFO] running `Command { std: "docker" "start" "-a" "40c8457c35e71fc107a0e27751b5131672a3b239335816f8667e194ab32100a0", 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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 0.96s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/fixsrt-3ac125771b54ee4e) [INFO] running `Command { std: "docker" "inspect" "40c8457c35e71fc107a0e27751b5131672a3b239335816f8667e194ab32100a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c8457c35e71fc107a0e27751b5131672a3b239335816f8667e194ab32100a0", kill_on_drop: false }` [INFO] [stdout] 40c8457c35e71fc107a0e27751b5131672a3b239335816f8667e194ab32100a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a19ab45b29712dff5bcd80c1a2bbe8494c6525d56faf74898583e695f49219d [INFO] running `Command { std: "docker" "start" "-a" "3a19ab45b29712dff5bcd80c1a2bbe8494c6525d56faf74898583e695f49219d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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 assert!() 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(), format!("{}", subs_res.err().unwrap()) ); [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.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fixsrt-3ac125771b54ee4e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test srt::test_decode_windows_1252 ... ok [INFO] [stdout] test srt::test_format_srt_time_from_milli ... ok [INFO] [stdout] test srt::test_parse_srt_time ... ok [INFO] [stdout] test srt::test_parse_srt ... ok [INFO] [stdout] test srt::test_should_keep_last_sub ... 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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3a19ab45b29712dff5bcd80c1a2bbe8494c6525d56faf74898583e695f49219d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a19ab45b29712dff5bcd80c1a2bbe8494c6525d56faf74898583e695f49219d", kill_on_drop: false }` [INFO] [stdout] 3a19ab45b29712dff5bcd80c1a2bbe8494c6525d56faf74898583e695f49219d