Attempt Details

Package: cratesio:libelf-sys 0.1.0

Artifact: libelf-sys-0.1.0.crate

Status: Failed

Run ID: 2026-11-20T22:22:49Z

Started: 2026-11-21 01:02:39

Created: 2026-11-21 01:02:39

Finished: 2026-11-21 01:07:00

Duration: 4m20s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/cuviper/elfutils-rs",
    "ref": "967de394b971e9464741961c64e9ac16a0b79f6f",
    "dir": "libelf-sys",
    "submodules": [
      {
        "repo": "https://sourceware.org/git/elfutils",
        "ref": "983e86fd89e8bf02f2d27ba5dce5bf078af4ceda",
        "dir": "elfutils"
      }
    ],
    "rust_version": "1.59.0",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `GIT_TERMINAL_PROMPT=0 git clone https://sourceware.org/git/elfutils elfutils`

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/cuviper/elfutils-rs .
 git checkout --force '967de394b971e9464741961c64e9ac16a0b79f6f'
 GIT_TERMINAL_PROMPT=0 git clone https://sourceware.org/git/elfutils 'elfutils'
 git -C 'elfutils' checkout --force '983e86fd89e8bf02f2d27ba5dce5bf078af4ceda'
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.59.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd libelf-sys && /root/.cargo/bin/cargo +1.59.0 package --no-verify)
 mkdir /out && cp /src/target/package/libelf-sys-0.1.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]