Attempt Details

Package: cratesio:dbus 0.9.7

Artifact: dbus-0.9.7.crate

Status: Failed

Run ID: 2026-11-22T16:56:19Z

Started: 2026-11-22 17:01:43

Created: 2026-11-22 17:01:43

Finished: 2026-11-22 17:04:38

Duration: 2m55s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/diwic/dbus-rs",
    "ref": "ad81b09cb99b2008ecb8843a2934c9c341a03886",
    "dir": "dbus",
    "submodules": [
      {
        "repo": "https://github.com/freedesktop/dbus",
        "ref": "8501a73dfe923ad273229b7c45925d4abe4cca7e",
        "dir": "libdbus-sys/vendor/dbus"
      }
    ],
    "rust_version": "1.66.0",
    "explicit_lockfile": null,
    "registry_commit": "073d7fb4e4edeebecc74ab5c651b02fd9aaa0511",
    "package_names": [
      "autocfg",
      "bitflags",
      "cc",
      "cfg-if",
      "fastrand",
      "futures-channel",
      "futures-core",
      "futures-executor",
      "futures-task",
      "futures-util",
      "instant",
      "libc",
      "libdbus-sys",
      "pin-project-lite",
      "pin-utils",
      "pkg-config",
      "redox_syscall",
      "remove_dir_all",
      "slab",
      "tempfile",
      "winapi",
      "winapi-i686-pc-windows-gnu",
      "winapi-x86_64-pc-windows-gnu"
    ]
  }
}

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://github.com/freedesktop/dbus libdbus-sys/vendor/dbus`

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/diwic/dbus-rs .
 git checkout --force 'ad81b09cb99b2008ecb8843a2934c9c341a03886'
 GIT_TERMINAL_PROMPT=0 git clone https://github.com/freedesktop/dbus 'libdbus-sys/vendor/dbus'
 git -C 'libdbus-sys/vendor/dbus' checkout --force '8501a73dfe923ad273229b7c45925d4abe4cca7e'
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.66.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: autocfg,bitflags,cc,cfg-if,fastrand,futures-channel,futures-core,futures-executor,futures-task,futures-util,instant,libc,libdbus-sys,pin-project-lite,pin-utils,pkg-config,redox_syscall,remove_dir_all,slab,tempfile,winapi,winapi-i686-pc-windows-gnu,winapi-x86_64-pc-windows-gnu" "http://cargogitarchive:073d7fb4e4edeebecc74ab5c651b02fd9aaa0511@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 dbus && /root/.cargo/bin/cargo +1.66.0 package --no-verify)
 mkdir /out && cp /src/target/package/dbus-0.9.7.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]