Attempt Details

Package: cratesio:nom_locate 4.0.0

Artifact: nom_locate-4.0.0.crate

Status: Failed

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

Started: 2025-12-12 22:03:58

Created: 2025-12-12 22:06:48

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

Duration: 2m50s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/fflorent/nom_locate",
    "ref": "d44cd27e6a06e1f599a16e3d19976d8926a1bd07",
    "dir": ".",
    "rust_version": "1.50.0",
    "explicit_lockfile": null,
    "registry_commit": "874f678e8b6b97ee44baa217d6efb3f891c0b765",
    "package_names": [
      "bytecount",
      "cfg-if",
      "libc",
      "memchr",
      "minimal-lexical",
      "nom",
      "nom_locate",
      "packed_simd",
      "stable_deref_trait",
      "version_check"
    ]
  }
}

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/fflorent/nom_locate .
 git checkout --force 'd44cd27e6a06e1f599a16e3d19976d8926a1bd07'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.50.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: bytecount,cfg-if,libc,memchr,minimal-lexical,nom,nom_locate,packed_simd,stable_deref_trait,version_check" "http://cargogitarchive:874f678e8b6b97ee44baa217d6efb3f891c0b765@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/nom_locate-4.0.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]