Attempt Details

Package: cratesio:atty 0.2.14

Artifact: atty-0.2.14.crate

Status: Failed

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

Started: 2025-12-12 19:26:22

Created: 2025-12-12 19:30:32

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

Duration: 4m10s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/softprops/atty",
    "ref": "7b5df17888997d57c2c1c8f91da1db5691f49953",
    "dir": ".",
    "rust_version": "1.40.0",
    "explicit_lockfile": null,
    "registry_commit": "0b435606fd2758e7232ada83645840e5480df0da",
    "package_names": [
      "atty",
      "hermit-abi",
      "libc",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-x86_64-pc-windows-gnu"
    ]
  }
}

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/softprops/atty .
 git checkout --force '7b5df17888997d57c2c1c8f91da1db5691f49953'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.40.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: atty,hermit-abi,libc,winapi,winapi-i686-pc-windows-gnu,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:0b435606fd2758e7232ada83645840e5480df0da@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/atty-0.2.14.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]