[INFO] fetching crate img2vec 0.2.16... [INFO] testing img2vec-0.2.16 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate img2vec 0.2.16 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img2vec 0.2.16 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 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.10) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.17.2) [INFO] [stderr] Adding ndarray-linalg v0.16.0 (available: v0.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98cebed4eb3c86c0779523e0f2c78838703f7afa99e9cfe9defeb63e7c183a9f [INFO] running `Command { std: "docker" "start" "-a" "98cebed4eb3c86c0779523e0f2c78838703f7afa99e9cfe9defeb63e7c183a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98cebed4eb3c86c0779523e0f2c78838703f7afa99e9cfe9defeb63e7c183a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98cebed4eb3c86c0779523e0f2c78838703f7afa99e9cfe9defeb63e7c183a9f", kill_on_drop: false }` [INFO] [stdout] 98cebed4eb3c86c0779523e0f2c78838703f7afa99e9cfe9defeb63e7c183a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 244e5bd18e6bc19e443935ff60c372cd583ba3535f099aab74f982fba0bade6d [INFO] running `Command { std: "docker" "start" "-a" "244e5bd18e6bc19e443935ff60c372cd583ba3535f099aab74f982fba0bade6d", 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 find-msvc-tools v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8-zero v0.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling der v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling lapack-sys v0.14.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rayon v1.11.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 qoi v0.4.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ureq-proto v0.6.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.45 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling ureq v3.3.0 [INFO] [stderr] Compiling vec_security v0.1.1 [INFO] [stderr] Compiling openblas-build v0.10.15 [INFO] [stderr] Compiling openblas-src v0.10.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling lax v0.16.0 [INFO] [stderr] Compiling image v0.24.9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 50.65s [INFO] running `Command { std: "docker" "inspect" "244e5bd18e6bc19e443935ff60c372cd583ba3535f099aab74f982fba0bade6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "244e5bd18e6bc19e443935ff60c372cd583ba3535f099aab74f982fba0bade6d", kill_on_drop: false }` [INFO] [stdout] 244e5bd18e6bc19e443935ff60c372cd583ba3535f099aab74f982fba0bade6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51dd32c45ce0579dc0424a82928d7bc743154ea9929efdfa1f9f0d18fc58333 [INFO] running `Command { std: "docker" "start" "-a" "c51dd32c45ce0579dc0424a82928d7bc743154ea9929efdfa1f9f0d18fc58333", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 1.82s [INFO] running `Command { std: "docker" "inspect" "c51dd32c45ce0579dc0424a82928d7bc743154ea9929efdfa1f9f0d18fc58333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51dd32c45ce0579dc0424a82928d7bc743154ea9929efdfa1f9f0d18fc58333", kill_on_drop: false }` [INFO] [stdout] c51dd32c45ce0579dc0424a82928d7bc743154ea9929efdfa1f9f0d18fc58333 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 649b64a90912213f2b1e4c14d98fca84f9f2292eeca89a2cf13e62420d51cb8a [INFO] running `Command { std: "docker" "start" "-a" "649b64a90912213f2b1e4c14d98fca84f9f2292eeca89a2cf13e62420d51cb8a", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 3 suggestions) [INFO] [stderr] warning: `img2vec` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img2vec-44570cb38db59a10) [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" "649b64a90912213f2b1e4c14d98fca84f9f2292eeca89a2cf13e62420d51cb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649b64a90912213f2b1e4c14d98fca84f9f2292eeca89a2cf13e62420d51cb8a", kill_on_drop: false }` [INFO] [stdout] 649b64a90912213f2b1e4c14d98fca84f9f2292eeca89a2cf13e62420d51cb8a