Attempt Details

Package: cratesio:swc_css_codegen 0.151.6

Artifact: swc_css_codegen-0.151.6.crate

Status: Success

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

Started: 2026-11-23 15:05:36

Created: 2026-11-23 15:05:36

Finished: 2026-11-23 15:13:10

Duration: 7m34s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/swc-project/swc",
    "ref": "edb46c3c716dd0ac3ae187e13bec1ac9e119edd2",
    "dir": "crates/swc_css_codegen",
    "submodules": [
      {
        "repo": "https://github.com/tc39/test262-parser-tests",
        "ref": "0e808c74fbec780646434cad17bb22dc52461003",
        "dir": "crates/swc_ecma_parser/tests/test262-parser"
      },
      {
        "repo": "https://github.com/html5lib/html5lib-tests",
        "ref": "dd0d8157f15ebf35655cc0c8df2d476cda3ceba2",
        "dir": "crates/swc_html_parser/tests/html5lib-tests"
      }
    ],
    "rust_version": "1.73.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 'edb46c3c716dd0ac3ae187e13bec1ac9e119edd2'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/tc39/test262-parser-tests 'crates/swc_ecma_parser/tests/test262-parser'
 git -C 'crates/swc_ecma_parser/tests/test262-parser' checkout --force '0e808c74fbec780646434cad17bb22dc52461003'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/html5lib/html5lib-tests 'crates/swc_html_parser/tests/html5lib-tests'
 git -C 'crates/swc_html_parser/tests/html5lib-tests' checkout --force 'dd0d8157f15ebf35655cc0c8df2d476cda3ceba2'
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.73.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd crates/swc_css_codegen && /root/.cargo/bin/cargo +1.73.0 package --no-verify)
 mkdir /out && cp /src/target/package/swc_css_codegen-0.151.6.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]