Attempt Details

Package: cratesio:cxx-build 1.0.141

Artifact: cxx-build-1.0.141.crate

Status: Success

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

Started: 2026-11-23 14:06:43

Created: 2026-11-23 14:06:43

Finished: 2026-11-23 14:11:06

Duration: 4m23s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/dtolnay/cxx",
    "ref": "926094db8792e43cc0e3f33b422f6319dbd2cfff",
    "dir": "gen/build",
    "rust_version": "1.85.0",
    "explicit_lockfile": null,
    "registry_commit": "f8c66276840632111f8035f36737db9d3d6a132e",
    "package_names": [
      "anstyle",
      "cc",
      "clap",
      "clap_builder",
      "clap_lex",
      "codespan-reporting",
      "cxx",
      "cxx-gen",
      "cxxbridge-cmd",
      "cxxbridge-flags",
      "cxxbridge-macro",
      "foldhash",
      "jobserver",
      "libc",
      "link-cplusplus",
      "pkg-config",
      "proc-macro2",
      "quote",
      "rustversion",
      "scratch",
      "shlex",
      "strsim",
      "syn",
      "termcolor",
      "unicode-ident",
      "unicode-width",
      "winapi-util",
      "windows-sys",
      "windows-targets",
      "windows_aarch64_gnullvm",
      "windows_aarch64_msvc",
      "windows_i686_gnu",
      "windows_i686_gnullvm",
      "windows_i686_msvc",
      "windows_x86_64_gnu",
      "windows_x86_64_gnullvm",
      "windows_x86_64_msvc"
    ]
  }
}

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 '926094db8792e43cc0e3f33b422f6319dbd2cfff'
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.85.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: anstyle,cc,clap,clap_builder,clap_lex,codespan-reporting,cxx,cxx-gen,cxxbridge-cmd,cxxbridge-flags,cxxbridge-macro,foldhash,jobserver,libc,link-cplusplus,pkg-config,proc-macro2,quote,rustversion,scratch,shlex,strsim,syn,termcolor,unicode-ident,unicode-width,winapi-util,windows-sys,windows-targets,windows_aarch64_gnullvm,windows_aarch64_msvc,windows_i686_gnu,windows_i686_gnullvm,windows_i686_msvc,windows_x86_64_gnu,windows_x86_64_gnullvm,windows_x86_64_msvc" "http://cargogitarchive:f8c66276840632111f8035f36737db9d3d6a132e@localhost:8080/index.git.tar" | tar -xf - -C /cargo-index
 mkdir -p /.cargo
 printf '[source.crates-io]\nreplace-with = "timewarp-local"\n[source.timewarp-local]\nregistry = "file:///cargo-index"\n' > /.cargo/config.toml
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd gen/build && /root/.cargo/bin/cargo +1.85.0 package --no-verify)
 mkdir /out && cp /src/target/package/cxx-build-1.0.141.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]