Attempt Details

Package: cratesio:pandoc_types 0.3.2

Artifact: pandoc_types-0.3.2.crate

Status: Failed

Run ID: 2026-11-25T15:22:16Z

Started: 2026-11-27 13:09:06

Created: 2026-11-27 13:09:06

Finished: 2026-11-27 13:10:52

Duration: 1m46s

Logs: View in Cloud Storage

Strategy

{
  "cratesio_cargo_package": {
    "repo": "https://github.com/elliottslaughter/rust-pandoc-types",
    "ref": "1a9249fe2914f4eb16f0756a68ff3fba8d462abd",
    "dir": "",
    "rust_version": "1.43.1",
    "explicit_lockfile": null,
    "registry_commit": "fcf0415d56421fbf1d3174780c4ba6c4c849424b",
    "package_names": [
      "itoa",
      "proc-macro2",
      "quote",
      "ryu",
      "serde",
      "serde_derive",
      "serde_json",
      "syn",
      "unicode-xid"
    ]
  }
}

Full Message

executing rebuild: executing rebuild: build failed in image build phase with exit code 1; the failing command was `/usr/bin/rustup-init -y --profile minimal --default-toolchain 1.43.1`

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/elliottslaughter/rust-pandoc-types .
 git checkout --force '1a9249fe2914f4eb16f0756a68ff3fba8d462abd'
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.43.1
 mkdir -p /cargo-index
 wget -O - --header "X-Package-Names: itoa,proc-macro2,quote,ryu,serde,serde_derive,serde_json,syn,unicode-xid" "http://cargogitarchive:fcf0415d56421fbf1d3174780c4ba6c4c849424b@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.43.1 package --no-verify
 mkdir /out && cp /src/target/package/pandoc_types-0.3.2.crate /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]