[INFO] updating cached repository https://github.com/Object905/rust_srt [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 635366837df69939fb4a1ffc144d24ff9c0da13e [INFO] checking Object905/rust_srt against master#c9edc02e8320a9e5799d185910ece7d491f524e6 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Object905/rust_srt on toolchain c9edc02e8320a9e5799d185910ece7d491f524e6-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Object905/rust_srt already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 65c20435f5be55e4d9fc783e82d2562566f1112988addf3e9043dc4df735ccdd [INFO] running `"docker" "start" "-a" "65c20435f5be55e4d9fc783e82d2562566f1112988addf3e9043dc4df735ccdd"` [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking regex-syntax v0.3.4 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.6 [INFO] [stderr] Checking aho-corasick v0.5.2 [INFO] [stderr] Checking regex v0.1.73 [INFO] [stderr] Checking srt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | let mut file = try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | try!(file.read_to_string(&mut content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | let mut file = try!(File::create(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:298:13 [INFO] [stderr] | [INFO] [stderr] 298 | try!(write!(f, "{}", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | let mut file = try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | try!(file.read_to_string(&mut content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | let mut content = try!(utils::read_file(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | Ok(try!(Subtitles::from_str(&content))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | let mut file = try!(File::create(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | try!(write!(&mut file, "{}", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | try!(write!(&mut file, "\r\n\r\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/subtitles.rs:298:13 [INFO] [stderr] | [INFO] [stderr] 298 | try!(write!(f, "{}", line)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | pub static ref SUBS: Regex = Regex::new(r"(?x) [INFO] [stderr] 25 | | (\d+) [INFO] [stderr] 26 | | \r\n [INFO] [stderr] ... | [INFO] [stderr] 35 | | static ref UNIFY_NEWLINE_STYLE: Regex = Regex::new(r"(?:\r\n|\n)").unwrap(); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/subtitles.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | / lazy_static! { [INFO] [stderr] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stderr] 324 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/subtitles.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | / lazy_static! { [INFO] [stderr] 323 | | static ref SUBS: Subtitles = Subtitles::from_file(PATH).unwrap(); [INFO] [stderr] 324 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/subtitles.rs:398:35 [INFO] [stderr] | [INFO] [stderr] 398 | line.text = line.text.trim_right_matches(" lol").to_owned(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.17s [INFO] running `"docker" "inspect" "65c20435f5be55e4d9fc783e82d2562566f1112988addf3e9043dc4df735ccdd"` [INFO] running `"docker" "rm" "-f" "65c20435f5be55e4d9fc783e82d2562566f1112988addf3e9043dc4df735ccdd"` [INFO] [stdout] 65c20435f5be55e4d9fc783e82d2562566f1112988addf3e9043dc4df735ccdd