Attempt Details

Package: cratesio:yaml-rust 0.4.5

Artifact: yaml-rust-0.4.5.crate

Status: Failed

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

Started: 2025-12-12 23:52:39

Created: 2025-12-12 23:55:08

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

Duration: 2m29s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/chyh1990/yaml-rust",
    "ref": "6cd3ce4abe6894443645c48bdc375808ec911493",
    "dir": ".",
    "rust_version": "1.48.0",
    "explicit_lockfile": null,
    "registry_commit": "f135457031b9fc7efd6f582d94e569751ae6efde",
    "package_names": [
      "aho-corasick",
      "cfg-if",
      "env_logger",
      "getrandom",
      "lazy_static",
      "libc",
      "linked-hash-map",
      "log",
      "memchr",
      "ppv-lite86",
      "quickcheck",
      "rand",
      "rand_chacha",
      "rand_core",
      "rand_hc",
      "regex",
      "regex-syntax",
      "thread_local",
      "wasi",
      "yaml-rust"
    ]
  }
}

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/chyh1990/yaml-rust .
 git checkout --force '6cd3ce4abe6894443645c48bdc375808ec911493'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.48.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: aho-corasick,cfg-if,env_logger,getrandom,lazy_static,libc,linked-hash-map,log,memchr,ppv-lite86,quickcheck,rand,rand_chacha,rand_core,rand_hc,regex,regex-syntax,thread_local,wasi,yaml-rust" "http://cargogitarchive:f135457031b9fc7efd6f582d94e569751ae6efde@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/yaml-rust-0.4.5.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]