[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] testing Object905/rust_srt against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObject905%2Frust_srt" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Object905/rust_srt on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.15
[INFO] [stderr]   Downloaded lazy_static v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 757e473ac4da2ee1acf752db03dc537525b6667ebed7e9d719cd1b1457c139d7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "757e473ac4da2ee1acf752db03dc537525b6667ebed7e9d719cd1b1457c139d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "757e473ac4da2ee1acf752db03dc537525b6667ebed7e9d719cd1b1457c139d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "757e473ac4da2ee1acf752db03dc537525b6667ebed7e9d719cd1b1457c139d7", kill_on_drop: false }`
[INFO] [stdout] 757e473ac4da2ee1acf752db03dc537525b6667ebed7e9d719cd1b1457c139d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9107ac64cf56ca4137fce2c557f4ee937bc0c02eb938eb7f5cb1ac892b116ca2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9107ac64cf56ca4137fce2c557f4ee937bc0c02eb938eb7f5cb1ac892b116ca2", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling libc v0.2.15
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.3.4
[INFO] [stderr]    Compiling lazy_static v0.2.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling aho-corasick v0.5.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.6
[INFO] [stderr]    Compiling regex v0.1.73
[INFO] [stderr]    Compiling srt v0.1.0 (/opt/rustwide/workdir)
[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]   = 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:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     try!(file.read_to_string(&mut content));
[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: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: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: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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.97s
[INFO] running `Command { std: "docker" "inspect" "9107ac64cf56ca4137fce2c557f4ee937bc0c02eb938eb7f5cb1ac892b116ca2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9107ac64cf56ca4137fce2c557f4ee937bc0c02eb938eb7f5cb1ac892b116ca2", kill_on_drop: false }`
[INFO] [stdout] 9107ac64cf56ca4137fce2c557f4ee937bc0c02eb938eb7f5cb1ac892b116ca2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee95e4c12bdbf749646d93f60bf0da0b448c7dd0d786a88402ec06d665a9ea34
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ee95e4c12bdbf749646d93f60bf0da0b448c7dd0d786a88402ec06d665a9ea34", kill_on_drop: false }`
[INFO] [stderr]    Compiling srt v0.1.0 (/opt/rustwide/workdir)
[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]   = 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:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     try!(file.read_to_string(&mut content));
[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: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: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: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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[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]   = 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:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     try!(file.read_to_string(&mut content));
[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: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: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: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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl 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]     |                                   ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.97s
[INFO] running `Command { std: "docker" "inspect" "ee95e4c12bdbf749646d93f60bf0da0b448c7dd0d786a88402ec06d665a9ea34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee95e4c12bdbf749646d93f60bf0da0b448c7dd0d786a88402ec06d665a9ea34", kill_on_drop: false }`
[INFO] [stdout] ee95e4c12bdbf749646d93f60bf0da0b448c7dd0d786a88402ec06d665a9ea34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 827df2d38121897d214af3cec7681c4fed57129fc89f0be342ad874677d1d8b3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "827df2d38121897d214af3cec7681c4fed57129fc89f0be342ad874677d1d8b3", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: use of deprecated macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: 14 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 macro `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 constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `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 (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl 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 associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: 17 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/srt-78dbe02956a1408d
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test timestamp::timestamp_test::sub ... ok
[INFO] [stdout] test timestamp::timestamp_test::sub_assign ... ok
[INFO] [stdout] test timestamp::timestamp_test::new ... ok
[INFO] [stdout] test timestamp::timestamp_test::from_microseconds ... ok
[INFO] [stdout] test timestamp::timestamp_test::add_assign ... ok
[INFO] [stdout] test timestamp::timestamp_test::add ... ok
[INFO] [stdout] test timestamp::timestamp_test::ord ... ok
[INFO] [stdout] test subline::subline_tests::display ... ok
[INFO] [stdout] test utils::utils_tests::_prepare ... ok
[INFO] [stdout] test utils::utils_tests::_check ... ok
[INFO] [stdout] test subtitles::subtitles_tests::from_file ... ok
[INFO] [stdout] test subtitles::subtitles_tests::insert ... ok
[INFO] [stdout] test subtitles::subtitles_tests::iterator ... ok
[INFO] [stdout] test subtitles::subtitles_tests::to_string ... ok
[INFO] [stderr]    Doc-tests srt
[INFO] [stdout] test subtitles::subtitles_tests::from_str ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/timestamp.rs - timestamp::Timestamp::new (line 20) ... ok
[INFO] [stdout] test src/timestamp.rs - timestamp::Timestamp::from_microseconds (line 62) ... ok
[INFO] [stdout] test src/timestamp.rs - timestamp::Timestamp::from (line 90) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "827df2d38121897d214af3cec7681c4fed57129fc89f0be342ad874677d1d8b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "827df2d38121897d214af3cec7681c4fed57129fc89f0be342ad874677d1d8b3", kill_on_drop: false }`
[INFO] [stdout] 827df2d38121897d214af3cec7681c4fed57129fc89f0be342ad874677d1d8b3
