[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#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [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 fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded structopt-derive v0.3.3 [INFO] [stderr] Downloaded structopt v0.3.3 [INFO] [stderr] Downloaded clap-verbosity-flag v0.2.0 [INFO] [stderr] Downloaded globwalk v0.3.1 [INFO] [stderr] Downloaded quicli v0.4.0 [INFO] [stderr] Downloaded ignore v0.4.10 [INFO] [stderr] Downloaded bstr v0.2.8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4260ab54fc78b69e72b288640182abc99bf439eae993e448a176a798e8b9b9e4 [INFO] running `Command { std: "docker" "start" "-a" "4260ab54fc78b69e72b288640182abc99bf439eae993e448a176a798e8b9b9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4260ab54fc78b69e72b288640182abc99bf439eae993e448a176a798e8b9b9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4260ab54fc78b69e72b288640182abc99bf439eae993e448a176a798e8b9b9e4", kill_on_drop: false }` [INFO] [stdout] 4260ab54fc78b69e72b288640182abc99bf439eae993e448a176a798e8b9b9e4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0ab2ae116accf48f58f0ec890a742e990f8d23850be44e73d9b710595ba7ba [INFO] running `Command { std: "docker" "start" "-a" "0d0ab2ae116accf48f58f0ec890a742e990f8d23850be44e73d9b710595ba7ba", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking globset v0.4.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking ignore v0.4.10 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking globwalk v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking clap-verbosity-flag v0.2.0 [INFO] [stderr] Checking exitfailure v0.5.1 [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)]` 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)]` 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)]` 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: 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: 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)]` 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: 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 42.39s [INFO] running `Command { std: "docker" "inspect" "0d0ab2ae116accf48f58f0ec890a742e990f8d23850be44e73d9b710595ba7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0ab2ae116accf48f58f0ec890a742e990f8d23850be44e73d9b710595ba7ba", kill_on_drop: false }` [INFO] [stdout] 0d0ab2ae116accf48f58f0ec890a742e990f8d23850be44e73d9b710595ba7ba