Attempt Details

Package: npm:tldts-core 7.5.5

Artifact: tldts-core-7.5.5.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-19 16:18:38

Created: 2026-11-19 16:18:38

Finished: 2026-11-19 16:21:17

Duration: 2m39s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/remusao/tldts",
    "ref": "30f32825e9b587489b21e0ac70370c59ee3f6412",
    "dir": "packages/tldts-core",
    "submodules": [
      {
        "repo": "https://github.com/publicsuffix/list",
        "ref": "09c1b150f33c6145a73afcf7db0fb872fc54b4d1",
        "dir": "publicsuffix"
      }
    ],
    "npm_version": "11.19.0",
    "node_version": "24.21.0",
    "command": "build",
    "registry_time": "2026-11-19T16:15:38.568Z"
  }
}

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-core && 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 '30f32825e9b587489b21e0ac70370c59ee3f6412'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/publicsuffix/list 'publicsuffix'
 git -C 'publicsuffix' checkout --force '09c1b150f33c6145a73afcf7db0fb872fc54b4d1'
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-core && npm_config_registry=http://npm:2026-11-19T16:15:38Z@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-core && npm run build && npm pack'
 mkdir /out && cp /src/packages/tldts-core/tldts-core-7.5.5.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]