Attempt Details

Package: cratesio:cc 1.2.53

Artifact: cc-1.2.53.crate

Status: Success

Run ID: 2026-11-22T16:56:19Z

Started: 2026-11-23 01:05:09

Created: 2026-11-23 01:05:09

Finished: 2026-11-23 01:08:35

Duration: 3m26s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rust-lang/cc-rs",
    "ref": "5be292b6bbaddda74e2196b5679d9e7ba5834604",
    "dir": "",
    "rust_version": "1.92.0",
    "explicit_lockfile": null,
    "registry_commit": "1bca1ca2a93d7935c060e90aa1aba4117d86b9d7",
    "package_names": [
      "bitflags",
      "cfg-if",
      "errno",
      "fastrand",
      "find-msvc-tools",
      "getrandom",
      "jobserver",
      "libc",
      "linux-raw-sys",
      "once_cell",
      "r-efi",
      "rustix",
      "shlex",
      "tempfile",
      "wasip2",
      "windows-link",
      "windows-sys",
      "wit-bindgen"
    ]
  }
}

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/rust-lang/cc-rs .
 git checkout --force '5be292b6bbaddda74e2196b5679d9e7ba5834604'
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.92.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: bitflags,cfg-if,errno,fastrand,find-msvc-tools,getrandom,jobserver,libc,linux-raw-sys,once_cell,r-efi,rustix,shlex,tempfile,wasip2,windows-link,windows-sys,wit-bindgen" "http://cargogitarchive:1bca1ca2a93d7935c060e90aa1aba4117d86b9d7@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"
 /root/.cargo/bin/cargo +1.92.0 package --no-verify
 mkdir /out && cp /src/target/package/cc-1.2.53.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]