[INFO] cloning repository https://github.com/ThoFrank/webcam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThoFrank/webcam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThoFrank%2Fwebcam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThoFrank%2Fwebcam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdf97d4277634a74700b76f3a8d139741b1a8e28 [INFO] checking ThoFrank/webcam against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThoFrank%2Fwebcam" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThoFrank/webcam on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThoFrank/webcam [INFO] finished tweaking git repo https://github.com/ThoFrank/webcam [INFO] tweaked toml for git repo https://github.com/ThoFrank/webcam written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/ThoFrank/webcam already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded type-map v0.4.0 [INFO] [stderr] Downloaded intl-memoizer v0.5.1 [INFO] [stderr] Downloaded dunce v1.0.1 [INFO] [stderr] Downloaded clang v1.0.3 [INFO] [stderr] Downloaded time v0.2.26 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded const_fn v0.4.6 [INFO] [stderr] Downloaded shlex v1.0.0 [INFO] [stderr] Downloaded opencv-binding-generator v0.26.0 [INFO] [stderr] Downloaded opencv v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f4ebf79dcd66de5fa6394b35a17fe21bb86c19517c9c152b89725199db5d068 [INFO] running `Command { std: "docker" "start" "-a" "5f4ebf79dcd66de5fa6394b35a17fe21bb86c19517c9c152b89725199db5d068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f4ebf79dcd66de5fa6394b35a17fe21bb86c19517c9c152b89725199db5d068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4ebf79dcd66de5fa6394b35a17fe21bb86c19517c9c152b89725199db5d068", kill_on_drop: false }` [INFO] [stdout] 5f4ebf79dcd66de5fa6394b35a17fe21bb86c19517c9c152b89725199db5d068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56726ea0122420435d27e2a41a072a3a0a3f010f50686fa4d1b80953cecf16e1 [INFO] running `Command { std: "docker" "start" "-a" "56726ea0122420435d27e2a41a072a3a0a3f010f50686fa4d1b80953cecf16e1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] memchr v2.3.4: use_std [INFO] [stderr] standback v0.2.17 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dunce v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling clang v1.0.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling opencv-binding-generator v0.26.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling opencv v0.52.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] error: failed to run custom build command for `opencv v0.52.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/opencv-6f9221cde289e2f3/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] [INFO] [stderr] --- stderr [INFO] [stderr] === Crate version: Some("0.52.0") [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] === OPENCV_CLANG_STDLIB_PATH = 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] === BINDING_GENERATOR [INFO] [stderr] === BUILDTIME_BINDGEN [INFO] [stderr] === CLANG [INFO] [stderr] === JOBSERVER [INFO] [stderr] === OPENCV_4 [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] [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.52.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-0804eea2bd09c08a/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.52.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-0804eea2bd09c08a/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' [INFO] [stderr] Error: "Failed to find OpenCV package using probes: environment, pkg_config, cmake, vcpkg_cmake, vcpkg" [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "56726ea0122420435d27e2a41a072a3a0a3f010f50686fa4d1b80953cecf16e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56726ea0122420435d27e2a41a072a3a0a3f010f50686fa4d1b80953cecf16e1", kill_on_drop: false }` [INFO] [stdout] 56726ea0122420435d27e2a41a072a3a0a3f010f50686fa4d1b80953cecf16e1