Attempt Details

Package: npm:styled-components 6.1.11

Artifact: styled-components-6.1.11.tgz

Status: Failed

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

Started: 2025-10-10 17:12:20

Created: 2025-10-10 17:13:11

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

Duration: 51s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/styled-components/styled-components",
    "ref": "770d1fa2bc1a4bfe3eea1b14a0357671ba9407a4",
    "dir": "packages/styled-components",
    "npm_version": "9.8.1",
    "node_version": "20.6.0",
    "command": "build",
    "registry_time": "2024-05-09T17:49:46.623Z",
    "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/styled-components/styled-components .
 git checkout --force '770d1fa2bc1a4bfe3eea1b14a0357671ba9407a4'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v20.6.0/node-v20.6.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@9.8.1 -c 'cd packages/styled-components && npm_config_registry=http://npm:2024-05-09T17:49:46Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@9.8.1 -c 'cd packages/styled-components && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/packages/styled-components/styled-components-6.1.11.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]