[INFO] cloning repository https://github.com/PrattFall/rust-opencv-motion-detection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PrattFall/rust-opencv-motion-detection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrattFall%2Frust-opencv-motion-detection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrattFall%2Frust-opencv-motion-detection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c69b150b94965334d578c5bcdc339f9ae18e820 [INFO] checking PrattFall/rust-opencv-motion-detection against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrattFall%2Frust-opencv-motion-detection" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrattFall/rust-opencv-motion-detection on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PrattFall/rust-opencv-motion-detection [INFO] finished tweaking git repo https://github.com/PrattFall/rust-opencv-motion-detection [INFO] tweaked toml for git repo https://github.com/PrattFall/rust-opencv-motion-detection written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/PrattFall/rust-opencv-motion-detection already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded opencv-binding-generator v0.27.1 [INFO] [stderr] Downloaded clang v1.0.3 [INFO] [stderr] Downloaded opencv v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91fe539cfbe43e2955e218c115bede6ceb4bb33d8e6b6d83721d20141274f449 [INFO] running `Command { std: "docker" "start" "-a" "91fe539cfbe43e2955e218c115bede6ceb4bb33d8e6b6d83721d20141274f449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91fe539cfbe43e2955e218c115bede6ceb4bb33d8e6b6d83721d20141274f449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fe539cfbe43e2955e218c115bede6ceb4bb33d8e6b6d83721d20141274f449", kill_on_drop: false }` [INFO] [stdout] 91fe539cfbe43e2955e218c115bede6ceb4bb33d8e6b6d83721d20141274f449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e20f7bdd002af294c35dfb963d67e3031d8e18996ad1b964d6fbe57b7c32a447 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e20f7bdd002af294c35dfb963d67e3031d8e18996ad1b964d6fbe57b7c32a447", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling dunce v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling vcpkg v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clang v1.0.3 [INFO] [stderr] Compiling opencv-binding-generator v0.27.1 [INFO] [stderr] Compiling opencv v0.53.0 [INFO] [stderr] error: failed to run custom build command for `opencv v0.53.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/opencv-00e5f278cc7c8840/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV4_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=OPENCV_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] === Crate version: Some("0.53.0") [INFO] [stderr] === Environment configuration: [INFO] [stderr] === OPENCV_PACKAGE_NAME = None [INFO] [stderr] === OPENCV_PKGCONFIG_NAME = None [INFO] [stderr] === OPENCV_CMAKE_NAME = None [INFO] [stderr] === OPENCV_CMAKE_BIN = None [INFO] [stderr] === OPENCV_VCPKG_NAME = None [INFO] [stderr] === OPENCV_LINK_LIBS = None [INFO] [stderr] === OPENCV_LINK_PATHS = None [INFO] [stderr] === OPENCV_INCLUDE_PATHS = None [INFO] [stderr] === OPENCV_DISABLE_PROBES = None [INFO] [stderr] === OPENCV_MODULE_WHITELIST = None [INFO] [stderr] === OPENCV_MODULE_BLACKLIST = None [INFO] [stderr] === CMAKE_PREFIX_PATH = None [INFO] [stderr] === OpenCV_DIR = None [INFO] [stderr] === PKG_CONFIG_PATH = None [INFO] [stderr] === VCPKG_ROOT = None [INFO] [stderr] === VCPKGRS_DYNAMIC = None [INFO] [stderr] === Enabled features: [INFO] [stderr] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false [INFO] [stderr] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg [INFO] [stderr] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing [INFO] [stderr] === Probing OpenCV library using pkg_config [INFO] [stderr] === Can't probe using: pkg_config, continuing with other methods because: `"pkg-config" "--libs" "--cflags" "opencv4"` did not exit successfully: exit status: 1 [INFO] [stderr] --- stderr [INFO] [stderr] Package opencv4 was not found in the pkg-config search path. [INFO] [stderr] Perhaps you should add the directory containing `opencv4.pc' [INFO] [stderr] to the PKG_CONFIG_PATH environment variable [INFO] [stderr] No package 'opencv4' found [INFO] [stderr] , `"pkg-config" "--libs" "--cflags" "opencv"` did not exit successfully: exit status: 1 [INFO] [stderr] --- stderr [INFO] [stderr] Package opencv was not found in the pkg-config search path. [INFO] [stderr] Perhaps you should add the directory containing `opencv.pc' [INFO] [stderr] to the PKG_CONFIG_PATH environment variable [INFO] [stderr] No package 'opencv' found [INFO] [stderr] [INFO] [stderr] === Probing OpenCV library using cmake [INFO] [stderr] === cmake ninja probe command: "cmake" "--log-level=NOTICE" "-S" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/opencv-0.53.0/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja" [INFO] [stderr] === Probing with cmake ninja generator failed, will try makefile generator, error: cmake returned an error [INFO] [stderr] stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/opt/rustwide/target/debug/build/opencv-109c9fc5e5c20b13/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n" [INFO] [stderr] stderr: "CMake Error at CMakeLists.txt:5 (find_package):\n By not providing \"FindOpenCV.cmake\" in CMAKE_MODULE_PATH this project has\n asked CMake to find a package configuration file provided by \"OpenCV\", but\n CMake did not find one.\n\n Could not find a package configuration file provided by \"OpenCV\" with any\n of the following names:\n\n OpenCVConfig.cmake\n opencv-config.cmake\n\n Add the installation prefix of \"OpenCV\" to CMAKE_PREFIX_PATH or set\n \"OpenCV_DIR\" to a directory containing one of the above files. If \"OpenCV\"\n provides a separate development package or SDK, be sure it has been\n installed.\n\n\n" [INFO] [stderr] === cmake makefiles probe command: "cmake" "--log-level=NOTICE" "-S" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/opencv-0.53.0/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles" [INFO] [stderr] === Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error [INFO] [stderr] stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/opt/rustwide/target/debug/build/opencv-109c9fc5e5c20b13/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n" [INFO] [stderr] stderr: "CMake Error at CMakeLists.txt:5 (find_package):\n By not providing \"FindOpenCV.cmake\" in CMAKE_MODULE_PATH this project has\n asked CMake to find a package configuration file provided by \"OpenCV\", but\n CMake did not find one.\n\n Could not find a package configuration file provided by \"OpenCV\" with any\n of the following names:\n\n OpenCVConfig.cmake\n opencv-config.cmake\n\n Add the installation prefix of \"OpenCV\" to CMAKE_PREFIX_PATH or set\n \"OpenCV_DIR\" to a directory containing one of the above files. If \"OpenCV\"\n provides a separate development package or SDK, be sure it has been\n installed.\n\n\n" [INFO] [stderr] === Can't probe using: cmake, continuing with other methods because: cmake returned an error [INFO] [stderr] stdout: "OpenCV not found.\n" [INFO] [stderr] stderr: "CMake Error: Problem processing arguments. Aborting.\n\n" [INFO] [stderr] === Probing OpenCV library using vcpkg_cmake [INFO] [stderr] === Can't probe using: vcpkg_cmake, continuing with other methods because: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install' [INFO] [stderr] === Probing OpenCV library using vcpkg [INFO] [stderr] === Can't probe using: vcpkg, continuing with other methods because: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install', Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install' [INFO] [stderr] Error: "Failed to find OpenCV package using probes: environment, pkg_config, cmake, vcpkg_cmake, vcpkg" [INFO] running `Command { std: "docker" "inspect" "e20f7bdd002af294c35dfb963d67e3031d8e18996ad1b964d6fbe57b7c32a447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20f7bdd002af294c35dfb963d67e3031d8e18996ad1b964d6fbe57b7c32a447", kill_on_drop: false }` [INFO] [stdout] e20f7bdd002af294c35dfb963d67e3031d8e18996ad1b964d6fbe57b7c32a447