Attempt Details

Package: cratesio:wayland-commons 0.28.3

Artifact: wayland-commons-0.28.3.crate

Status: Success

Run ID: 2026-11-21T09:38:18Z

Started: 2026-11-22 07:33:36

Created: 2026-11-22 07:33:36

Finished: 2026-11-22 07:39:15

Duration: 5m39s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/smithay/wayland-rs",
    "ref": "4ef407e02357912d78fed62a78c7eae036a2585c",
    "dir": "wayland-commons",
    "submodules": [
      {
        "repo": "https://gitlab.freedesktop.org/wayland/wayland-protocols.git",
        "ref": "b0a25f26d3e8b5ad24773881a9a895dd9cc75466",
        "dir": "wayland-protocols/protocols"
      },
      {
        "repo": "https://github.com/swaywm/wlr-protocols",
        "ref": "992841c2aa731ab02774c9bf8c6cda9f24dfbf10",
        "dir": "wayland-protocols/wlr-protocols"
      }
    ],
    "rust_version": "1.48.0",
    "explicit_lockfile": null,
    "registry_commit": "4157544ccf04dfb0490630e4757f4e787b7ba99b",
    "package_names": [
      "bitflags",
      "cc",
      "cfg-if",
      "libc",
      "nix",
      "once_cell",
      "pkg-config",
      "smallvec",
      "wayland-sys"
    ]
  }
}

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://github.com/smithay/wayland-rs .
 git checkout --force '4ef407e02357912d78fed62a78c7eae036a2585c'
 GIT_TERMINAL_PROMPT=0 git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git 'wayland-protocols/protocols'
 git -C 'wayland-protocols/protocols' checkout --force 'b0a25f26d3e8b5ad24773881a9a895dd9cc75466'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/swaywm/wlr-protocols 'wayland-protocols/wlr-protocols'
 git -C 'wayland-protocols/wlr-protocols' checkout --force '992841c2aa731ab02774c9bf8c6cda9f24dfbf10'
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.48.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: bitflags,cc,cfg-if,libc,nix,once_cell,pkg-config,smallvec,wayland-sys" "http://cargogitarchive:4157544ccf04dfb0490630e4757f4e787b7ba99b@localhost:8080/index.git.tar" | tar -xf - -C /cargo-index
 mkdir -p /.cargo
 printf '[source.crates-io]\nreplace-with = "timewarp-local"\n[source.timewarp-local]\nregistry = "file:///cargo-index"\n' > /.cargo/config.toml
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd wayland-commons && /root/.cargo/bin/cargo +1.48.0 package --no-verify)
 mkdir /out && cp /src/target/package/wayland-commons-0.28.3.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]