Attempt Details

Package: cratesio:fltk-derive 0.7.7

Artifact: fltk-derive-0.7.7.crate

Status: Failed

Run ID: 2026-11-23T23:21:12Z

Started: 2026-11-23 23:21:50

Created: 2026-11-23 23:21:50

Finished: 2026-11-23 23:24:55

Duration: 3m5s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/moalyousef/fltk-rs",
    "ref": "61a7e8c5b61c1e1473e8186faa40b836428cb3cf",
    "dir": "fltk-derive",
    "submodules": [
      {
        "repo": "https://github.com/fltk/fltk",
        "ref": "5005d047657437abf6ab780bb1c35623a7222c3d",
        "dir": "fltk-sys/cfltk/fltk"
      }
    ],
    "rust_version": "1.44.1",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `/usr/bin/rustup-init -y --profile minimal --default-toolchain 1.44.1`

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/moalyousef/fltk-rs .
 git checkout --force '61a7e8c5b61c1e1473e8186faa40b836428cb3cf'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/fltk/fltk 'fltk-sys/cfltk/fltk'
 git -C 'fltk-sys/cfltk/fltk' checkout --force '5005d047657437abf6ab780bb1c35623a7222c3d'
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.44.1
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd fltk-derive && /root/.cargo/bin/cargo +1.44.1 package --no-verify)
 mkdir /out && cp /src/target/package/fltk-derive-0.7.7.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]