Build:
  1. 0
2024-12-14 13:14.24: New job: Build using linux-arm64 in
                                []
2024-12-14 13:14.24: Will push staging image to ocurrent/opam-staging:alpine-3.20-ocaml-5.3-beta1-arm64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN apk update && apk upgrade
RUN apk add zstd
USER opam
RUN opam switch create 5.3~beta1 --packages=ocaml-base-compiler.5.3.0~beta1
RUN opam pin add -k version ocaml-base-compiler 5.3.0~beta1
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2024-12-14 13:14.24: Using cache hint "5.3.0~beta1-arm64-ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446"
2024-12-14 13:14.24: Waiting for resource in pool OCluster
2024-12-14 14:51.06: Waiting for worker…
2024-12-14 18:56.52: Got resource from pool OCluster
Building on ocaml-1.osuosl.ci.dev
WARNING: experimental flag squash is removed with BuildKit. You should squash inside build using a multi-stage Dockerfile for efficiency.
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile:
#1 transferring dockerfile: 674B 0.0s done
#1 DONE 1.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 3.6s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5
#3 CACHED

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 674B 0.0s done
#1 DONE 1.0s

#4 [internal] load build definition from Dockerfile
#4 DONE 0.0s

#5 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
#5 DONE 0.8s

#6 [internal] load .dockerignore
#6 transferring context:
#6 transferring context: 2B done
#6 DONE 2.1s

#7 [1/7] FROM docker.io/ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
#7 CACHED

#8 [2/8] RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
#8 5.494 [beta] Initialised
#8 DONE 7.0s

#9 [3/8] RUN apk update && apk upgrade
#9 2.725 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
#9 2.976 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
#9 3.376 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
#9 3.590 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
#9 3.982 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
#9 5.109 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
#9 5.109 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
#9 5.109 v3.21.0-670-g9826bbf0ff2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
#9 5.109 v3.21.0-644-g28d316da026 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
#9 5.109 v3.21.0-655-g365597d0a35 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
#9 5.109 OK: 56477 distinct packages available
#9 8.207 (1/6) Upgrading libcurl (8.11.0-r2 -> 8.11.1-r0)
#9 8.262 (2/6) Upgrading curl (8.11.0-r2 -> 8.11.1-r0)
#9 8.274 (3/6) Upgrading python3 (3.12.7-r0 -> 3.12.8-r1)
#9 8.543 (4/6) Upgrading python3-pycache-pyc0 (3.12.7-r0 -> 3.12.8-r1)
#9 8.674 (5/6) Upgrading pyc (3.12.7-r1 -> 3.12.8-r1)
#9 8.679 (6/6) Upgrading python3-pyc (3.12.7-r0 -> 3.12.8-r1)
#9 8.684 Executing busybox-1.36.1-r29.trigger
#9 8.696 OK: 291 MiB in 100 packages
#9 DONE 12.5s

#10 [4/8] RUN apk add zstd
#10 4.299 (1/1) Installing zstd (1.5.6-r0)
#10 4.348 Executing busybox-1.36.1-r29.trigger
#10 4.359 OK: 291 MiB in 101 packages
#10 DONE 10.1s

#11 [internal] load build context
#11 transferring context:
#11 transferring context: 674B done
#11 DONE 2.5s

#12 [5/8] RUN opam switch create 5.3~beta1 --packages=ocaml-base-compiler.5.3.0~beta1
#12 12.43 
#12 12.43 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 12.68 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/gen_ocaml_config.ml.in.3
#12 12.96 [ocaml-config.3/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#12 14.59 [ocaml-compiler.5.3.0~beta1] downloaded from https://github.com/ocaml/ocaml/archive/5.3.0-beta1.tar.gz
#12 16.85 [ocaml-compiler.5.3.0~beta1/ocaml-compiler.install] downloaded from https://raw.githubusercontent.com/ocaml/ocaml/899b8f3bece45f55161dad72eaa223c2bb7202e8/ocaml-variants.install
#12 16.86 
#12 16.86 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 16.88 -> installed base-bigarray.base
#12 16.88 -> installed base-threads.base
#12 16.89 -> installed base-unix.base
#12 16.90 -> installed host-arch-arm64.1
#12 16.91 -> installed host-system-other.1
#12 16.91 -> installed ocaml-beta.enabled
#12 17.37 -> installed ocaml-options-vanilla.1
#12 195.6 -> installed ocaml-compiler.5.3.0~beta1
#12 195.6 -> installed ocaml-base-compiler.5.3.0~beta1
#12 195.7 -> installed ocaml-config.3
#12 195.9 -> installed ocaml.5.3.0
#12 195.9 -> installed base-domains.base
#12 196.0 -> installed base-effects.base
#12 196.0 -> installed base-nnp.base
#12 196.5 Done.
#12 196.5 # Run eval $(opam env) to update the current shell environment
#12 DONE 201.0s

#13 [6/8] RUN opam pin add -k version ocaml-base-compiler 5.3.0~beta1
#13 2.587 ocaml-base-compiler is now pinned to version 5.3.0~beta1
#13 2.587 
#13 9.090 No package build needed.
#13 9.090 Nothing to do.
#13 9.097 # Run eval $(opam env) to update the current shell environment
#13 DONE 11.1s

#14 [7/8] RUN opam install -y opam-depext
#14 14.48 The following actions will be performed:
#14 14.48   - install opam-depext 1.2.3
#14 14.48 
#14 14.48 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 14.99 [opam-depext.1.2.3] downloaded from https://github.com/ocaml-opam/opam-depext/releases/download/v1.2.3/opam-depext-full-1.2.3.tbz
#14 15.02 
#14 15.02 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 16.97 -> installed opam-depext.1.2.3
#14 16.98 Done.
#14 16.98 # Run eval $(opam env) to update the current shell environment
#14 DONE 18.6s

#15 [8/8] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#15 DONE 12.7s

#16 exporting to image
#16 exporting layers
#16 exporting layers 7.6s done
#16 writing image sha256:4aa627bf0616db5eac9d1c160f52dbb5e8b77d504ce07d1ecc0b5b2eaa6db43d 0.1s done
#16 DONE 9.8s

 1 warning found (use --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 14)
Pushing "sha256:4aa627bf0616db5eac9d1c160f52dbb5e8b77d504ce07d1ecc0b5b2eaa6db43d" to "ocurrent/opam-staging:alpine-3.20-ocaml-5.3-beta1-arm64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
fbf2d446c65a: Preparing
355b1a57295f: Preparing
56ce7ccd937a: Preparing
0e6e277f4b54: Preparing
7e6c0243aeb4: Preparing
a71e32772408: Preparing
37c0ba1df33c: Preparing
a8848bd86a53: Preparing
37c0ba1df33c: Waiting
a71e32772408: Waiting
a8848bd86a53: Waiting
7e6c0243aeb4: Layer already exists
a71e32772408: Layer already exists
37c0ba1df33c: Layer already exists
a8848bd86a53: Layer already exists
56ce7ccd937a: Pushed
355b1a57295f: Pushed
fbf2d446c65a: Pushed
0e6e277f4b54: Pushed
alpine-3.20-ocaml-5.3-beta1-arm64: digest: sha256:3a0c39d2f7090532c16ff8180abd3a77a6cad7c11efb2384fd3326e7bf5c7089 size: 2000
The push refers to repository [docker.io/ocurrent/opam-staging]
fbf2d446c65a: Preparing
355b1a57295f: Preparing
56ce7ccd937a: Preparing
0e6e277f4b54: Preparing
7e6c0243aeb4: Preparing
a71e32772408: Preparing
37c0ba1df33c: Preparing
a8848bd86a53: Preparing
a71e32772408: Waiting
37c0ba1df33c: Waiting
a8848bd86a53: Waiting
7e6c0243aeb4: Layer already exists
355b1a57295f: Layer already exists
56ce7ccd937a: Layer already exists
fbf2d446c65a: Layer already exists
0e6e277f4b54: Layer already exists
a71e32772408: Layer already exists
37c0ba1df33c: Layer already exists
a8848bd86a53: Layer already exists
alpine-3.20-ocaml-5.3-beta1-arm64: digest: sha256:3a0c39d2f7090532c16ff8180abd3a77a6cad7c11efb2384fd3326e7bf5c7089 size: 2000
Job succeeded
2024-12-14 19:02.46: Job succeeded