Attempt Details

Package: cratesio:cargo-zigbuild 0.24.0

Artifact: cargo-zigbuild-0.24.0.crate

Status: Success

Run ID: 2026-11-20T22:22:49Z

Started: 2026-11-21 07:13:28

Created: 2026-11-21 07:13:28

Finished: 2026-11-21 07:17:39

Duration: 4m11s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rust-cross/cargo-zigbuild",
    "ref": "2ffd80658c96b5ff971085dd509e58e5b441f1c8",
    "dir": "",
    "rust_version": "1.99.0",
    "explicit_lockfile": null,
    "registry_commit": "6efa4eca209e0ac796b97c373e77cd48fe07248d",
    "package_names": [
      "anstream",
      "anstyle",
      "anstyle-parse",
      "anstyle-query",
      "anstyle-wincon",
      "anyhow",
      "autocfg",
      "bitflags",
      "camino",
      "cargo-config2",
      "cargo-options",
      "cargo-platform",
      "cargo_metadata",
      "cfg-if",
      "clap",
      "clap_builder",
      "clap_derive",
      "clap_lex",
      "colorchoice",
      "crc",
      "crc-catalog",
      "dirs",
      "dirs-sys",
      "equivalent",
      "errno",
      "fastrand",
      "fat-macho",
      "fs-err",
      "getrandom",
      "goblin",
      "hashbrown",
      "heck",
      "indexmap",
      "is_terminal_polyfill",
      "itoa",
      "libc",
      "libredox",
      "linux-raw-sys",
      "log",
      "memchr",
      "once_cell",
      "once_cell_polyfill",
      "option-ext",
      "path-slash",
      "plain",
      "proc-macro2",
      "quote",
      "r-efi",
      "redox_users",
      "rustc_version",
      "rustflags",
      "rustix",
      "scroll",
      "scroll_derive",
      "semver",
      "serde",
      "serde_core",
      "serde_derive",
      "serde_json",
      "serde_spanned",
      "shell-words",
      "strsim",
      "syn",
      "target-lexicon",
      "tempfile",
      "terminal_size",
      "thiserror",
      "thiserror-impl",
      "toml",
      "toml_datetime",
      "toml_parser",
      "toml_writer",
      "unicode-ident",
      "utf8parse",
      "which",
      "windows-link",
      "windows-sys",
      "winnow",
      "zmij"
    ]
  }
}

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-cross/cargo-zigbuild .
 git checkout --force '2ffd80658c96b5ff971085dd509e58e5b441f1c8'
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.99.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: anstream,anstyle,anstyle-parse,anstyle-query,anstyle-wincon,anyhow,autocfg,bitflags,camino,cargo-config2,cargo-options,cargo-platform,cargo_metadata,cfg-if,clap,clap_builder,clap_derive,clap_lex,colorchoice,crc,crc-catalog,dirs,dirs-sys,equivalent,errno,fastrand,fat-macho,fs-err,getrandom,goblin,hashbrown,heck,indexmap,is_terminal_polyfill,itoa,libc,libredox,linux-raw-sys,log,memchr,once_cell,once_cell_polyfill,option-ext,path-slash,plain,proc-macro2,quote,r-efi,redox_users,rustc_version,rustflags,rustix,scroll,scroll_derive,semver,serde,serde_core,serde_derive,serde_json,serde_spanned,shell-words,strsim,syn,target-lexicon,tempfile,terminal_size,thiserror,thiserror-impl,toml,toml_datetime,toml_parser,toml_writer,unicode-ident,utf8parse,which,windows-link,windows-sys,winnow,zmij" "http://cargogitarchive:6efa4eca209e0ac796b97c373e77cd48fe07248d@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.99.0 package --no-verify
 mkdir /out && cp /src/target/package/cargo-zigbuild-0.24.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]