Attempt Details

Package: cratesio:isbn 0.8.20260302

Artifact: isbn-0.8.20260302.crate

Status: Failed

Run ID: 2026-11-25T15:22:16Z

Started: 2026-11-27 10:59:20

Created: 2026-11-27 10:59:20

Finished: 2026-11-27 11:01:18

Duration: 1m59s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/limeburst/isbn-rs",
    "ref": "48db8d5e62e9301eff1cc6451a4cf74adf63691d",
    "dir": "",
    "submodules": [
      {
        "repo": "https://github.com/limeburst/isbn-ranges",
        "ref": "99744411fe58d171ce7b8ee5c492bb05d9728d79",
        "dir": "isbn-ranges"
      }
    ],
    "rust_version": "1.93.1",
    "explicit_lockfile": null,
    "registry_commit": "f186bc231e69683ec6958d2aafff1424f77e5be4",
    "package_names": [
      "arrayvec",
      "codegen",
      "equivalent",
      "hashbrown",
      "indexmap",
      "memchr",
      "proc-macro2",
      "quick-xml",
      "quote",
      "roxmltree",
      "serde",
      "serde_core",
      "serde_derive",
      "syn",
      "unicode-ident"
    ]
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `/usr/bin/rustup-init -y --profile minimal --default-toolchain 1.93.1`

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git rustup
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/limeburst/isbn-rs .
 git checkout --force '48db8d5e62e9301eff1cc6451a4cf74adf63691d'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/limeburst/isbn-ranges 'isbn-ranges'
 git -C 'isbn-ranges' checkout --force '99744411fe58d171ce7b8ee5c492bb05d9728d79'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.93.1
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: arrayvec,codegen,equivalent,hashbrown,indexmap,memchr,proc-macro2,quick-xml,quote,roxmltree,serde,serde_core,serde_derive,syn,unicode-ident" "http://cargogitarchive:f186bc231e69683ec6958d2aafff1424f77e5be4@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 sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 /root/.cargo/bin/cargo +1.93.1 package --no-verify
 mkdir /out && cp /src/target/package/isbn-0.8.20260302.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]