Attempt Details

Package: cratesio:minifier 0.0.35

Artifact: minifier-0.0.35.crate

Status: Success

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

Started: 2026-11-22 08:37:46

Created: 2026-11-22 08:37:46

Finished: 2026-11-22 08:43:29

Duration: 5m42s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/guillaumegomez/minifier-rs",
    "ref": "9b8bc676af2d7c5a65b0c2c3b1ad2a3b5b364a02",
    "dir": "",
    "rust_version": "1.41.0",
    "explicit_lockfile": null,
    "registry_commit": "d4a779230e2023d87fac81f366a1d9b38d485067",
    "package_names": [
      "aho-corasick",
      "lazy_static",
      "macro-utils",
      "memchr",
      "regex",
      "regex-syntax",
      "thread_local"
    ]
  }
}

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/guillaumegomez/minifier-rs .
 git checkout --force '9b8bc676af2d7c5a65b0c2c3b1ad2a3b5b364a02'
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.41.0
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: aho-corasick,lazy_static,macro-utils,memchr,regex,regex-syntax,thread_local" "http://cargogitarchive:d4a779230e2023d87fac81f366a1d9b38d485067@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"
 /root/.cargo/bin/cargo +1.41.0 package --no-verify
 mkdir /out && cp /src/target/package/minifier-0.0.35.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]