[INFO] fetching crate img2vec 0.2.16... [INFO] testing img2vec-0.2.16 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate img2vec 0.2.16 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate img2vec 0.2.16 [INFO] finished tweaking crates.io crate img2vec 0.2.16 [INFO] tweaked toml for crates.io crate img2vec 0.2.16 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img2vec 0.2.16 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding directories v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.16.0 (available: v0.17.0) [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] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9921f516cfd259b554037235751fd7308038f8be1d869761758f5029cba737cf [INFO] running `Command { std: "docker" "start" "-a" "9921f516cfd259b554037235751fd7308038f8be1d869761758f5029cba737cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9921f516cfd259b554037235751fd7308038f8be1d869761758f5029cba737cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9921f516cfd259b554037235751fd7308038f8be1d869761758f5029cba737cf", kill_on_drop: false }` [INFO] [stdout] 9921f516cfd259b554037235751fd7308038f8be1d869761758f5029cba737cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5e8a6b614b1e3f128c5224a6dc41588abe9e2ab7a66166d4fa955709e383fd7c [INFO] running `Command { std: "docker" "start" "-a" "5e8a6b614b1e3f128c5224a6dc41588abe9e2ab7a66166d4fa955709e383fd7c", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling lapack-sys v0.14.0 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling vec_security v0.1.1 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Compiling lax v0.16.0 [INFO] [stderr] Compiling ndarray-linalg v0.16.0 [INFO] [stderr] Compiling img2vec v0.2.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `new_auth` [INFO] [stdout] --> src/lib.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | use vec_security::vec_security::{new_auth,Authorization}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn register_face(db : Db) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let p = path.clone(); [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] 138 - let p = path.clone(); [INFO] [stdout] 138 + let p = path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.21s [INFO] running `Command { std: "docker" "inspect" "5e8a6b614b1e3f128c5224a6dc41588abe9e2ab7a66166d4fa955709e383fd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8a6b614b1e3f128c5224a6dc41588abe9e2ab7a66166d4fa955709e383fd7c", kill_on_drop: false }` [INFO] [stdout] 5e8a6b614b1e3f128c5224a6dc41588abe9e2ab7a66166d4fa955709e383fd7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] eb472b68b8dae3914bed7c4cb519a8120c7a9944f2f81ce10154ecbd7111cfd2 [INFO] running `Command { std: "docker" "start" "-a" "eb472b68b8dae3914bed7c4cb519a8120c7a9944f2f81ce10154ecbd7111cfd2", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] warning: unused import: `new_auth` [INFO] [stdout] --> src/lib.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | use vec_security::vec_security::{new_auth,Authorization}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn register_face(db : Db) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling img2vec v0.2.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let p = path.clone(); [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] 138 - let p = path.clone(); [INFO] [stdout] 138 + let p = path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_auth` [INFO] [stdout] --> src/lib.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | use vec_security::vec_security::{new_auth,Authorization}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn register_face(db : Db) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let p = path.clone(); [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] 138 - let p = path.clone(); [INFO] [stdout] 138 + let p = path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "eb472b68b8dae3914bed7c4cb519a8120c7a9944f2f81ce10154ecbd7111cfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb472b68b8dae3914bed7c4cb519a8120c7a9944f2f81ce10154ecbd7111cfd2", kill_on_drop: false }` [INFO] [stdout] eb472b68b8dae3914bed7c4cb519a8120c7a9944f2f81ce10154ecbd7111cfd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 07460339c1b26acb0c26f87c1e921709df46febceda313ba0f2341b376237b1f [INFO] running `Command { std: "docker" "start" "-a" "07460339c1b26acb0c26f87c1e921709df46febceda313ba0f2341b376237b1f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: unused import: `new_auth` [INFO] [stderr] --> src/lib.rs:110:38 [INFO] [stderr] | [INFO] [stderr] 110 | use vec_security::vec_security::{new_auth,Authorization}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/lib.rs:129:32 [INFO] [stderr] | [INFO] [stderr] 129 | pub async fn register_face(db : Db) -> Result<(), std::io::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:138:25 [INFO] [stderr] | [INFO] [stderr] 138 | let p = path.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 138 - let p = path.clone(); [INFO] [stderr] 138 + let p = path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `img2vec` (lib) generated 3 warnings (run `cargo fix --lib -p img2vec` to apply 2 suggestions) [INFO] [stderr] warning: `img2vec` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img2vec-21b1c1873c7ff28d) [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 img2vec [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] running `Command { std: "docker" "inspect" "07460339c1b26acb0c26f87c1e921709df46febceda313ba0f2341b376237b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07460339c1b26acb0c26f87c1e921709df46febceda313ba0f2341b376237b1f", kill_on_drop: false }` [INFO] [stdout] 07460339c1b26acb0c26f87c1e921709df46febceda313ba0f2341b376237b1f