[INFO] fetching crate opencv 0.36.0... [INFO] checking opencv-0.36.0 against try#8a749131e7beb72f6edacefd2bdcbed3d67b2112 for pr-72331 [INFO] extracting crate opencv 0.36.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate opencv 0.36.0 on toolchain 8a749131e7beb72f6edacefd2bdcbed3d67b2112 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate opencv 0.36.0 [INFO] finished tweaking crates.io crate opencv 0.36.0 [INFO] tweaked toml for crates.io crate opencv 0.36.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate opencv 0.36.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opencv-binding-generator v0.9.0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0002521e8d1cd3751241084cfa449178a7ba3b65472c84d03045bb68632ba2e [INFO] running `"docker" "start" "-a" "f0002521e8d1cd3751241084cfa449178a7ba3b65472c84d03045bb68632ba2e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling vcpkg v0.2.8 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling opencv v0.36.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `opencv v0.36.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/opencv-f9a8caed35e3da1e/build-script-build` (exit code: 1) [INFO] [stderr] --- stderr [INFO] [stderr] === Environment configuration: [INFO] [stderr] === OPENCV_HEADER_DIR = None [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] === CMAKE_PREFIX_PATH = None [INFO] [stderr] === OpenCV_DIR = None [INFO] [stderr] === PKG_CONFIG_PATH = None [INFO] [stderr] === VCPKG_ROOT = None [INFO] [stderr] === Probing OpenCV library using pkg_config [INFO] [stderr] === Can't probe using pkg_config, continuing with other methods, error: `"pkg-config" "--libs" "--cflags" "opencv4"` did not exit successfully: exit code: 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] [INFO] [stderr] === Probing OpenCV library using cmake [INFO] [stderr] === Can't probe using cmake, continuing with other methods, error: 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 [INFO] [stderr] === Can't probe using vcpkg, continuing with other methods, error: Could not find Vcpkg tree: Failed to read either VCPKG_ROOT or LOCALAPPDATA environment variables [INFO] [stderr] Error: "Failed to find OpenCV package using probes: pkg_config, cmake, vcpkg" [INFO] [stderr] [INFO] running `"docker" "inspect" "f0002521e8d1cd3751241084cfa449178a7ba3b65472c84d03045bb68632ba2e"` [INFO] running `"docker" "rm" "-f" "f0002521e8d1cd3751241084cfa449178a7ba3b65472c84d03045bb68632ba2e"` [INFO] [stdout] f0002521e8d1cd3751241084cfa449178a7ba3b65472c84d03045bb68632ba2e