Attempt Details

Package: cratesio:docopt 1.1.1

Artifact: docopt-1.1.1.crate

Status: Failed

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

Started: 2025-12-12 19:52:54

Created: 2025-12-12 19:55:27

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

Duration: 2m33s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/docopt/docopt.rs",
    "ref": "375474a9bcf582c46637479c5050822839b0d4f4",
    "dir": ".",
    "rust_version": "1.50.0",
    "explicit_lockfile": null,
    "registry_commit": "9ce48925bb19c42fce9dadad64d81cea2a14f058",
    "package_names": [
      "docopt",
      "lazy_static",
      "proc-macro2",
      "quote",
      "regex",
      "regex-syntax",
      "serde",
      "serde_derive",
      "strsim",
      "syn",
      "unicode-xid"
    ]
  }
}

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/docopt/docopt.rs .
 git checkout --force '375474a9bcf582c46637479c5050822839b0d4f4'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.50.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: docopt,lazy_static,proc-macro2,quote,regex,regex-syntax,serde,serde_derive,strsim,syn,unicode-xid" "http://cargogitarchive:9ce48925bb19c42fce9dadad64d81cea2a14f058@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/docopt-1.1.1.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]