Attempt Details

Package: cratesio:libwayshot 0.3.0

Artifact: libwayshot-0.3.0.crate

Status: Failed

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

Started: 2026-11-21 01:01:03

Created: 2026-11-21 01:01:03

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

Duration: 6m33s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://git.sr.ht/~shinyzenith/wayshot",
    "ref": "d7467dfe604a09af1088b330db6f6ac2beec7b0e",
    "dir": "libwayshot",
    "rust_version": "1.72.1",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `git clone 'https://git.sr.ht/~shinyzenith/wayshot' .`

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://git.sr.ht/~shinyzenith/wayshot .
 git checkout --force 'd7467dfe604a09af1088b330db6f6ac2beec7b0e'
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.72.1
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd libwayshot && /root/.cargo/bin/cargo +1.72.1 package --no-verify)
 mkdir /out && cp /src/target/package/libwayshot-0.3.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]