Attempt Details

Package: npm:tldts 7.6.3

Artifact: tldts-7.6.3.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-28 16:41:05

Created: 2026-11-28 16:41:05

Finished: 2026-11-28 16:43:23

Duration: 2m18s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/remusao/tldts",
    "ref": "98945fd896733749aaa413999cb6e50d6a41307e",
    "dir": "packages/tldts",
    "submodules": [
      {
        "repo": "https://github.com/publicsuffix/list",
        "ref": "73edc270543c9a079e6a21f310adc5744ee7c20d",
        "dir": "publicsuffix"
      }
    ],
    "npm_version": "11.19.0",
    "node_version": "24.21.0",
    "command": "build",
    "registry_time": "2026-11-28T16:36:36.989Z"
  }
}

Full Message

executing rebuild: executing rebuild: build failed in container run phase; the failing command was `/usr/local/bin/npx '--package=npm@11.19.0' -c 'cd packages/tldts && npm run build && npm pack'`

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/remusao/tldts .
 git checkout --force '98945fd896733749aaa413999cb6e50d6a41307e'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/publicsuffix/list 'publicsuffix'
 git -C 'publicsuffix' checkout --force '73edc270543c9a079e6a21f310adc5744ee7c20d'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 wget -O - https://unofficial-builds.nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.19.0 -c 'cd packages/tldts && npm_config_registry=http://npm:2026-11-28T16:36:36Z@localhost:8080 npm install --force --no-audit --replace-registry-host=never --allow-remote=all'
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.19.0 -c 'cd packages/tldts && npm run build && npm pack'
 mkdir /out && cp /src/packages/tldts/tldts-7.6.3.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]