Attempt Details

Package: cratesio:pretty_env_logger 0.5.0

Artifact: pretty_env_logger-0.5.0.crate

Status: Failed

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

Started: 2025-12-12 22:08:46

Created: 2025-12-12 22:11:16

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

Duration: 2m30s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/seanmonstar/pretty-env-logger",
    "ref": "0e238400e18649415dc710c025e99c009a1bb744",
    "dir": ".",
    "rust_version": "1.69.0",
    "explicit_lockfile": null,
    "registry_commit": "e2e28645fa5315743176349c979f22ae58f0bbc5",
    "package_names": [
      "aho-corasick",
      "bitflags",
      "cc",
      "cfg-if",
      "env_logger",
      "errno",
      "errno-dragonfly",
      "hermit-abi",
      "humantime",
      "io-lifetimes",
      "is-terminal",
      "lazy_static",
      "libc",
      "linux-raw-sys",
      "log",
      "memchr",
      "pretty_env_logger",
      "regex",
      "regex-syntax",
      "rustix",
      "termcolor",
      "thread_local",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-util",
      "winapi-x86_64-pc-windows-gnu",
      "windows-sys",
      "windows-targets",
      "windows_aarch64_gnullvm",
      "windows_aarch64_msvc",
      "windows_i686_gnu",
      "windows_i686_msvc",
      "windows_x86_64_gnu",
      "windows_x86_64_gnullvm",
      "windows_x86_64_msvc"
    ]
  }
}

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/seanmonstar/pretty-env-logger .
 git checkout --force '0e238400e18649415dc710c025e99c009a1bb744'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.69.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: aho-corasick,bitflags,cc,cfg-if,env_logger,errno,errno-dragonfly,hermit-abi,humantime,io-lifetimes,is-terminal,lazy_static,libc,linux-raw-sys,log,memchr,pretty_env_logger,regex,regex-syntax,rustix,termcolor,thread_local,winapi,winapi-i686-pc-windows-gnu,winapi-util,winapi-x86_64-pc-windows-gnu,windows-sys,windows-targets,windows_aarch64_gnullvm,windows_aarch64_msvc,windows_i686_gnu,windows_i686_msvc,windows_x86_64_gnu,windows_x86_64_gnullvm,windows_x86_64_msvc" "http://cargogitarchive:e2e28645fa5315743176349c979f22ae58f0bbc5@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/pretty_env_logger-0.5.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]