Attempt Details

Package: cratesio:shadow-rs 0.6.0

Artifact: shadow-rs-0.6.0.crate

Status: Success

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

Started: 2026-11-23 10:25:55

Created: 2026-11-23 10:25:55

Finished: 2026-11-23 10:27:28

Duration: 1m33s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/baoyachi/shadow-rs",
    "ref": "52c18c8f4acc6885c0c1985486f0d85e7ecd5ea1",
    "dir": "",
    "rust_version": "1.53.0",
    "explicit_lockfile": null,
    "registry_commit": "214a6ba8f259d4a35750034cf01dffca2c770e1d",
    "package_names": [
      "autocfg",
      "bitflags",
      "cc",
      "cfg-if",
      "chrono",
      "form_urlencoded",
      "git2",
      "idna",
      "jobserver",
      "libc",
      "libgit2-sys",
      "libz-sys",
      "log",
      "matches",
      "num-integer",
      "num-traits",
      "percent-encoding",
      "pkg-config",
      "time",
      "tinyvec",
      "tinyvec_macros",
      "unicode-bidi",
      "unicode-normalization",
      "url",
      "vcpkg",
      "wasi",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "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/baoyachi/shadow-rs .
 git checkout --force '52c18c8f4acc6885c0c1985486f0d85e7ecd5ea1'
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.53.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: autocfg,bitflags,cc,cfg-if,chrono,form_urlencoded,git2,idna,jobserver,libc,libgit2-sys,libz-sys,log,matches,num-integer,num-traits,percent-encoding,pkg-config,time,tinyvec,tinyvec_macros,unicode-bidi,unicode-normalization,url,vcpkg,wasi,winapi,winapi-i686-pc-windows-gnu,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:214a6ba8f259d4a35750034cf01dffca2c770e1d@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.53.0 package --no-verify
 mkdir /out && cp /src/target/package/shadow-rs-0.6.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]