Attempt Details

Package: cratesio:swc_ecma_visit 0.22.0

Artifact: swc_ecma_visit-0.22.0.crate

Status: Success

Run ID: 2026-11-23T12:20:23Z

Started: 2026-11-23 22:06:54

Created: 2026-11-23 22:06:54

Finished: 2026-11-23 22:13:46

Duration: 6m53s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/swc-project/swc",
    "ref": "8a8db58f1c879a269fecfbcf08813f40b580ca0f",
    "dir": "ecmascript/visit",
    "submodules": [
      {
        "repo": "https://github.com/tc39/test262-parser-tests",
        "ref": "de8a208ff4364d47401661c02508e4959d10f341",
        "dir": "ecmascript/parser/tests/test262-parser"
      }
    ],
    "rust_version": "1.48.0",
    "explicit_lockfile": null
  }
}

Full Message



    

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 rustup
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/swc-project/swc .
 git checkout --force '8a8db58f1c879a269fecfbcf08813f40b580ca0f'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/tc39/test262-parser-tests 'ecmascript/parser/tests/test262-parser'
 git -C 'ecmascript/parser/tests/test262-parser' checkout --force 'de8a208ff4364d47401661c02508e4959d10f341'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.48.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd ecmascript/visit && /root/.cargo/bin/cargo +1.48.0 package --no-verify)
 mkdir /out && cp /src/target/package/swc_ecma_visit-0.22.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]