Attempt Details

Package: cratesio:libwayshot 0.2.0

Artifact: libwayshot-0.2.0.crate

Status: Success

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

Started: 2026-11-20 15:13:44

Created: 2026-11-20 15:13:44

Finished: 2026-11-20 15:17:28

Duration: 3m44s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://git.sr.ht/~shinyzenith/wayshot",
    "ref": "8ca77368daabda996c53f3757f04799e2a91dfdc",
    "dir": "libwayshot",
    "submodules": [
      {
        "repo": "https://github.com/waycrate/xdg-desktop-portal-wlr",
        "ref": "58a8c0cd54cb9143033aae84217ba73c090b1735",
        "dir": "xdg-desktop-portal-wlr"
      }
    ],
    "rust_version": "1.71.0",
    "explicit_lockfile": null
  }
}

Full Message



    

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 '8ca77368daabda996c53f3757f04799e2a91dfdc'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/waycrate/xdg-desktop-portal-wlr 'xdg-desktop-portal-wlr'
 git -C 'xdg-desktop-portal-wlr' checkout --force '58a8c0cd54cb9143033aae84217ba73c090b1735'
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.71.0
 # 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.71.0 package --no-verify)
 mkdir /out && cp /src/target/package/libwayshot-0.2.0.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]