[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 master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhadrien-psydk%2Ffixsrt" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hadrien-psydk/fixsrt on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aa0bcd3b8898818fa6ddf88c197b4271c3e1ae54841fcecfd0ab78ea0db094e [INFO] running `Command { std: "docker" "start" "-a" "1aa0bcd3b8898818fa6ddf88c197b4271c3e1ae54841fcecfd0ab78ea0db094e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aa0bcd3b8898818fa6ddf88c197b4271c3e1ae54841fcecfd0ab78ea0db094e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa0bcd3b8898818fa6ddf88c197b4271c3e1ae54841fcecfd0ab78ea0db094e", kill_on_drop: false }` [INFO] [stdout] 1aa0bcd3b8898818fa6ddf88c197b4271c3e1ae54841fcecfd0ab78ea0db094e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d11a31c2674dd8c314379b9b131dfbd51018edcbf17ca5d2c29577f852a4d4ef [INFO] running `Command { std: "docker" "start" "-a" "d11a31c2674dd8c314379b9b131dfbd51018edcbf17ca5d2c29577f852a4d4ef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.1 [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 method `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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 71 - let line = line_ori.trim_right(); [INFO] [stdout] 71 + let line = line_ori.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.99s [INFO] running `Command { std: "docker" "inspect" "d11a31c2674dd8c314379b9b131dfbd51018edcbf17ca5d2c29577f852a4d4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11a31c2674dd8c314379b9b131dfbd51018edcbf17ca5d2c29577f852a4d4ef", kill_on_drop: false }` [INFO] [stdout] d11a31c2674dd8c314379b9b131dfbd51018edcbf17ca5d2c29577f852a4d4ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef235008ee5f800a8e77c44ce695593e5b0d155ad0cd916f21089fe11704fdb1 [INFO] running `Command { std: "docker" "start" "-a" "ef235008ee5f800a8e77c44ce695593e5b0d155ad0cd916f21089fe11704fdb1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fixsrt v16.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 71 - let line = line_ori.trim_right(); [INFO] [stdout] 71 + let line = line_ori.trim_end(); [INFO] [stdout] | [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "ef235008ee5f800a8e77c44ce695593e5b0d155ad0cd916f21089fe11704fdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef235008ee5f800a8e77c44ce695593e5b0d155ad0cd916f21089fe11704fdb1", kill_on_drop: false }` [INFO] [stdout] ef235008ee5f800a8e77c44ce695593e5b0d155ad0cd916f21089fe11704fdb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c591bd3694658d76a4c341bee41cc5ca9b1035a01bad018424be4a5e7009b36b [INFO] running `Command { std: "docker" "start" "-a" "c591bd3694658d76a4c341bee41cc5ca9b1035a01bad018424be4a5e7009b36b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `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] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 71 - let line = line_ori.trim_right(); [INFO] [stderr] 71 + let line = line_ori.trim_end(); [INFO] [stderr] | [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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 (run `cargo fix --bin "fixsrt" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fixsrt-347e64ef0365f95a) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c591bd3694658d76a4c341bee41cc5ca9b1035a01bad018424be4a5e7009b36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c591bd3694658d76a4c341bee41cc5ca9b1035a01bad018424be4a5e7009b36b", kill_on_drop: false }` [INFO] [stdout] c591bd3694658d76a4c341bee41cc5ca9b1035a01bad018424be4a5e7009b36b