[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#c29082fe7dc6e902169cacbae165562a7e4a1fd6 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-computervision-opencv" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasif1024/rust-computervision-opencv on toolchain c29082fe7dc6e902169cacbae165562a7e4a1fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "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-2-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" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9eaa3c428a171b4b67a96fad1458b58d27e12823116261a3a23428488123039 [INFO] running `Command { std: "docker" "start" "-a" "d9eaa3c428a171b4b67a96fad1458b58d27e12823116261a3a23428488123039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9eaa3c428a171b4b67a96fad1458b58d27e12823116261a3a23428488123039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9eaa3c428a171b4b67a96fad1458b58d27e12823116261a3a23428488123039", kill_on_drop: false }` [INFO] [stdout] d9eaa3c428a171b4b67a96fad1458b58d27e12823116261a3a23428488123039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7227db5474826db0c328c6e99fb1c5800ee2175e34a5f413db4c5c2c7130e59a [INFO] running `Command { std: "docker" "start" "-a" "7227db5474826db0c328c6e99fb1c5800ee2175e34a5f413db4c5c2c7130e59a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [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: 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "7227db5474826db0c328c6e99fb1c5800ee2175e34a5f413db4c5c2c7130e59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7227db5474826db0c328c6e99fb1c5800ee2175e34a5f413db4c5c2c7130e59a", kill_on_drop: false }` [INFO] [stdout] 7227db5474826db0c328c6e99fb1c5800ee2175e34a5f413db4c5c2c7130e59a