Attempt Details

Package: cratesio:gethostname 0.4.3

Artifact: gethostname-0.4.3.crate

Status: Success

Run ID: 2025-12-12T18:47:25Z

Started: 2025-12-12 21:02:22

Created: 2025-12-12 21:05:10

Finished: 0001-01-01 00:00:00

Duration: 2m48s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://codeberg.org/swsnr/gethostname.rs.git",
    "ref": "9b4ffb2275aaf7c9fd48099810c99e5c9dc3efd8",
    "dir": ".",
    "rust_version": "1.64.0",
    "explicit_lockfile": null
  }
}

Full Message



    

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20251211001310-499b5fb97512/timewarp
 chmod +x timewarp
 apk add git rustup
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://codeberg.org/swsnr/gethostname.rs.git .
 git checkout --force '9b4ffb2275aaf7c9fd48099810c99e5c9dc3efd8'
 /usr/bin/rustup-init -y --profile minimal --default-toolchain 1.64.0
 # NOTE: Using current crates.io registry
EOF
RUN cat <<'EOF' >/build
 set -eux
 /root/.cargo/bin/cargo package --no-verify
 mkdir /out && cp /src/target/package/gethostname-0.4.3.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]