Attempt Details

Package: cratesio:protobuf-parse 3.2.0

Artifact: protobuf-parse-3.2.0.crate

Status: Failed

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

Started: 2026-11-22 17:14:55

Created: 2026-11-22 17:14:55

Finished: 2026-11-22 17:22:13

Duration: 7m19s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/stepancheg/rust-protobuf",
    "ref": "7155092f3df112159d55132081937e1fe5c30490",
    "dir": "protobuf-parse",
    "rust_version": "1.63.0",
    "explicit_lockfile": null,
    "registry_commit": "e461695d95782aa6616d96d7e6661d3f697cda44",
    "package_names": [
      "anyhow",
      "autocfg",
      "bitflags",
      "cfg-if",
      "either",
      "fastrand",
      "hashbrown",
      "indexmap",
      "instant",
      "libc",
      "log",
      "once_cell",
      "proc-macro2",
      "protobuf",
      "protobuf-support",
      "quote",
      "redox_syscall",
      "remove_dir_all",
      "syn",
      "tempfile",
      "thiserror",
      "thiserror-impl",
      "unicode-ident",
      "which",
      "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 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/stepancheg/rust-protobuf .
 git checkout --force '7155092f3df112159d55132081937e1fe5c30490'
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.63.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: anyhow,autocfg,bitflags,cfg-if,either,fastrand,hashbrown,indexmap,instant,libc,log,once_cell,proc-macro2,protobuf,protobuf-support,quote,redox_syscall,remove_dir_all,syn,tempfile,thiserror,thiserror-impl,unicode-ident,which,winapi,winapi-i686-pc-windows-gnu,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:e461695d95782aa6616d96d7e6661d3f697cda44@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"
 (cd protobuf-parse && /root/.cargo/bin/cargo +1.63.0 package --no-verify)
 mkdir /out && cp /src/target/package/protobuf-parse-3.2.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]