Attempt Details

Package: npm:react-intl 2.9.0

Artifact: react-intl-2.9.0.tgz

Status: Failed

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

Started: 2025-10-10 18:06:18

Created: 2025-10-10 18:13:05

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

Duration: 6m47s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/yahoo/react-intl",
    "ref": "3da1dcacb12aa264f8104335488cc375c6954da4",
    "dir": ".",
    "npm_version": "6.9.0",
    "node_version": "10.16.3",
    "command": "build",
    "registry_time": "2019-05-15T18:00:04.792Z",
    "keep_root": true
  }
}

Full Message

executing rebuild: rpc error: code = FailedPrecondition desc = rebuild content mismatch

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/yahoo/react-intl .
 git checkout --force '3da1dcacb12aa264f8104335488cc375c6954da4'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v10.16.3/node-v10.16.3-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@6.9.0 -c 'npm_config_registry=http://npm:2019-05-15T18:00:04Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@6.9.0 -c 'npm config set unsafe-perm true && npm run build && npm pack'
 mkdir /out && cp /src/react-intl-2.9.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]