[INFO] cloning repository https://github.com/wasif1024/rust-computervision-opencv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasif1024/rust-computervision-opencv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-computervision-opencv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-computervision-opencv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b97fb2f2e0211220083754fdb91b6eff2c189908 [INFO] checking wasif1024/rust-computervision-opencv against master#52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7 for pr-113312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-computervision-opencv" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasif1024/rust-computervision-opencv on toolchain 52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasif1024/rust-computervision-opencv [INFO] finished tweaking git repo https://github.com/wasif1024/rust-computervision-opencv [INFO] tweaked toml for git repo https://github.com/wasif1024/rust-computervision-opencv written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wasif1024/rust-computervision-opencv 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" "+52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opencv-binding-generator v0.56.0 [INFO] [stderr] Downloaded opencv v0.77.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104beb5e2931547808a78ecc59a44e991a0f6178200afafdaa406abf452d22df [INFO] running `Command { std: "docker" "start" "-a" "104beb5e2931547808a78ecc59a44e991a0f6178200afafdaa406abf452d22df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104beb5e2931547808a78ecc59a44e991a0f6178200afafdaa406abf452d22df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104beb5e2931547808a78ecc59a44e991a0f6178200afafdaa406abf452d22df", kill_on_drop: false }` [INFO] [stdout] 104beb5e2931547808a78ecc59a44e991a0f6178200afafdaa406abf452d22df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+52d8c490a3aabe65cdd9f2d3aed95034dd5dbad7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80dccd6fd2cc9d3f887cb09ac51c22ee5ae84f983b9f6596aa446f134692f774 [INFO] running `Command { std: "docker" "start" "-a" "80dccd6fd2cc9d3f887cb09ac51c22ee5ae84f983b9f6596aa446f134692f774", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling clang-sys v1.4.0 [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 rust-opencv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 8 | / loop { [INFO] [stdout] 9 | | camera.read(&mut img)?; [INFO] [stdout] 10 | | let mut gray = Mat::default(); [INFO] [stdout] 11 | | imgproc::cvt_color(&img, &mut gray, imgproc::COLOR_BGR2GRAY, 0)?; [INFO] [stdout] ... | [INFO] [stdout] 38 | | highgui::wait_key(1)?; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 8 | / loop { [INFO] [stdout] 9 | | camera.read(&mut img)?; [INFO] [stdout] 10 | | let mut gray = Mat::default(); [INFO] [stdout] 11 | | imgproc::cvt_color(&img, &mut gray, imgproc::COLOR_BGR2GRAY, 0)?; [INFO] [stdout] ... | [INFO] [stdout] 38 | | highgui::wait_key(1)?; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut xml_path = "/usr/local/share/opencv4/haarcascades/haarcascade_eye.xml"; [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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut xml_path = "/usr/local/share/opencv4/haarcascades/haarcascade_eye.xml"; [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "80dccd6fd2cc9d3f887cb09ac51c22ee5ae84f983b9f6596aa446f134692f774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80dccd6fd2cc9d3f887cb09ac51c22ee5ae84f983b9f6596aa446f134692f774", kill_on_drop: false }` [INFO] [stdout] 80dccd6fd2cc9d3f887cb09ac51c22ee5ae84f983b9f6596aa446f134692f774