buildx failed with: ERROR: failed to solve: process "/bin/sh -c curl -Lo opencv.zip ${OPENCV_FILE} && unzip -q opencv.zip && curl -Lo opencv_contrib.zip ${OPENCV_CONTRIB_FILE} && unzip -q opencv_contrib.zip && rm opencv.zip opencv_contrib.zip && cd opencv-${OPENCV_VERSION} && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_IPP=OFF -D WITH_OPENGL=OFF -D WITH_QT=OFF -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${OPENCV_VERSION}/modules -D OPENCV_ENABLE_NONFREE=ON -D WITH_JASPER=OFF -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=ON -D BUILD_opencv_java=NO -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D WITH_TBB=ON -D BUILD_JPEG=ON -D WITH_SIMD=ON -D WITH_LIBJPEG_TURBO_SIMD=ON -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda/ -D BUILD_opencv_cudacodec=OFF -D WITH_CUDNN=ON -D OPENCV_DNN_CUDA=ON -D CUDA_GENERATION=Auto -D OPENCV_GENERATE_PKGCONFIG=ON .. && make -j $(nproc --all) && make preinstall && make install && ldconfig && cd / && rm -rf opencv*" did not complete successfully: exit code: 2