[INFO] cloning repository https://github.com/a-givertzman/open-cv-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-givertzman/open-cv-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Fopen-cv-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Fopen-cv-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab279aa37789c977fa95ef7bbaff9dc2780902e9 [INFO] checking a-givertzman/open-cv-test/ab279aa37789c977fa95ef7bbaff9dc2780902e9 against try#52ae2445414b2a196b318d85c2819995c6e5f1aa for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Fopen-cv-test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a-givertzman/open-cv-test on toolchain 52ae2445414b2a196b318d85c2819995c6e5f1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/a-givertzman/open-cv-test [INFO] finished tweaking git repo https://github.com/a-givertzman/open-cv-test [INFO] tweaked toml for git repo https://github.com/a-givertzman/open-cv-test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/a-givertzman/open-cv-test 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" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a44b11cb093267b5e9d8d37c4caf16feab8c02de2f579b161acd07e6025752 [INFO] running `Command { std: "docker" "start" "-a" "32a44b11cb093267b5e9d8d37c4caf16feab8c02de2f579b161acd07e6025752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a44b11cb093267b5e9d8d37c4caf16feab8c02de2f579b161acd07e6025752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a44b11cb093267b5e9d8d37c4caf16feab8c02de2f579b161acd07e6025752", kill_on_drop: false }` [INFO] [stdout] 32a44b11cb093267b5e9d8d37c4caf16feab8c02de2f579b161acd07e6025752 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8228deb609baeec9ce5b37a8c1bd3d58fa5ff8f9b195cbf0d0c4738510ea42 [INFO] running `Command { std: "docker" "start" "-a" "9a8228deb609baeec9ce5b37a8c1bd3d58fa5ff8f9b195cbf0d0c4738510ea42", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling opencv-binding-generator v0.56.0 [INFO] [stderr] Compiling opencv v0.77.0 [INFO] [stderr] Checking open-cv-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `features2d` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | features2d, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `features2d` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | features2d, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patternImg` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut patternImg = match imgcodecs::imread("./assets/patterns/p1.png", imgcodecs::IMREAD_COLOR) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patternImg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patternImg` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut patternImg = match imgcodecs::imread("./assets/patterns/p1.png", imgcodecs::IMREAD_COLOR) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patternImg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dstImg` [INFO] [stdout] --> src/main.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dstImg = core::Mat::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstImg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dstImg` [INFO] [stdout] --> src/main.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dstImg = core::Mat::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstImg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut patternImg = match imgcodecs::imread("./assets/patterns/p1.png", imgcodecs::IMREAD_COLOR) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut patternImg = match imgcodecs::imread("./assets/patterns/p1.png", imgcodecs::IMREAD_COLOR) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dstImg = core::Mat::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dstImg = core::Mat::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `faceDetection` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn faceDetection() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `faceDetection` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn faceDetection() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "9a8228deb609baeec9ce5b37a8c1bd3d58fa5ff8f9b195cbf0d0c4738510ea42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8228deb609baeec9ce5b37a8c1bd3d58fa5ff8f9b195cbf0d0c4738510ea42", kill_on_drop: false }` [INFO] [stdout] 9a8228deb609baeec9ce5b37a8c1bd3d58fa5ff8f9b195cbf0d0c4738510ea42