Attempt Details

Package: cratesio:cargo-zigbuild 0.16.12

Artifact: cargo-zigbuild-0.16.12.crate

Status: Success

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

Started: 2026-11-23 04:57:03

Created: 2026-11-23 04:57:03

Finished: 2026-11-23 05:03:13

Duration: 6m9s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rust-cross/cargo-zigbuild",
    "ref": "2d0a6a728e2505eb154295458c65847dddbb996d",
    "dir": "",
    "rust_version": "1.70.0",
    "explicit_lockfile": null,
    "registry_commit": "67a26dec2bbc2d131192aef5c9b8603a7431e030",
    "package_names": [
      "anyhow",
      "bitflags",
      "camino",
      "cargo-options",
      "cargo-platform",
      "cargo_metadata",
      "cc",
      "cfg-if",
      "clap",
      "clap_derive",
      "clap_lex",
      "dirs",
      "dirs-sys",
      "either",
      "errno",
      "errno-dragonfly",
      "fat-macho",
      "fs-err",
      "getrandom",
      "goblin",
      "heck",
      "hermit-abi",
      "io-lifetimes",
      "is-terminal",
      "itoa",
      "libc",
      "linux-raw-sys",
      "log",
      "once_cell",
      "option-ext",
      "os_str_bytes",
      "path-slash",
      "plain",
      "proc-macro-error",
      "proc-macro-error-attr",
      "proc-macro2",
      "quote",
      "redox_syscall",
      "redox_users",
      "rustc_version",
      "rustix",
      "ryu",
      "scroll",
      "scroll_derive",
      "semver",
      "serde",
      "serde_derive",
      "serde_json",
      "shlex",
      "strsim",
      "syn",
      "target-lexicon",
      "termcolor",
      "terminal_size",
      "thiserror",
      "thiserror-impl",
      "unicode-ident",
      "version_check",
      "wasi",
      "which",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-util",
      "winapi-x86_64-pc-windows-gnu",
      "windows-sys",
      "windows-targets",
      "windows_aarch64_gnullvm",
      "windows_aarch64_msvc",
      "windows_i686_gnu",
      "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/rust-cross/cargo-zigbuild .
 git checkout --force '2d0a6a728e2505eb154295458c65847dddbb996d'
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.70.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: anyhow,bitflags,camino,cargo-options,cargo-platform,cargo_metadata,cc,cfg-if,clap,clap_derive,clap_lex,dirs,dirs-sys,either,errno,errno-dragonfly,fat-macho,fs-err,getrandom,goblin,heck,hermit-abi,io-lifetimes,is-terminal,itoa,libc,linux-raw-sys,log,once_cell,option-ext,os_str_bytes,path-slash,plain,proc-macro-error,proc-macro-error-attr,proc-macro2,quote,redox_syscall,redox_users,rustc_version,rustix,ryu,scroll,scroll_derive,semver,serde,serde_derive,serde_json,shlex,strsim,syn,target-lexicon,termcolor,terminal_size,thiserror,thiserror-impl,unicode-ident,version_check,wasi,which,winapi,winapi-i686-pc-windows-gnu,winapi-util,winapi-x86_64-pc-windows-gnu,windows-sys,windows-targets,windows_aarch64_gnullvm,windows_aarch64_msvc,windows_i686_gnu,windows_i686_msvc,windows_x86_64_gnu,windows_x86_64_gnullvm,windows_x86_64_msvc" "http://cargogitarchive:67a26dec2bbc2d131192aef5c9b8603a7431e030@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.70.0 package --no-verify
 mkdir /out && cp /src/target/package/cargo-zigbuild-0.16.12.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]