Attempt Details

Package: npm:hardhat 2.28.2

Artifact: hardhat-2.28.2.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-12-30 12:52:54

Created: 2025-12-30 12:55:49

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

Duration: 2m55s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/nomicfoundation/hardhat",
    "ref": "526f3b0bc95218ad64f1a9376311324e90a540f9",
    "dir": "packages/hardhat-core",
    "npm_version": "11.7.0",
    "node_version": "21.0.0",
    "command": "build",
    "registry_time": "2025-12-30T12:46:27.091Z",
    "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.21
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20251211001310-499b5fb97512/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 '526f3b0bc95218ad64f1a9376311324e90a540f9'
 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.7.0 -c 'cd packages/hardhat-core && npm_config_registry=http://npm:2025-12-30T12:46:27Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.7.0 -c 'cd packages/hardhat-core && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/hardhat-core/hardhat-2.28.2.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]