build error

Job failed with exit code: 1. Reason: cache miss: [runtime-slim-base 5/7] RUN echo '#!/bin/sh' > /usr/local/bin/headroom && echo 'exec python3 -m headroom.cli "$@"' >> /usr/local/bin/headroom && chmod +x /usr/local/bin/headroom cache miss: [runtime-slim-base 4/7] COPY --from=builder /build/headroom/_core*.so /build/headroom/_core*.pyd /build/headroom/_core*.dylib /usr/local/lib/python3.11/site-packages/headroom/ 2>/dev/null || true cache miss: [builder 10/14] COPY Cargo.toml Cargo.lock ./ cache miss: [builder 7/14] RUN mkdir -p headroom && touch headroom/__init__.py cache miss: [builder 6/14] COPY pyproject.toml uv.lock README.md ./ cache miss: [builder 5/14] WORKDIR /build cache miss: [builder 3/14] RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable cache miss: [builder 14/14] RUN --mount=type=cache,target=/root/.cache/uv uv pip install --system --no-deps --reinstall-package headroom-ai . && bash ./scripts/build_rust_extension.sh cache miss: [builder 13/14] COPY .cargo/ .cargo/ cache miss: [builder 9/14] COPY headroom/ headroom/ cache miss: [builder 4/14] RUN python -m pip install --no-cache-dir uv==0.6.17 maturin cache miss: [runtime-slim-base 7/7] WORKDIR /home/nonroot cache miss: [runtime-slim-base 6/7] RUN mkdir -p /home/nonroot /data && if [ "nonroot" = "nonroot" ]; then groupadd --gid 1000 nonroot && useradd --uid 1000 --gid nonroot --create-home nonroot && mkdir -p /home/nonroot/.headroom && chown -R nonroot:nonroot /data /home/nonroot; else mkdir -p /root/.headroom; fi cache miss: [builder 8/14] RUN --mount=type=cache,target=/root/.cache/uv UV_HTTP_TIMEOUT=300 uv pip install --system ".[proxy,code,ml]" && if echo "proxy,code,ml" | grep -q gpu; then uv pip uninstall --system onnxruntime && UV_HTTP_TIMEOUT=300 uv pip install --system --force-reinstall "onnxruntime-gpu>=1.16.0" "nvidia-cublas-cu12>=12.0" "nvidia-cuda-runtime-cu12>=12.0" "nvidia-cudnn-cu12>=9.0" "nvidia-cufft-cu12>=11.0" "nvidia-cuda-nvrtc-cu12>=12.0"; fi cache miss: [builder 12/14] COPY scripts/build_rust_extension.sh scripts/build_rust_extension.sh cache miss: [builder 2/14] RUN apt-get update && apt-get install -y --no-install-recommends build-essential g++ curl libssl-dev pkg-config unzip && rm -rf /var/lib/apt/lists/* cache miss: [builder 11/14] COPY crates/ crates/ {"total":25,"completed":22,"user_total":20,"user_cached":2,"user_completed":17,"user_cacheable":19,"from":1,"miss":17,"client_duration_ms":257243}

Build logs:

Fetching error logs...