Attempt Details

Package: npm:i18next 22.5.1

Artifact: i18next-22.5.1.tgz

Status: Failed

Run ID: 2025-12-05T00:26:00Z

Started: 2025-12-05 01:33:16

Created: 2025-12-05 01:35:19

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

Duration: 2m3s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/i18next/i18next",
    "ref": "51ef11d0703b193b71bcb6263dc585765221fec6",
    "dir": ".",
    "npm_version": "9.5.1",
    "node_version": "18.16.0",
    "command": "build",
    "registry_time": "2023-06-06T15:19:56.876Z"
  }
}

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/i18next/i18next .
 git checkout --force '51ef11d0703b193b71bcb6263dc585765221fec6'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v18.16.0/node-v18.16.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@9.5.1 -c 'npm_config_registry=http://npm:2023-06-06T15:19:56Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@9.5.1 -c 'npm run build && npm pack'
 mkdir /out && cp /src/i18next-22.5.1.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]