Attempt Details

Package: cratesio:windows_gen 0.2.1

Artifact: windows_gen-0.2.1.crate

Status: Failed

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

Started: 2026-11-23 21:24:06

Created: 2026-11-23 21:24:06

Finished: 2026-11-23 21:31:53

Duration: 7m46s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/microsoft/windows-rs",
    "ref": "5f753aa3823454fd5ecb15a1ce14be8214eede7d",
    "dir": "crates/gen",
    "rust_version": "1.49.0",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: comparing artifacts: fetching upstream artifact: Get "https://crates.io/api/v1/crates/windows_gen/0.2.1/download": read tcp [fddf:3978:feb1:d745::c001]:44374->[2a04:4e42:200::649]:443: read: connection reset by peer

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/microsoft/windows-rs .
 git checkout --force '5f753aa3823454fd5ecb15a1ce14be8214eede7d'
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.49.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd crates/gen && /root/.cargo/bin/cargo +1.49.0 package --no-verify)
 mkdir /out && cp /src/target/package/windows_gen-0.2.1.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]