Attempt Details

Package: cratesio:tokio-buf 0.2.0-alpha.1

Artifact: tokio-buf-0.2.0-alpha.1.crate

Status: Failed

Run ID: 2026-11-17T19:06:23Z

Started: 2026-11-17 19:53:20

Created: 2026-11-17 19:53:20

Finished: 2026-11-17 19:58:23

Duration: 5m3s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/tokio-rs/tokio",
    "ref": "50e5d401df9931eafabee554bb1a370958fc57d2",
    "dir": "tokio-buf",
    "rust_version": "1.36.0",
    "explicit_lockfile": null
  }
}

Full Message

executing rebuild: executing rebuild: build failed in container run phase; the failing command was `/root/.cargo/bin/cargo +1.36.0 package --no-verify`

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-20261117155737-ee474edabd76/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/tokio-rs/tokio .
 git checkout --force '50e5d401df9931eafabee554bb1a370958fc57d2'
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.36.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 (cd tokio-buf && /root/.cargo/bin/cargo +1.36.0 package --no-verify)
 mkdir /out && cp /src/target/package/tokio-buf-0.2.0-alpha.1.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]