[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#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamzdenek%2Fcaption-reading-speed" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liamzdenek/caption-reading-speed on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.14 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded darling_macro v0.8.6 [INFO] [stderr] Downloaded darling v0.8.6 [INFO] [stderr] Downloaded derive_builder_core v0.4.1 [INFO] [stderr] Downloaded derive_builder v0.7.1 [INFO] [stderr] Downloaded darling_core v0.8.6 [INFO] [stderr] Downloaded backtrace v0.3.26 [INFO] [stderr] Downloaded syn v0.15.34 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2cbb6553b1e075ef67c1040367058b5dff690464b08b51e7138cef9cfe628e0 [INFO] running `Command { std: "docker" "start" "-a" "b2cbb6553b1e075ef67c1040367058b5dff690464b08b51e7138cef9cfe628e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2cbb6553b1e075ef67c1040367058b5dff690464b08b51e7138cef9cfe628e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cbb6553b1e075ef67c1040367058b5dff690464b08b51e7138cef9cfe628e0", kill_on_drop: false }` [INFO] [stdout] b2cbb6553b1e075ef67c1040367058b5dff690464b08b51e7138cef9cfe628e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1731bf4934ce7a33accd60d505b66565af96026a1a3eb7121d6d3e866a124fd [INFO] running `Command { std: "docker" "start" "-a" "d1731bf4934ce7a33accd60d505b66565af96026a1a3eb7121d6d3e866a124fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [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 failure_derive v0.1.5 [INFO] [stderr] Compiling derive_builder v0.7.1 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Compiling quote v0.6.12 [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 v0.1.5 [INFO] [stderr] Compiling darling_macro v0.8.6 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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 12.99s [INFO] running `Command { std: "docker" "inspect" "d1731bf4934ce7a33accd60d505b66565af96026a1a3eb7121d6d3e866a124fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1731bf4934ce7a33accd60d505b66565af96026a1a3eb7121d6d3e866a124fd", kill_on_drop: false }` [INFO] [stdout] d1731bf4934ce7a33accd60d505b66565af96026a1a3eb7121d6d3e866a124fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b924d7ec55a73751b53a2f3beed81c54b4db3bfa514036394a616cff83dfd64e [INFO] running `Command { std: "docker" "start" "-a" "b924d7ec55a73751b53a2f3beed81c54b4db3bfa514036394a616cff83dfd64e", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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.39s [INFO] running `Command { std: "docker" "inspect" "b924d7ec55a73751b53a2f3beed81c54b4db3bfa514036394a616cff83dfd64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b924d7ec55a73751b53a2f3beed81c54b4db3bfa514036394a616cff83dfd64e", kill_on_drop: false }` [INFO] [stdout] b924d7ec55a73751b53a2f3beed81c54b4db3bfa514036394a616cff83dfd64e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f6b170aee3b9b3d70dd74c6a989caffd4d1286c38a2c9e39f7b3f6da63f137b [INFO] running `Command { std: "docker" "start" "-a" "4f6b170aee3b9b3d70dd74c6a989caffd4d1286c38a2c9e39f7b3f6da63f137b", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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" -p reading-speed --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/reading_speed-a06e6aced2669045) [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" "4f6b170aee3b9b3d70dd74c6a989caffd4d1286c38a2c9e39f7b3f6da63f137b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6b170aee3b9b3d70dd74c6a989caffd4d1286c38a2c9e39f7b3f6da63f137b", kill_on_drop: false }` [INFO] [stdout] 4f6b170aee3b9b3d70dd74c6a989caffd4d1286c38a2c9e39f7b3f6da63f137b