Attempt Details

Package: cratesio:napi 2.12.2

Artifact: napi-2.12.2.crate

Status: Success

Run ID: 2026-11-23T12:20:23Z

Started: 2026-11-23 15:43:56

Created: 2026-11-23 15:43:56

Finished: 2026-11-23 15:46:46

Duration: 2m50s

Logs: View in Cloud Storage

Strategy

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