[INFO] fetching crate img_hash_median 4.0.0... [INFO] testing img_hash_median-4.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate img_hash_median 4.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate img_hash_median 4.0.0 [INFO] finished tweaking crates.io crate img_hash_median 4.0.0 [INFO] tweaked toml for crates.io crate img_hash_median 4.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash_median 4.0.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_median 4.0.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c2277d2eb968223885d15fa2489787cbb91a6d2680184062cc375c55b2282eb5 [INFO] running `Command { std: "docker" "start" "-a" "c2277d2eb968223885d15fa2489787cbb91a6d2680184062cc375c55b2282eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2277d2eb968223885d15fa2489787cbb91a6d2680184062cc375c55b2282eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2277d2eb968223885d15fa2489787cbb91a6d2680184062cc375c55b2282eb5", kill_on_drop: false }` [INFO] [stdout] c2277d2eb968223885d15fa2489787cbb91a6d2680184062cc375c55b2282eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] aa557a4c6484fa473549e3fc587040cfd7e3ac1101dcf0b40f95e704f624b818 [INFO] running `Command { std: "docker" "start" "-a" "aa557a4c6484fa473549e3fc587040cfd7e3ac1101dcf0b40f95e704f624b818", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling weezl v0.1.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling transpose v0.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling transpose v0.2.0 [INFO] [stderr] Compiling rustfft v3.0.1 [INFO] [stderr] Compiling rustdct v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling image v0.23.11 [INFO] [stderr] Compiling img_hash_median v4.0.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: 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 17.98s [INFO] running `Command { std: "docker" "inspect" "aa557a4c6484fa473549e3fc587040cfd7e3ac1101dcf0b40f95e704f624b818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa557a4c6484fa473549e3fc587040cfd7e3ac1101dcf0b40f95e704f624b818", kill_on_drop: false }` [INFO] [stdout] aa557a4c6484fa473549e3fc587040cfd7e3ac1101dcf0b40f95e704f624b818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 277ddc3a820e167b2c4d5e95d99a588924cfa871fac9dccb2c9b2871ff2943f9 [INFO] running `Command { std: "docker" "start" "-a" "277ddc3a820e167b2c4d5e95d99a588924cfa871fac9dccb2c9b2871ff2943f9", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.2 [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: 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 textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling img_hash_median v4.0.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: 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 12.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [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" "277ddc3a820e167b2c4d5e95d99a588924cfa871fac9dccb2c9b2871ff2943f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277ddc3a820e167b2c4d5e95d99a588924cfa871fac9dccb2c9b2871ff2943f9", kill_on_drop: false }` [INFO] [stdout] 277ddc3a820e167b2c4d5e95d99a588924cfa871fac9dccb2c9b2871ff2943f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 90ca7943005823ca3bb5e9354b0be68e17b004b485a47bbbdaaf77d6519c0160 [INFO] running `Command { std: "docker" "start" "-a" "90ca7943005823ca3bb5e9354b0be68e17b004b485a47bbbdaaf77d6519c0160", 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: 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_median` (lib) generated 5 warnings (run `cargo fix --lib -p img_hash_median` to apply 5 suggestions) [INFO] [stderr] warning: `img_hash_median` (lib test) generated 5 warnings (5 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.3 [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_median-8e1ed07ee83f8c64) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test dct::test_transpose ... ok [INFO] [stdout] test traits::test_bools_to_bytes ... 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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/hash_image.rs (/opt/rustwide/target/debug/deps/hash_image-ce7b0c7f0c6ed665) [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_median [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) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) - compile ... FAILED [INFO] [stdout] test src/lib.rs - HasherConfig (line 112) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - HasherConfig (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `img_hash` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 3 | use img_hash::HasherConfig; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `img_hash` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `img_hash`, use `cargo add img_hash` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate img_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `img_hash` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate img_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - HasherConfig (line 112) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `img_hash` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 3 | use img_hash::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `img_hash` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `img_hash`, use `cargo add img_hash` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 2 + extern crate img_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - HasherConfig (line 112) [INFO] [stdout] src/lib.rs - HasherConfig (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "90ca7943005823ca3bb5e9354b0be68e17b004b485a47bbbdaaf77d6519c0160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ca7943005823ca3bb5e9354b0be68e17b004b485a47bbbdaaf77d6519c0160", kill_on_drop: false }` [INFO] [stdout] 90ca7943005823ca3bb5e9354b0be68e17b004b485a47bbbdaaf77d6519c0160