Attempt Details

Package: npm:tailwindcss 3.4.18

Artifact: tailwindcss-3.4.18.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-10-01 15:36:19

Created: 2025-10-01 15:42:47

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

Duration: 6m27s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/tailwindlabs/tailwindcss",
    "ref": "229b1984dc9a8c0edad83d31d0a357e6a0c67c5a",
    "dir": ".",
    "npm_version": "6.14.18",
    "node_version": "14.21.3",
    "command": "build",
    "registry_time": "2025-10-01T15:31:37.586Z",
    "prepack_remove_deps": true,
    "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/tailwindlabs/tailwindcss .
 git checkout --force '229b1984dc9a8c0edad83d31d0a357e6a0c67c5a'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v14.21.3/node-v14.21.3-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@6.14.18 -c 'npm_config_registry=http://npm:2025-10-01T15:31:37Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@6.14.18 -c 'npm config set unsafe-perm true && npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/tailwindcss-3.4.18.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]