Attempt Details

Package: npm:react-router 0.0.0-nightly-7bc242270-20250412

Artifact: react-router-0.0.0-nightly-7bc242270-20250412.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-04-19 02:21:28

Created: 2025-04-19 02:24:08

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

Duration: 2m40s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/remix-run/react-router",
    "ref": "d87f2a0b01fc18e0c77b5e13e344fd8c27d9c4a0",
    "dir": "packages/react-router",
    "npm_version": "10.8.2",
    "node_version": "21.0.0",
    "command": "build",
    "registry_time": "2025-04-12T07:07:05.42Z"
  }
}

Full Message

executing rebuild: rebuilding: rebuild failed: performing build: GCB build failed: 

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.19
RUN <<'EOF'
 set -eux
 wget https://google-rebuild-bootstrap-tools.storage.googleapis.com/v0.0.0-20250210190002-d5b4426b9c2d/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/remix-run/react-router .
 git checkout --force 'd87f2a0b01fc18e0c77b5e13e344fd8c27d9c4a0'
 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@10.8.2 -c 'cd packages/react-router && npm_config_registry=http://npm:2025-04-12T07:07:05Z@localhost:8080 npm install --force'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@10.8.2 -c 'cd packages/react-router && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/react-router/react-router-0.0.0-nightly-7bc242270-20250412.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]