Attempt Details

Package: npm:vitest 4.0.14

Artifact: vitest-4.0.14.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-11-25 13:56:53

Created: 2025-11-25 13:58:22

Finished: 0001-01-01 00:00:00

Duration: 1m29s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/vitest-dev/vitest",
    "ref": "9ca74cfb2060d8bc1c7a319ba3cba1578517adb0",
    "dir": "packages/vitest",
    "npm_version": "11.6.3",
    "node_version": "21.0.0",
    "command": "build",
    "registry_time": "2025-11-25T13:54:37.314Z",
    "prepack_remove_deps": true
  }
}

Full Message

executing rebuild: executing rebuild: GCB build failed: 

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.19
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20250428204534-b35098b3c7b7/timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://github.com/vitest-dev/vitest .
 git checkout --force '9ca74cfb2060d8bc1c7a319ba3cba1578517adb0'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v21.0.0/node-v21.0.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.6.3 -c 'cd packages/vitest && npm_config_registry=http://npm:2025-11-25T13:54:37Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.6.3 -c 'cd packages/vitest && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/vitest/vitest-4.0.14.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]