[INFO] fetching crate img_hash 3.2.0... [INFO] testing img_hash-3.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate img_hash 3.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate img_hash 3.2.0 [INFO] finished tweaking crates.io crate img_hash 3.2.0 [INFO] tweaked toml for crates.io crate img_hash 3.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash 3.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate img_hash 3.2.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d301ebb3a69d112eee12cc3da44f833547de489dc4178b947ac76622838d568e [INFO] running `Command { std: "docker" "start" "-a" "d301ebb3a69d112eee12cc3da44f833547de489dc4178b947ac76622838d568e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d301ebb3a69d112eee12cc3da44f833547de489dc4178b947ac76622838d568e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d301ebb3a69d112eee12cc3da44f833547de489dc4178b947ac76622838d568e", kill_on_drop: false }` [INFO] [stdout] d301ebb3a69d112eee12cc3da44f833547de489dc4178b947ac76622838d568e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d5d3eb39047ab978931f568087fd720db53dcc7b3b5b258aac7966490b590b [INFO] running `Command { std: "docker" "start" "-a" "e2d5d3eb39047ab978931f568087fd720db53dcc7b3b5b258aac7966490b590b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling transpose v0.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustfft v3.0.1 [INFO] [stderr] Compiling transpose v0.2.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rustdct v0.4.0 [INFO] [stderr] Compiling img_hash v3.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/alg/blockhash.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] 60 + move |x, y, add| blocks[(y as usize) * (width as usize) + (x as usize)] += add [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/traits.rs:191:56 [INFO] [stdout] | [INFO] [stdout] 191 | self.as_luma8().map_or_else(|| Cow::Owned(self.to_luma()), Cow::Borrowed) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_grayscale(&self) -> Cow { [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] 336 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow<'_, GrayImage>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.52s [INFO] running `Command { std: "docker" "inspect" "e2d5d3eb39047ab978931f568087fd720db53dcc7b3b5b258aac7966490b590b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d5d3eb39047ab978931f568087fd720db53dcc7b3b5b258aac7966490b590b", kill_on_drop: false }` [INFO] [stdout] e2d5d3eb39047ab978931f568087fd720db53dcc7b3b5b258aac7966490b590b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20cc2849105d70216e4c392a18a42ea0b8c9b6b8434f867e7663c3dd0cf73c4a [INFO] running `Command { std: "docker" "start" "-a" "20cc2849105d70216e4c392a18a42ea0b8c9b6b8434f867e7663c3dd0cf73c4a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/alg/blockhash.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] 60 + move |x, y, add| blocks[(y as usize) * (width as usize) + (x as usize)] += add [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/traits.rs:191:56 [INFO] [stdout] | [INFO] [stdout] 191 | self.as_luma8().map_or_else(|| Cow::Owned(self.to_luma()), Cow::Borrowed) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_grayscale(&self) -> Cow { [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] 336 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow<'_, GrayImage>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling img_hash v3.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/alg/blockhash.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stdout] 60 + move |x, y, add| blocks[(y as usize) * (width as usize) + (x as usize)] += add [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/traits.rs:191:56 [INFO] [stdout] | [INFO] [stdout] 191 | self.as_luma8().map_or_else(|| Cow::Owned(self.to_luma()), Cow::Borrowed) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_grayscale(&self) -> Cow { [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] 336 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn to_grayscale(&self) -> Cow<'_, GrayImage>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "20cc2849105d70216e4c392a18a42ea0b8c9b6b8434f867e7663c3dd0cf73c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20cc2849105d70216e4c392a18a42ea0b8c9b6b8434f867e7663c3dd0cf73c4a", kill_on_drop: false }` [INFO] [stdout] 20cc2849105d70216e4c392a18a42ea0b8c9b6b8434f867e7663c3dd0cf73c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c84ccd6e9bad24782e857494756f07a4c0b2641fb3e01f66b1deca4a36e05357 [INFO] running `Command { std: "docker" "start" "-a" "c84ccd6e9bad24782e857494756f07a4c0b2641fb3e01f66b1deca4a36e05357", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/alg/blockhash.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stderr] 60 + move |x, y, add| blocks[(y as usize) * (width as usize) + (x as usize)] += add [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stderr] --> src/traits.rs:191:56 [INFO] [stderr] | [INFO] [stderr] 191 | self.as_luma8().map_or_else(|| Cow::Owned(self.to_luma()), Cow::Borrowed) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | fn to_grayscale(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 336 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | fn to_grayscale(&self) -> Cow; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 125 | fn to_grayscale(&self) -> Cow<'_, GrayImage>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:154:21 [INFO] [stderr] | [INFO] [stderr] 154 | fn to_grayscale(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 154 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:190:21 [INFO] [stderr] | [INFO] [stderr] 190 | fn to_grayscale(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 190 | fn to_grayscale(&self) -> Cow<'_, GrayImage> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `img_hash` (lib) generated 6 warnings (run `cargo fix --lib -p img_hash` to apply 5 suggestions) [INFO] [stderr] warning: `img_hash` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_hash-37211c68f7e7c692) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test dct::test_crop_2d_dct ... ok [INFO] [stdout] test dct::test_transpose ... ok [INFO] [stdout] test traits::test_bools_to_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/hash_image.rs (/opt/rustwide/target/debug/deps/hash_image-792c94d0bb0b9336) [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] [stderr] Doc-tests img_hash [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/alg/blockhash.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - move |x, y, add| (blocks[(y as usize) * (width as usize) + (x as usize)] += add) [INFO] [stderr] 60 + move |x, y, add| blocks[(y as usize) * (width as usize) + (x as usize)] += add [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 4) - compile ... ok [INFO] [stdout] test src/lib.rs - HasherConfig (line 112) ... ok [INFO] [stdout] test src/lib.rs - HasherConfig (line 70) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c84ccd6e9bad24782e857494756f07a4c0b2641fb3e01f66b1deca4a36e05357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84ccd6e9bad24782e857494756f07a4c0b2641fb3e01f66b1deca4a36e05357", kill_on_drop: false }` [INFO] [stdout] c84ccd6e9bad24782e857494756f07a4c0b2641fb3e01f66b1deca4a36e05357