[INFO] fetching crate ndarray-vision 0.5.1... [INFO] checking ndarray-vision-0.5.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate ndarray-vision 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ndarray-vision 0.5.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ndarray-vision 0.5.1 [INFO] finished tweaking crates.io crate ndarray-vision 0.5.1 [INFO] tweaked toml for crates.io crate ndarray-vision 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate ndarray-vision 0.5.1 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libm v0.2.7 [INFO] [stderr] Downloaded openblas-build v0.10.5 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded chrono v0.4.28 [INFO] [stderr] Downloaded netlib-src v0.8.0 [INFO] [stderr] Downloaded openblas-src v0.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ff68a43f059c1bea5b102829f1f22592d9f9a7429fb1f5f27d9ac9f493cf7e [INFO] running `Command { std: "docker" "start" "-a" "66ff68a43f059c1bea5b102829f1f22592d9f9a7429fb1f5f27d9ac9f493cf7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ff68a43f059c1bea5b102829f1f22592d9f9a7429fb1f5f27d9ac9f493cf7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ff68a43f059c1bea5b102829f1f22592d9f9a7429fb1f5f27d9ac9f493cf7e", kill_on_drop: false }` [INFO] [stdout] 66ff68a43f059c1bea5b102829f1f22592d9f9a7429fb1f5f27d9ac9f493cf7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff005655309f63fd70ce1a46e095616adc870d6520456f96dc1144c20b158d15 [INFO] running `Command { std: "docker" "start" "-a" "ff005655309f63fd70ce1a46e095616adc870d6520456f96dc1144c20b158d15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Compiling katexit v0.1.4 [INFO] [stderr] Checking lax v0.16.0 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-linalg v0.16.0 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking ndarray-vision v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/core/colour_models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PixelBound` is imported redundantly [INFO] [stdout] --> src/format/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::traits::PixelBound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::core::*; [INFO] [stdout] | -------------- the item `PixelBound` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/processing/conv.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/processing/sobel.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/core/colour_models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `arr1` is imported redundantly [INFO] [stdout] --> src/core/image.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | use super::*; [INFO] [stdout] | -------- the item `arr1` is already imported here [INFO] [stdout] 216 | use ndarray::arr1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Gray` is imported redundantly [INFO] [stdout] --> src/enhancement/histogram_equalisation.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | use super::*; [INFO] [stdout] | -------- the item `Gray` is already imported here [INFO] [stdout] 99 | use crate::core::Gray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PixelBound` is imported redundantly [INFO] [stdout] --> src/format/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::traits::PixelBound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::core::*; [INFO] [stdout] | -------------- the item `PixelBound` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `arr2` is imported redundantly [INFO] [stdout] --> src/morphology/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | use super::*; [INFO] [stdout] | -------- the item `arr2` is already imported here [INFO] [stdout] 126 | use ndarray::arr2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/processing/conv.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/processing/sobel.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `affine` is imported redundantly [INFO] [stdout] --> src/transform/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use super::affine; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | -------- the item `affine` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/transform/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/basic.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let cameraman = root.clone().join("images/cameraman.ppm"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 11 - let cameraman = root.clone().join("images/cameraman.ppm"); [INFO] [stdout] 11 + let cameraman = root.join("images/cameraman.ppm"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/transform/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.92s [INFO] running `Command { std: "docker" "inspect" "ff005655309f63fd70ce1a46e095616adc870d6520456f96dc1144c20b158d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff005655309f63fd70ce1a46e095616adc870d6520456f96dc1144c20b158d15", kill_on_drop: false }` [INFO] [stdout] ff005655309f63fd70ce1a46e095616adc870d6520456f96dc1144c20b158d15