Attempt Details

Package: npm:svelte 4.2.16

Artifact: svelte-4.2.16.tgz

Status: Failed

Run ID: 2025-10-10T17:09:25Z

Started: 2025-10-10 17:55:36

Created: 2025-10-10 18:00:30

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

Duration: 4m54s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/sveltejs/svelte",
    "ref": "8e4c7788a995ce1b867d1c3f638a2695ef0cfbb3",
    "dir": "packages/svelte",
    "npm_version": "10.5.0",
    "node_version": "18.20.2",
    "command": "build",
    "registry_time": "2024-05-07T12:45:16.82Z",
    "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/sveltejs/svelte .
 git checkout --force '8e4c7788a995ce1b867d1c3f638a2695ef0cfbb3'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v18.20.2/node-v18.20.2-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@10.5.0 -c 'cd packages/svelte && npm_config_registry=http://npm:2024-05-07T12:45:16Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@10.5.0 -c 'cd packages/svelte && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/svelte/svelte-4.2.16.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]