[INFO] fetching crate img_hash 3.2.0... [INFO] testing img_hash-3.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate img_hash 3.2.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash 3.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 672955a4885f5a4be4e92a7cb430aad95e0bd62fb1a0a5a8d410b629afd8a3a7 [INFO] running `Command { std: "docker" "start" "-a" "672955a4885f5a4be4e92a7cb430aad95e0bd62fb1a0a5a8d410b629afd8a3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "672955a4885f5a4be4e92a7cb430aad95e0bd62fb1a0a5a8d410b629afd8a3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "672955a4885f5a4be4e92a7cb430aad95e0bd62fb1a0a5a8d410b629afd8a3a7", kill_on_drop: false }` [INFO] [stdout] 672955a4885f5a4be4e92a7cb430aad95e0bd62fb1a0a5a8d410b629afd8a3a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2943f61af2230f24f2e6965761880004d17bc74cfef18b98b7f563c51077e458 [INFO] running `Command { std: "docker" "start" "-a" "2943f61af2230f24f2e6965761880004d17bc74cfef18b98b7f563c51077e458", 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 strength_reduce v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling transpose v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [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 transpose v0.2.1 [INFO] [stderr] Compiling rustfft v3.0.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)]` 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 23.22s [INFO] running `Command { std: "docker" "inspect" "2943f61af2230f24f2e6965761880004d17bc74cfef18b98b7f563c51077e458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2943f61af2230f24f2e6965761880004d17bc74cfef18b98b7f563c51077e458", kill_on_drop: false }` [INFO] [stdout] 2943f61af2230f24f2e6965761880004d17bc74cfef18b98b7f563c51077e458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fb632fe8bcf229f9ee3c39bc16e5663c48154c53d42c68922dfbb5271d0454 [INFO] running `Command { std: "docker" "start" "-a" "57fb632fe8bcf229f9ee3c39bc16e5663c48154c53d42c68922dfbb5271d0454", 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 rayon-core v1.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling itertools v0.10.0 [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)]` 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)]` 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 35.82s [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 3` [INFO] running `Command { std: "docker" "inspect" "57fb632fe8bcf229f9ee3c39bc16e5663c48154c53d42c68922dfbb5271d0454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fb632fe8bcf229f9ee3c39bc16e5663c48154c53d42c68922dfbb5271d0454", kill_on_drop: false }` [INFO] [stdout] 57fb632fe8bcf229f9ee3c39bc16e5663c48154c53d42c68922dfbb5271d0454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dcf305880fabc5ed6a448889dcb214b6406df15bdd717ffd38388ae645e72b42 [INFO] running `Command { std: "docker" "start" "-a" "dcf305880fabc5ed6a448889dcb214b6406df15bdd717ffd38388ae645e72b42", 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)]` 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.17s [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 3` [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.00s [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)]` 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 - HasherConfig (line 70) ... ok [INFO] [stdout] test src/lib.rs - HasherConfig (line 112) ... ok [INFO] [stdout] test src/lib.rs - (line 4) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dcf305880fabc5ed6a448889dcb214b6406df15bdd717ffd38388ae645e72b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf305880fabc5ed6a448889dcb214b6406df15bdd717ffd38388ae645e72b42", kill_on_drop: false }` [INFO] [stdout] dcf305880fabc5ed6a448889dcb214b6406df15bdd717ffd38388ae645e72b42