[INFO] cloning repository https://github.com/SilverTab/rust-sub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SilverTab/rust-sub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverTab%2Frust-sub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverTab%2Frust-sub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cea05f2da10d8e4947737aab47b79a9e49e2eb2 [INFO] checking SilverTab/rust-sub against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverTab%2Frust-sub" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SilverTab/rust-sub on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SilverTab/rust-sub [INFO] finished tweaking git repo https://github.com/SilverTab/rust-sub [INFO] tweaked toml for git repo https://github.com/SilverTab/rust-sub written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SilverTab/rust-sub 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking SilverTab/rust-sub against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilverTab%2Frust-sub" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SilverTab/rust-sub on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SilverTab/rust-sub [INFO] finished tweaking git repo https://github.com/SilverTab/rust-sub [INFO] tweaked toml for git repo https://github.com/SilverTab/rust-sub written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SilverTab/rust-sub 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad7e8cce77183e0b47834cf94af2973e808eb5cb61b3f29435861f3b59ec98b1 [INFO] running `Command { std: "docker" "start" "-a" "ad7e8cce77183e0b47834cf94af2973e808eb5cb61b3f29435861f3b59ec98b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7e8cce77183e0b47834cf94af2973e808eb5cb61b3f29435861f3b59ec98b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7e8cce77183e0b47834cf94af2973e808eb5cb61b3f29435861f3b59ec98b1", kill_on_drop: false }` [INFO] [stdout] ad7e8cce77183e0b47834cf94af2973e808eb5cb61b3f29435861f3b59ec98b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1aa8a352217934539969794b6e461664a7a527c823e28dd41f99247f1cb5944 [INFO] running `Command { std: "docker" "start" "-a" "e1aa8a352217934539969794b6e461664a7a527c823e28dd41f99247f1cb5944", kill_on_drop: false }` [INFO] [stderr] Checking rust-sub v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/subrip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/subrip.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/subrip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/codecs/subrip.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | let f = match File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | start_ms: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | end_ms: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/lib.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | let f = match File::open(&Path::new(path)) { [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | start_ms: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | end_ms: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&[SubtitleCodec]` is not an iterator [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for codec in AVAILABLE_CODECS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `&[SubtitleCodec]` is not an iterator; try calling `.iter()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&[SubtitleCodec]` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a [T; N] [INFO] [stdout] &'a [T] [INFO] [stdout] &'a mut [T; N] [INFO] [stdout] &'a mut [T] [INFO] [stdout] [T; N] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `&[SubtitleCodec]` is not an iterator [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for codec in AVAILABLE_CODECS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `&[SubtitleCodec]` is not an iterator; try calling `.iter()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoIterator` is not implemented for `&[SubtitleCodec]` [INFO] [stdout] = help: the following other types implement trait `IntoIterator`: [INFO] [stdout] &'a [T; N] [INFO] [stdout] &'a [T] [INFO] [stdout] &'a mut [T; N] [INFO] [stdout] &'a mut [T] [INFO] [stdout] [T; N] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let s = Subtitle::open("/foo"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let s = Subtitle::open("./src/test.srt"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sub` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sub` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1aa8a352217934539969794b6e461664a7a527c823e28dd41f99247f1cb5944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1aa8a352217934539969794b6e461664a7a527c823e28dd41f99247f1cb5944", kill_on_drop: false }` [INFO] [stdout] e1aa8a352217934539969794b6e461664a7a527c823e28dd41f99247f1cb5944