Attempt Details

Package: npm:caniuse-lite 1.0.30001762

Artifact: caniuse-lite-1.0.30001762.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-12-29 21:57:20

Created: 2025-12-29 21:59:48

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

Duration: 2m28s

Logs: View in Cloud Storage

Strategy

{
  "npm_pack_build": {
    "repo": "https://github.com/browserslist/caniuse-lite",
    "ref": "011fa7c7005b4bf256b2d9c1140270135eece7cf",
    "dir": ".",
    "npm_version": "11.6.2",
    "version_override": ""
  }
}

Full Message

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

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/browserslist/caniuse-lite .
 git checkout --force '011fa7c7005b4bf256b2d9c1140270135eece7cf'
 
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/bin/npx --package=npm@11.6.2 -c 'npm pack'
 mkdir /out && cp /src/caniuse-lite-1.0.30001762.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]