Attempt Details

Package: cratesio:lightspeed_cache 0.44.1

Artifact: lightspeed_cache-0.44.1.crate

Status: Failed

Run ID: 2026-11-23T23:21:12Z

Started: 2026-11-25 03:09:19

Created: 2026-11-25 03:09:19

Finished: 2026-11-25 03:11:17

Duration: 1m57s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/lighthero/lightspeed",
    "ref": "ab566b4c4789e6ae7551a23703d7a097eea0cfd6",
    "dir": "cache",
    "rust_version": "1.57.0",
    "explicit_lockfile": null
  }
}

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.57.0`

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/lighthero/lightspeed .
 git checkout --force 'ab566b4c4789e6ae7551a23703d7a097eea0cfd6'
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.57.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd cache && /root/.cargo/bin/cargo +1.57.0 package --no-verify)
 mkdir /out && cp /src/target/package/lightspeed_cache-0.44.1.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]