Attempt Details

Package: cratesio:minifier 0.2.1

Artifact: minifier-0.2.1.crate

Status: Failed

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

Started: 2025-12-12 21:15:42

Created: 2025-12-12 21:18:32

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

Duration: 2m50s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/guillaumegomez/minifier-rs",
    "ref": "64fb1cf160aef4fd5a3e83e81b3976ad3f0a24f4",
    "dir": ".",
    "rust_version": "1.61.0",
    "explicit_lockfile": null,
    "registry_commit": "0a9d8e1e4561b2201e022ae773245beba2911aba",
    "package_names": [
      "aho-corasick",
      "memchr",
      "minifier",
      "regex",
      "regex-syntax"
    ]
  }
}

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/guillaumegomez/minifier-rs .
 git checkout --force '64fb1cf160aef4fd5a3e83e81b3976ad3f0a24f4'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.61.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: aho-corasick,memchr,minifier,regex,regex-syntax" "http://cargogitarchive:0a9d8e1e4561b2201e022ae773245beba2911aba@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/minifier-0.2.1.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]