Attempt Details

Package: cratesio:cxx 1.0.103

Artifact: cxx-1.0.103.crate

Status: Success

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

Started: 2026-11-23 16:18:12

Created: 2026-11-23 16:18:12

Finished: 2026-11-23 16:21:34

Duration: 3m22s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/dtolnay/cxx",
    "ref": "71225477bd8f1f0915473789db52c5cb6c932735",
    "dir": "",
    "submodules": [
      {
        "repo": "https://github.com/facebook/buck2-prelude",
        "ref": "39f799ec9ff26240dd5231938885b59213b24f8f",
        "dir": "tools/buck/prelude"
      }
    ],
    "rust_version": "1.71.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/dtolnay/cxx .
 git checkout --force '71225477bd8f1f0915473789db52c5cb6c932735'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/facebook/buck2-prelude 'tools/buck/prelude'
 git -C 'tools/buck/prelude' checkout --force '39f799ec9ff26240dd5231938885b59213b24f8f'
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.71.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 /root/.cargo/bin/cargo +1.71.0 package --no-verify
 mkdir /out && cp /src/target/package/cxx-1.0.103.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]