Attempt Details

Package: cratesio:cargo-zigbuild 0.11.3

Artifact: cargo-zigbuild-0.11.3.crate

Status: Success

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

Started: 2026-11-21 01:25:40

Created: 2026-11-21 01:25:40

Finished: 2026-11-21 01:34:12

Duration: 8m32s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/messense/cargo-zigbuild",
    "ref": "2fac0e5e0d90e1e490ba2a9c6b860af419b72a07",
    "dir": "",
    "rust_version": "1.62.1",
    "explicit_lockfile": null,
    "registry_commit": "57c52340e334e09ebcd1afc3a7bbb8e61b98da27",
    "package_names": [
      "anyhow",
      "atty",
      "autocfg",
      "bitflags",
      "camino",
      "cargo-options",
      "cargo-platform",
      "cargo_metadata",
      "cfg-if",
      "clap",
      "clap_derive",
      "clap_lex",
      "dirs",
      "dirs-sys",
      "fs-err",
      "getrandom",
      "hashbrown",
      "heck",
      "hermit-abi",
      "indexmap",
      "itoa",
      "libc",
      "once_cell",
      "os_str_bytes",
      "path-slash",
      "proc-macro-error",
      "proc-macro-error-attr",
      "proc-macro2",
      "quote",
      "redox_syscall",
      "redox_users",
      "rustc_version",
      "ryu",
      "semver",
      "serde",
      "serde_derive",
      "serde_json",
      "strsim",
      "syn",
      "target-lexicon",
      "termcolor",
      "terminal_size",
      "textwrap",
      "thiserror",
      "thiserror-impl",
      "unicode-ident",
      "version_check",
      "wasi",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-util",
      "winapi-x86_64-pc-windows-gnu"
    ]
  }
}

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/messense/cargo-zigbuild .
 git checkout --force '2fac0e5e0d90e1e490ba2a9c6b860af419b72a07'
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.62.1
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: anyhow,atty,autocfg,bitflags,camino,cargo-options,cargo-platform,cargo_metadata,cfg-if,clap,clap_derive,clap_lex,dirs,dirs-sys,fs-err,getrandom,hashbrown,heck,hermit-abi,indexmap,itoa,libc,once_cell,os_str_bytes,path-slash,proc-macro-error,proc-macro-error-attr,proc-macro2,quote,redox_syscall,redox_users,rustc_version,ryu,semver,serde,serde_derive,serde_json,strsim,syn,target-lexicon,termcolor,terminal_size,textwrap,thiserror,thiserror-impl,unicode-ident,version_check,wasi,winapi,winapi-i686-pc-windows-gnu,winapi-util,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:57c52340e334e09ebcd1afc3a7bbb8e61b98da27@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.62.1 package --no-verify
 mkdir /out && cp /src/target/package/cargo-zigbuild-0.11.3.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]