Attempt Details

Package: cratesio:allocator-api2 0.2.15

Artifact: allocator-api2-0.2.15.crate

Status: Failed

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

Started: 2025-12-12 19:24:46

Created: 2025-12-12 19:27:08

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

Duration: 2m23s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/zakarumych/allocator-api2",
    "ref": "d85bc8634f6c461a6bc848d12cb0c3a4d5012765",
    "dir": ".",
    "rust_version": "1.59.0",
    "explicit_lockfile": null
  }
}

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/zakarumych/allocator-api2 .
 git checkout --force 'd85bc8634f6c461a6bc848d12cb0c3a4d5012765'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.59.0
 # NOTE: Using current crates.io registry
EOF
RUN cat <<'EOF' >/build
 set -eux
 /root/.cargo/bin/cargo package --no-verify
 mkdir /out && cp /src/target/package/allocator-api2-0.2.15.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]