Attempt Details

Package: cratesio:cc 1.2.42

Artifact: cc-1.2.42.crate

Status: Success

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

Started: 2026-11-23 04:27:47

Created: 2026-11-23 04:27:47

Finished: 2026-11-23 04:30:44

Duration: 2m57s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rust-lang/cc-rs",
    "ref": "fdb089a800db27d9830b8f9dad76d8bc277faf13",
    "dir": "",
    "rust_version": "1.90.0",
    "explicit_lockfile": null,
    "registry_commit": "e698ec83ce42cffb6091d988b9bd5b0c65e1f8b1",
    "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 'fdb089a800db27d9830b8f9dad76d8bc277faf13'
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.90.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:e698ec83ce42cffb6091d988b9bd5b0c65e1f8b1@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.90.0 package --no-verify
 mkdir /out && cp /src/target/package/cc-1.2.42.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]