[INFO] cloning repository https://github.com/insipx/dynamic-wallpaper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/insipx/dynamic-wallpaper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsipx%2Fdynamic-wallpaper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsipx%2Fdynamic-wallpaper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6bd87206185944f3295c269639e7943c33a3e9e [INFO] checking insipx/dynamic-wallpaper against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsipx%2Fdynamic-wallpaper" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/insipx/dynamic-wallpaper [INFO] finished tweaking git repo https://github.com/insipx/dynamic-wallpaper [INFO] tweaked toml for git repo https://github.com/insipx/dynamic-wallpaper written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/insipx/dynamic-wallpaper on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/insipx/dynamic-wallpaper 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.3 [INFO] [stderr] Downloaded globset v0.4.4 [INFO] [stderr] Downloaded structopt-derive v0.3.3 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded ignore v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb8234033eada5c8cd6c9b9594717195a316320527e1816997e83176357ebbc9 [INFO] running `Command { std: "docker" "start" "-a" "bb8234033eada5c8cd6c9b9594717195a316320527e1816997e83176357ebbc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb8234033eada5c8cd6c9b9594717195a316320527e1816997e83176357ebbc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8234033eada5c8cd6c9b9594717195a316320527e1816997e83176357ebbc9", kill_on_drop: false }` [INFO] [stdout] bb8234033eada5c8cd6c9b9594717195a316320527e1816997e83176357ebbc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05a4d33503701918f393d73a7b8492aea8184b1f47bfdf2396d698c81566ec93 [INFO] running `Command { std: "docker" "start" "-a" "05a4d33503701918f393d73a7b8492aea8184b1f47bfdf2396d698c81566ec93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking ignore v0.4.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking globwalk v0.3.1 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking clap-verbosity-flag v0.2.0 [INFO] [stderr] Checking structopt v0.3.3 [INFO] [stderr] Checking quicli v0.4.0 [INFO] [stderr] Checking photo-motus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ReadDir` and `str::FromStr` [INFO] [stdout] --> src/image_locator.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fs::{self, ReadDir}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] 21 | str::FromStr [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadDir` and `str::FromStr` [INFO] [stdout] --> src/image_locator.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fs::{self, ReadDir}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] 21 | str::FromStr [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quicli::prelude` [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use quicli::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quicli::prelude` [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use quicli::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `folder_path` is never read [INFO] [stdout] --> src/image_locator.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ImageLocator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | folder_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `folder_path` is never read [INFO] [stdout] --> src/image_locator.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ImageLocator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | folder_path: PathBuf, [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/err.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Error` [INFO] [stdout] 23 | pub enum Error { [INFO] [stdout] | ----- `Error` 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/err.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Error` [INFO] [stdout] 23 | pub enum Error { [INFO] [stdout] | ----- `Error` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/err.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Error` [INFO] [stdout] 23 | pub enum Error { [INFO] [stdout] | ----- `Error` 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/err.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Error` [INFO] [stdout] 23 | pub enum Error { [INFO] [stdout] | ----- `Error` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_locator.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn entries(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn entries(&self) -> std::slice::Iter<'_, PathBuf> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image_locator.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn entries(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn entries(&self) -> std::slice::Iter<'_, PathBuf> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.22s [INFO] running `Command { std: "docker" "inspect" "05a4d33503701918f393d73a7b8492aea8184b1f47bfdf2396d698c81566ec93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a4d33503701918f393d73a7b8492aea8184b1f47bfdf2396d698c81566ec93", kill_on_drop: false }` [INFO] [stdout] 05a4d33503701918f393d73a7b8492aea8184b1f47bfdf2396d698c81566ec93