[INFO] fetching crate image-effects 0.1.0... [INFO] testing image-effects-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate image-effects 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate image-effects 0.1.0 [INFO] finished tweaking crates.io crate image-effects 0.1.0 [INFO] tweaked toml for crates.io crate image-effects 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate image-effects 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 208 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.17.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fast-srgb8 v1.0.0 [INFO] [stderr] Downloaded palette_derive v0.7.6 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded palette v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806493afd5e178af5748eef40581c6b7adfac5d9804340faefc80461237a1f07 [INFO] running `Command { std: "docker" "start" "-a" "806493afd5e178af5748eef40581c6b7adfac5d9804340faefc80461237a1f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806493afd5e178af5748eef40581c6b7adfac5d9804340faefc80461237a1f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806493afd5e178af5748eef40581c6b7adfac5d9804340faefc80461237a1f07", kill_on_drop: false }` [INFO] [stdout] 806493afd5e178af5748eef40581c6b7adfac5d9804340faefc80461237a1f07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8374f0f189a68a2f8d044f11534ec694ce26e9028045bcfd3984c77352c75e [INFO] running `Command { std: "docker" "start" "-a" "ea8374f0f189a68a2f8d044f11534ec694ce26e9028045bcfd3984c77352c75e", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling image-effects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/utils/numops.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #[inline] pub fn sum(nums: &[u8]) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/utils/numops.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] pub fn average(nums: &[u8]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/filter/raw.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | let mut gradient = Vec::from(gradient.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(U, f32)]` does not implement `Clone`, so calling `clone` on `&[(U, f32)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.48s [INFO] running `Command { std: "docker" "inspect" "ea8374f0f189a68a2f8d044f11534ec694ce26e9028045bcfd3984c77352c75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8374f0f189a68a2f8d044f11534ec694ce26e9028045bcfd3984c77352c75e", kill_on_drop: false }` [INFO] [stdout] ea8374f0f189a68a2f8d044f11534ec694ce26e9028045bcfd3984c77352c75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c04ae51a01e746c4ae402e79f952dc2d759ccdb84fa304317e12010de585d0 [INFO] running `Command { std: "docker" "start" "-a" "17c04ae51a01e746c4ae402e79f952dc2d759ccdb84fa304317e12010de585d0", kill_on_drop: false }` [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling image-effects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/utils/numops.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #[inline] pub fn sum(nums: &[u8]) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/utils/numops.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] pub fn average(nums: &[u8]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/filter/raw.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | let mut gradient = Vec::from(gradient.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(U, f32)]` does not implement `Clone`, so calling `clone` on `&[(U, f32)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/utils/numops.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | #[inline] pub fn sum(nums: &[u8]) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/utils/numops.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[inline] pub fn average(nums: &[u8]) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/filter/raw.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | let mut gradient = Vec::from(gradient.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[(U, f32)]` does not implement `Clone`, so calling `clone` on `&[(U, f32)]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.09s [INFO] running `Command { std: "docker" "inspect" "17c04ae51a01e746c4ae402e79f952dc2d759ccdb84fa304317e12010de585d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c04ae51a01e746c4ae402e79f952dc2d759ccdb84fa304317e12010de585d0", kill_on_drop: false }` [INFO] [stdout] 17c04ae51a01e746c4ae402e79f952dc2d759ccdb84fa304317e12010de585d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8f639743c241f659028d3b04a9634f31448e6051284193852294ea4e2a24d8a [INFO] running `Command { std: "docker" "start" "-a" "e8f639743c241f659028d3b04a9634f31448e6051284193852294ea4e2a24d8a", kill_on_drop: false }` [INFO] [stderr] warning: function `sum` is never used [INFO] [stderr] --> src/utils/numops.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | #[inline] pub fn sum(nums: &[u8]) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `average` is never used [INFO] [stderr] --> src/utils/numops.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | #[inline] pub fn average(nums: &[u8]) -> f64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/filter/raw.rs:85:42 [INFO] [stderr] | [INFO] [stderr] 85 | let mut gradient = Vec::from(gradient.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[(U, f32)]` does not implement `Clone`, so calling `clone` on `&[(U, f32)]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `image-effects` (lib) generated 3 warnings (run `cargo fix --lib -p image-effects` to apply 1 suggestion) [INFO] [stderr] warning: `image-effects` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_effects-d6680b9c7f06ab28) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::dither_test ... FAILED [INFO] [stdout] test test::filter_effects_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::dither_test stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("clipart-library.com")), port: None, path: "/image_gallery/n781743.png", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test::filter_effects_test stdout ---- [INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("clipart-library.com")), port: None, path: "/image_gallery/n781743.png", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::dither_test [INFO] [stdout] test::filter_effects_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e8f639743c241f659028d3b04a9634f31448e6051284193852294ea4e2a24d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f639743c241f659028d3b04a9634f31448e6051284193852294ea4e2a24d8a", kill_on_drop: false }` [INFO] [stdout] e8f639743c241f659028d3b04a9634f31448e6051284193852294ea4e2a24d8a