[INFO] cloning repository https://github.com/Object905/rust_srt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Object905/rust_srt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 635366837df69939fb4a1ffc144d24ff9c0da13e [INFO] checking Object905/rust_srt against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Object905/rust_srt on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Object905/rust_srt [INFO] finished tweaking git repo https://github.com/Object905/rust_srt [INFO] tweaked toml for git repo https://github.com/Object905/rust_srt written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Object905/rust_srt 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.3.4 [INFO] [stderr] Downloaded regex v0.1.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 085f1aef50b46f1bce881e20917c0f3a189785ba7c9cd854355dfa569ab2c663 [INFO] running `Command { std: "docker" "start" "-a" "085f1aef50b46f1bce881e20917c0f3a189785ba7c9cd854355dfa569ab2c663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "085f1aef50b46f1bce881e20917c0f3a189785ba7c9cd854355dfa569ab2c663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085f1aef50b46f1bce881e20917c0f3a189785ba7c9cd854355dfa569ab2c663", kill_on_drop: false }` [INFO] [stdout] 085f1aef50b46f1bce881e20917c0f3a189785ba7c9cd854355dfa569ab2c663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 198c42b5fa86e7b7ef572602b97f94e3a85bf0274c0a10a736063f739a9c39d5 [INFO] running `Command { std: "docker" "start" "-a" "198c42b5fa86e7b7ef572602b97f94e3a85bf0274c0a10a736063f739a9c39d5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.4 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.6 [INFO] [stderr] Checking regex v0.1.73 [INFO] [stderr] Checking srt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(file.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(file.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/subline.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 62 | use timestamp::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubLine` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `SubLine` is already imported here [INFO] [stdout] 315 | use subline::SubLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 315 | use subline::SubLine; [INFO] [stdout] 316 | use timestamp::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `utils` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `utils` is already imported here [INFO] [stdout] ... [INFO] [stdout] 317 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 318 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/subtitles.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / lazy_static! { [INFO] [stdout] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stdout] 324 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/subtitles.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / lazy_static! { [INFO] [stdout] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stdout] 324 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/subtitles.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | line.text = line.text.trim_right_matches(" lol").to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 398 | line.text = line.text.trim_end_matches(" lol").to_owned(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "198c42b5fa86e7b7ef572602b97f94e3a85bf0274c0a10a736063f739a9c39d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198c42b5fa86e7b7ef572602b97f94e3a85bf0274c0a10a736063f739a9c39d5", kill_on_drop: false }` [INFO] [stdout] 198c42b5fa86e7b7ef572602b97f94e3a85bf0274c0a10a736063f739a9c39d5 [INFO] checking Object905/rust_srt against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Object905/rust_srt on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Object905/rust_srt [INFO] finished tweaking git repo https://github.com/Object905/rust_srt [INFO] tweaked toml for git repo https://github.com/Object905/rust_srt written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Object905/rust_srt 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e31312ce3d86dacda4192173ecb56a7cbed08c0a2cb648e0179f92d6665c59c1 [INFO] running `Command { std: "docker" "start" "-a" "e31312ce3d86dacda4192173ecb56a7cbed08c0a2cb648e0179f92d6665c59c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e31312ce3d86dacda4192173ecb56a7cbed08c0a2cb648e0179f92d6665c59c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31312ce3d86dacda4192173ecb56a7cbed08c0a2cb648e0179f92d6665c59c1", kill_on_drop: false }` [INFO] [stdout] e31312ce3d86dacda4192173ecb56a7cbed08c0a2cb648e0179f92d6665c59c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aafbb895f39f360852c7bee7718db4875e4b5a7990eb8aeff1edee06c0b69cd [INFO] running `Command { std: "docker" "start" "-a" "8aafbb895f39f360852c7bee7718db4875e4b5a7990eb8aeff1edee06c0b69cd", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.4 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.6 [INFO] [stderr] Checking regex v0.1.73 [INFO] [stderr] Checking srt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(file.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(file.read_to_string(&mut content)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utils.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/subline.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 62 | use timestamp::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/subtitles.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SubLine` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `SubLine` is already imported here [INFO] [stdout] 315 | use subline::SubLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 315 | use subline::SubLine; [INFO] [stdout] 316 | use timestamp::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `utils` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `utils` is already imported here [INFO] [stdout] ... [INFO] [stdout] 317 | use utils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/subtitles.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 314 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 318 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/utils.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stdout] 25 | | (\d+) [INFO] [stdout] 26 | | \r\n [INFO] [stdout] ... | [INFO] [stdout] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/subtitles.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / lazy_static! { [INFO] [stdout] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stdout] 324 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/subtitles.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / lazy_static! { [INFO] [stdout] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stdout] 324 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/subtitles.rs:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | line.text = line.text.trim_right_matches(" lol").to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 398 | line.text = line.text.trim_end_matches(" lol").to_owned(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "8aafbb895f39f360852c7bee7718db4875e4b5a7990eb8aeff1edee06c0b69cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aafbb895f39f360852c7bee7718db4875e4b5a7990eb8aeff1edee06c0b69cd", kill_on_drop: false }` [INFO] [stdout] 8aafbb895f39f360852c7bee7718db4875e4b5a7990eb8aeff1edee06c0b69cd