[INFO] cloning repository https://github.com/liamzdenek/caption-reading-speed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liamzdenek/caption-reading-speed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamzdenek%2Fcaption-reading-speed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamzdenek%2Fcaption-reading-speed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84e8e9d30011f974c05356b289bede388dde9b0 [INFO] testing liamzdenek/caption-reading-speed against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamzdenek%2Fcaption-reading-speed" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liamzdenek/caption-reading-speed [INFO] finished tweaking git repo https://github.com/liamzdenek/caption-reading-speed [INFO] tweaked toml for git repo https://github.com/liamzdenek/caption-reading-speed written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liamzdenek/caption-reading-speed on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liamzdenek/caption-reading-speed 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.14 [INFO] [stderr] Downloaded darling_macro v0.8.6 [INFO] [stderr] Downloaded darling v0.8.6 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded backtrace v0.3.26 [INFO] [stderr] Downloaded darling_core v0.8.6 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded syn v0.15.34 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded derive_builder v0.7.1 [INFO] [stderr] Downloaded derive_builder_core v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66cc157807aaed22ecf6a86e8d75a622d89f0343e3766377c3786c2a932f3c8f [INFO] running `Command { std: "docker" "start" "-a" "66cc157807aaed22ecf6a86e8d75a622d89f0343e3766377c3786c2a932f3c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66cc157807aaed22ecf6a86e8d75a622d89f0343e3766377c3786c2a932f3c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cc157807aaed22ecf6a86e8d75a622d89f0343e3766377c3786c2a932f3c8f", kill_on_drop: false }` [INFO] [stdout] 66cc157807aaed22ecf6a86e8d75a622d89f0343e3766377c3786c2a932f3c8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980900db28d941a1bc96746e60cf342ba4ab78b25742467f7e12df1120f5b4ce [INFO] running `Command { std: "docker" "start" "-a" "980900db28d941a1bc96746e60cf342ba4ab78b25742467f7e12df1120f5b4ce", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling derive_builder v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_builder_core v0.4.1 [INFO] [stderr] Compiling reading-speed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | let mut file = File::open(filename)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 56 | impl SRTFile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn encode() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SRTFileError` [INFO] [stdout] 44 | enum SRTFileError { [INFO] [stdout] | ------------ `SRTFileError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SRTFileError` [INFO] [stdout] 44 | enum SRTFileError { [INFO] [stdout] | ------------ `SRTFileError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/main.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | startTime: Duration, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `endTime` should have a snake case name [INFO] [stdout] --> src/main.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | endTime: Duration, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `startTime` should have a snake case name [INFO] [stdout] --> src/main.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | startTime: Duration, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `endTime` should have a snake case name [INFO] [stdout] --> src/main.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | endTime: Duration, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.53s [INFO] running `Command { std: "docker" "inspect" "980900db28d941a1bc96746e60cf342ba4ab78b25742467f7e12df1120f5b4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980900db28d941a1bc96746e60cf342ba4ab78b25742467f7e12df1120f5b4ce", kill_on_drop: false }` [INFO] [stdout] 980900db28d941a1bc96746e60cf342ba4ab78b25742467f7e12df1120f5b4ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0de7a6ba34e77ea968e758072590004e8f15ef77d5b0152aa470f20dcdfa86a [INFO] running `Command { std: "docker" "start" "-a" "c0de7a6ba34e77ea968e758072590004e8f15ef77d5b0152aa470f20dcdfa86a", kill_on_drop: false }` [INFO] [stderr] Compiling reading-speed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | let mut file = File::open(filename)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 56 | impl SRTFile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn encode() -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SRTFileError` [INFO] [stdout] 44 | enum SRTFileError { [INFO] [stdout] | ------------ `SRTFileError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SRTFileError` [INFO] [stdout] 44 | enum SRTFileError { [INFO] [stdout] | ------------ `SRTFileError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `startTime` should have a snake case name [INFO] [stdout] --> src/main.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | startTime: Duration, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `endTime` should have a snake case name [INFO] [stdout] --> src/main.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | endTime: Duration, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `startTime` should have a snake case name [INFO] [stdout] --> src/main.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | startTime: Duration, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `endTime` should have a snake case name [INFO] [stdout] --> src/main.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | endTime: Duration, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "c0de7a6ba34e77ea968e758072590004e8f15ef77d5b0152aa470f20dcdfa86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0de7a6ba34e77ea968e758072590004e8f15ef77d5b0152aa470f20dcdfa86a", kill_on_drop: false }` [INFO] [stdout] c0de7a6ba34e77ea968e758072590004e8f15ef77d5b0152aa470f20dcdfa86a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7598f131799d39ff1b5d044042f3529a2a42d908e38143eec7c456aa17cfc20 [INFO] running `Command { std: "docker" "start" "-a" "a7598f131799d39ff1b5d044042f3529a2a42d908e38143eec7c456aa17cfc20", kill_on_drop: false }` [INFO] [stderr] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(duration_float)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | let mut file = File::open(filename)?; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:25:6 [INFO] [stderr] | [INFO] [stderr] 25 | let mut buf_reader = BufReader::new(file); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function `encode` is never used [INFO] [stderr] --> src/main.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 56 | impl SRTFile { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 103 | fn encode() -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:43:45 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SRTFileError` [INFO] [stderr] 44 | enum SRTFileError { [INFO] [stderr] | ------------ `SRTFileError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:43:45 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SRTFileError` [INFO] [stderr] 44 | enum SRTFileError { [INFO] [stderr] | ------------ `SRTFileError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `startTime` should have a snake case name [INFO] [stderr] --> src/main.rs:111:2 [INFO] [stderr] | [INFO] [stderr] 111 | startTime: Duration, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `endTime` should have a snake case name [INFO] [stderr] --> src/main.rs:112:2 [INFO] [stderr] | [INFO] [stderr] 112 | endTime: Duration, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stderr] [INFO] [stderr] warning: method `startTime` should have a snake case name [INFO] [stderr] --> src/main.rs:111:2 [INFO] [stderr] | [INFO] [stderr] 111 | startTime: Duration, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stderr] [INFO] [stderr] warning: method `endTime` should have a snake case name [INFO] [stderr] --> src/main.rs:112:2 [INFO] [stderr] | [INFO] [stderr] 112 | endTime: Duration, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `end_time` [INFO] [stderr] [INFO] [stderr] warning: `reading-speed` (bin "reading-speed" test) generated 10 warnings (run `cargo fix --bin "reading-speed" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/reading_speed-45f816e7f2cad93f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7598f131799d39ff1b5d044042f3529a2a42d908e38143eec7c456aa17cfc20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7598f131799d39ff1b5d044042f3529a2a42d908e38143eec7c456aa17cfc20", kill_on_drop: false }` [INFO] [stdout] a7598f131799d39ff1b5d044042f3529a2a42d908e38143eec7c456aa17cfc20