Attempt Details

Package: cratesio:ogg 0.8.0

Artifact: ogg-0.8.0.crate

Status: Failed

Run ID: 2025-12-12T18:47:25Z

Started: 2025-12-12 21:44:22

Created: 2025-12-12 21:46:42

Finished: 0001-01-01 00:00:00

Duration: 2m20s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rustaudio/ogg",
    "ref": "4a81d6b526565429cb16c82e574bbd86d7c26f77",
    "dir": ".",
    "rust_version": "1.49.0",
    "explicit_lockfile": null,
    "registry_commit": "38b9c305e26d21012888a5fd126478ae7a2548c4",
    "package_names": [
      "byteorder",
      "bytes",
      "cfg-if",
      "fuchsia-cprng",
      "futures",
      "iovec",
      "libc",
      "log",
      "ogg",
      "rand",
      "rand_core",
      "rdrand",
      "tokio-io",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-x86_64-pc-windows-gnu"
    ]
  }
}

Full Message

executing rebuild: rpc error: code = FailedPrecondition desc = rebuild content mismatch

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20251211001310-499b5fb97512/timewarp
 chmod +x timewarp
 apk add git rustup
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://github.com/rustaudio/ogg .
 git checkout --force '4a81d6b526565429cb16c82e574bbd86d7c26f77'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.49.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: byteorder,bytes,cfg-if,fuchsia-cprng,futures,iovec,libc,log,ogg,rand,rand_core,rdrand,tokio-io,winapi,winapi-i686-pc-windows-gnu,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:38b9c305e26d21012888a5fd126478ae7a2548c4@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 cat <<'EOF' >/build
 set -eux
 /root/.cargo/bin/cargo package --no-verify
 mkdir /out && cp /src/target/package/ogg-0.8.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]