Attempt Details

Package: cratesio:line-index 0.1.2

Artifact: line-index-0.1.2.crate

Status: Failed

Run ID: 2026-11-20T04:47:19Z

Started: 2026-11-20 08:58:19

Created: 2026-11-20 08:58:19

Finished: 2026-11-20 09:01:35

Duration: 3m17s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/rust-lang/rust-analyzer",
    "ref": "3bda0cc2c07f6330b543be2c12c5e156847ba94e",
    "dir": "lib/line-index",
    "rust_version": "1.81.0",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: publishing bundle: bundle already exists

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/rust-lang/rust-analyzer .
 git checkout --force '3bda0cc2c07f6330b543be2c12c5e156847ba94e'
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.81.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd lib/line-index && /root/.cargo/bin/cargo +1.81.0 package --no-verify)
 mkdir /out && cp /src/target/package/line-index-0.1.2.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]