[INFO] fetching crate img_hash 3.2.0... [INFO] testing img_hash-3.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate img_hash 3.2.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash 3.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d634addd1c9918719c245c03d236a96cce5743ec8383a868f0d6b8447abc979 [INFO] running `Command { std: "docker" "start" "-a" "8d634addd1c9918719c245c03d236a96cce5743ec8383a868f0d6b8447abc979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d634addd1c9918719c245c03d236a96cce5743ec8383a868f0d6b8447abc979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d634addd1c9918719c245c03d236a96cce5743ec8383a868f0d6b8447abc979", kill_on_drop: false }` [INFO] [stdout] 8d634addd1c9918719c245c03d236a96cce5743ec8383a868f0d6b8447abc979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 776348ada9b88d7f6c87a1f0f1265b85d212d3b54e75689c932b8fe2a29f424e [INFO] running `Command { std: "docker" "start" "-a" "776348ada9b88d7f6c87a1f0f1265b85d212d3b54e75689c932b8fe2a29f424e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [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 bytemuck v1.5.1 [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)]` (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.32s [INFO] running `Command { std: "docker" "inspect" "776348ada9b88d7f6c87a1f0f1265b85d212d3b54e75689c932b8fe2a29f424e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776348ada9b88d7f6c87a1f0f1265b85d212d3b54e75689c932b8fe2a29f424e", kill_on_drop: false }` [INFO] [stdout] 776348ada9b88d7f6c87a1f0f1265b85d212d3b54e75689c932b8fe2a29f424e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85292b91124020624aa865681017bcfaa79c5634bfcbd4abef579e18d3b31bfa [INFO] running `Command { std: "docker" "start" "-a" "85292b91124020624aa865681017bcfaa79c5634bfcbd4abef579e18d3b31bfa", 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 memchr v2.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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 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.76s [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 5` [INFO] running `Command { std: "docker" "inspect" "85292b91124020624aa865681017bcfaa79c5634bfcbd4abef579e18d3b31bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85292b91124020624aa865681017bcfaa79c5634bfcbd4abef579e18d3b31bfa", kill_on_drop: false }` [INFO] [stdout] 85292b91124020624aa865681017bcfaa79c5634bfcbd4abef579e18d3b31bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f03f88ce3261571c89f33a1f23dd6d40db4f151b6b6bc9a428360992b1b27102 [INFO] running `Command { std: "docker" "start" "-a" "f03f88ce3261571c89f33a1f23dd6d40db4f151b6b6bc9a428360992b1b27102", 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 5` [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 traits::test_bools_to_bytes ... ok [INFO] [stdout] test dct::test_transpose ... ok [INFO] [stdout] test dct::test_crop_2d_dct ... 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] [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 - HasherConfig (line 112) ... ok [INFO] [stdout] test src/lib.rs - (line 4) - compile ... 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.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f03f88ce3261571c89f33a1f23dd6d40db4f151b6b6bc9a428360992b1b27102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03f88ce3261571c89f33a1f23dd6d40db4f151b6b6bc9a428360992b1b27102", kill_on_drop: false }` [INFO] [stdout] f03f88ce3261571c89f33a1f23dd6d40db4f151b6b6bc9a428360992b1b27102