[INFO] fetching crate imgproc-rs 0.3.0... [INFO] checking imgproc-rs-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate imgproc-rs 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate imgproc-rs 0.3.0 [INFO] finished tweaking crates.io crate imgproc-rs 0.3.0 [INFO] tweaked toml for crates.io crate imgproc-rs 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate imgproc-rs 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate imgproc-rs 0.3.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded image v0.23.12 [INFO] [stderr] Downloaded jpeg-decoder v0.1.21 [INFO] [stderr] Downloaded libc v0.2.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d43f25a5c1d2d6df58f1e5d6c4b1768fdc1d21dc1c33c1c89288db340e0fd0d [INFO] running `Command { std: "docker" "start" "-a" "7d43f25a5c1d2d6df58f1e5d6c4b1768fdc1d21dc1c33c1c89288db340e0fd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d43f25a5c1d2d6df58f1e5d6c4b1768fdc1d21dc1c33c1c89288db340e0fd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d43f25a5c1d2d6df58f1e5d6c4b1768fdc1d21dc1c33c1c89288db340e0fd0d", kill_on_drop: false }` [INFO] [stdout] 7d43f25a5c1d2d6df58f1e5d6c4b1768fdc1d21dc1c33c1c89288db340e0fd0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28682699710afac0ee10555f5809b5af713648c75adb7694936665529e64bbe0 [INFO] running `Command { std: "docker" "start" "-a" "28682699710afac0ee10555f5809b5af713648c75adb7694936665529e64bbe0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.83 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.21 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking imgproc-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/convert.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | input.map_channels(|channel| ((channel as f32 / 255.0) * scale as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - input.map_channels(|channel| ((channel as f32 / 255.0) * scale as f32)) [INFO] [stdout] 22 + input.map_channels(|channel| (channel as f32 / 255.0) * scale as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::from_impl::*` [INFO] [stdout] --> src/image/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use self::from_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_subimage(&self, x: u32, y: u32, width: u32, height: u32) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 291 | pub fn get_subimage(&self, x: u32, y: u32, width: u32, height: u32) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_neighborhood_1d(&self, x: u32, y: u32, size: u32, is_vert: bool) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 312 | pub fn get_neighborhood_1d(&self, x: u32, y: u32, size: u32, is_vert: bool) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn get_neighborhood_2d(&self, x: u32, y: u32, size: u32) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 348 | pub fn get_neighborhood_2d(&self, x: u32, y: u32, size: u32) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/imgproc_bench.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imgproc-rs` (bench "imgproc_bench") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/convert.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | input.map_channels(|channel| ((channel as f32 / 255.0) * scale as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - input.map_channels(|channel| ((channel as f32 / 255.0) * scale as f32)) [INFO] [stdout] 22 + input.map_channels(|channel| (channel as f32 / 255.0) * scale as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::from_impl::*` [INFO] [stdout] --> src/image/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use self::from_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_subimage(&self, x: u32, y: u32, width: u32, height: u32) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 291 | pub fn get_subimage(&self, x: u32, y: u32, width: u32, height: u32) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn get_neighborhood_1d(&self, x: u32, y: u32, size: u32, is_vert: bool) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 312 | pub fn get_neighborhood_1d(&self, x: u32, y: u32, size: u32, is_vert: bool) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image/mod.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn get_neighborhood_2d(&self, x: u32, y: u32, size: u32) -> SubImage { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden 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] 348 | pub fn get_neighborhood_2d(&self, x: u32, y: u32, size: u32) -> SubImage<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28682699710afac0ee10555f5809b5af713648c75adb7694936665529e64bbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28682699710afac0ee10555f5809b5af713648c75adb7694936665529e64bbe0", kill_on_drop: false }` [INFO] [stdout] 28682699710afac0ee10555f5809b5af713648c75adb7694936665529e64bbe0