Attempt Details

Package: cratesio:cotton 0.0.8

Artifact: cotton-0.0.8.crate

Status: Success

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

Started: 2026-11-22 12:19:46

Created: 2026-11-22 12:19:46

Finished: 2026-11-22 12:26:04

Duration: 6m19s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/jpastuszek/cotton",
    "ref": "f8760d9d23c7c5f7deb17252d678a7754b1b8b16",
    "dir": "",
    "rust_version": "1.39.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://github.com/jpastuszek/cotton .
 git checkout --force 'f8760d9d23c7c5f7deb17252d678a7754b1b8b16'
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.39.0
 # NOTE: Using current crates.io registry
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 export CARGO_TARGET_DIR="$PWD/target"
 /root/.cargo/bin/cargo +1.39.0 package --no-verify
 mkdir /out && cp /src/target/package/cotton-0.0.8.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]