Attempt Details

Package: npm:hardhat 3.0.1

Artifact: hardhat-3.0.1.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-08-28 17:44:02

Created: 2025-08-28 17:46:08

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

Duration: 2m6s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/nomicfoundation/hardhat",
    "ref": "f6d30c7a2f6c1139063cae3996e05481a14c9a55",
    "dir": "v-next/hardhat",
    "npm_version": "11.5.1",
    "node_version": "24.6.0",
    "command": "build",
    "registry_time": "2025-08-21T18:07:13.812Z",
    "prepack_remove_deps": true
  }
}

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-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/nomicfoundation/hardhat .
 git checkout --force 'f6d30c7a2f6c1139063cae3996e05481a14c9a55'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v24.6.0/node-v24.6.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.5.1 -c 'cd v-next/hardhat && npm_config_registry=http://npm:2025-08-21T18:07:13Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.5.1 -c 'cd v-next/hardhat && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/v-next/hardhat/hardhat-3.0.1.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]