Attempt Details

Package: cratesio:lua-code 0.0.3

Artifact: lua-code-0.0.3.crate

Status: Success

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

Started: 2026-11-23 05:52:52

Created: 2026-11-23 05:52:52

Finished: 2026-11-23 05:57:04

Duration: 4m12s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/ianm199/lua-rs",
    "ref": "b9cb3c90e2f8565ea2954fdfd7a05034c95533e2",
    "dir": "crates/lua-code",
    "rust_version": "1.95.0",
    "explicit_lockfile": null,
    "registry_commit": "93cb15c8739b848d8fd2a10339676d7ea533856b",
    "package_names": [
      "lua-gc",
      "lua-types",
      "lua-vm"
    ]
  }
}

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/ianm199/lua-rs .
 git checkout --force 'b9cb3c90e2f8565ea2954fdfd7a05034c95533e2'
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.95.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: lua-gc,lua-types,lua-vm" "http://cargogitarchive:93cb15c8739b848d8fd2a10339676d7ea533856b@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 crates/lua-code && /root/.cargo/bin/cargo +1.95.0 package --no-verify)
 mkdir /out && cp /src/target/package/lua-code-0.0.3.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]