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.1-flambda-arm64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
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.1 --packages=ocaml-variants.5.1.1+options,ocaml-options-only-flambda
RUN opam pin add -k version ocaml-variants 5.1.1+options
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.1.1+flambda-arm64-ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446"
2024-12-14 13:14.24: Waiting for resource in pool OCluster
2024-12-14 14:35.38: Waiting for worker…
2024-12-14 18:44.13: 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: 601B done
#1 DONE 0.5s

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

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

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 601B done
#1 DONE 0.5s

#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.1s

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

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

#8 [2/7] RUN apk update && apk upgrade
#8 1.619 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
#8 1.879 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
#8 2.254 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
#8 2.464 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
#8 2.989 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
#8 3.697 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
#8 3.697 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
#8 3.697 v3.21.0-670-g9826bbf0ff2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
#8 3.697 v3.21.0-644-g28d316da026 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
#8 3.697 v3.21.0-655-g365597d0a35 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
#8 3.697 OK: 56477 distinct packages available
#8 4.994 (1/6) Upgrading libcurl (8.11.0-r2 -> 8.11.1-r0)
#8 5.047 (2/6) Upgrading curl (8.11.0-r2 -> 8.11.1-r0)
#8 5.062 (3/6) Upgrading python3 (3.12.7-r0 -> 3.12.8-r1)
#8 5.290 (4/6) Upgrading python3-pycache-pyc0 (3.12.7-r0 -> 3.12.8-r1)
#8 5.409 (5/6) Upgrading pyc (3.12.7-r1 -> 3.12.8-r1)
#8 5.413 (6/6) Upgrading python3-pyc (3.12.7-r0 -> 3.12.8-r1)
#8 5.417 Executing busybox-1.36.1-r29.trigger
#8 5.429 OK: 291 MiB in 100 packages
#8 DONE 7.2s

#9 [3/7] RUN apk add zstd
#9 1.969 (1/1) Installing zstd (1.5.6-r0)
#9 2.016 Executing busybox-1.36.1-r29.trigger
#9 2.027 OK: 291 MiB in 101 packages
#9 DONE 2.9s

#10 [internal] load build context
#10 transferring context: 601B done
#10 DONE 1.1s

#11 [4/7] RUN opam switch create 5.1 --packages=ocaml-variants.5.1.1+options,ocaml-options-only-flambda
#11 12.24 
#11 12.24 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 12.33 [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
#11 12.50 [ocaml-config.3/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#11 13.22 [ocaml-variants.5.1.1+options] downloaded from https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz
#11 14.39 [ocaml-variants.5.1.1+options/ocaml-variants.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-variants/ocaml-variants.install
#11 14.65 [ocaml-variants.5.1.1+options/zstd-detection.patch] downloaded from https://github.com/ocaml/ocaml/commit/baf65b91c51bb04b09ecc98b94ddd4ba3b446912.patch?full_index=1
#11 14.66 
#11 14.66 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 14.67 -> installed base-bigarray.base
#11 14.67 -> installed base-threads.base
#11 14.67 -> installed base-unix.base
#11 14.68 -> installed host-arch-arm64.1
#11 14.68 -> installed host-system-other.1
#11 14.68 -> installed ocaml-option-flambda.1
#11 15.00 -> installed ocaml-options-only-flambda.1
#11 217.7 -> installed ocaml-variants.5.1.1+options
#11 217.8 -> installed ocaml-config.3
#11 217.9 -> installed ocaml.5.1.1
#11 218.0 -> installed base-domains.base
#11 218.0 -> installed base-nnp.base
#11 218.4 Done.
#11 218.4 # Run eval $(opam env) to update the current shell environment
#11 DONE 224.2s

#12 [5/7] RUN opam pin add -k version ocaml-variants 5.1.1+options
#12 5.460 ocaml-variants is now pinned to version 5.1.1+options
#12 5.460 
#12 13.54 No package build needed.
#12 13.54 Nothing to do.
#12 13.54 # Run eval $(opam env) to update the current shell environment
#12 DONE 15.1s

#13 [6/7] RUN opam install -y opam-depext
#13 11.60 The following actions will be performed:
#13 11.60   - install opam-depext 1.2.3
#13 11.60 
#13 11.60 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 12.07 [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
#13 12.11 
#13 12.11 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 14.96 -> installed opam-depext.1.2.3
#13 14.97 Done.
#13 14.98 # Run eval $(opam env) to update the current shell environment
#13 DONE 18.8s

#14 [7/7] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#14 DONE 8.9s

#15 exporting to image
#15 exporting layers
#15 exporting layers 10.3s done
#15 writing image sha256:4b06dfbc44e84d25a2962b27035994fd293f95e0989b27bd955b95a6918419a3
#15 writing image sha256:4b06dfbc44e84d25a2962b27035994fd293f95e0989b27bd955b95a6918419a3 0.4s done
#15 DONE 11.3s

 1 warning found (use --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 13)
Pushing "sha256:4b06dfbc44e84d25a2962b27035994fd293f95e0989b27bd955b95a6918419a3" to "ocurrent/opam-staging:alpine-3.20-ocaml-5.1-flambda-arm64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
6fa73420f786: Preparing
1c994121d592: Preparing
e58763df984b: Preparing
c7af28cab671: Preparing
c18167c3d9d8: Preparing
35062b236019: Preparing
a8848bd86a53: Preparing
a8848bd86a53: Waiting
35062b236019: Waiting
c18167c3d9d8: Layer already exists
35062b236019: Layer already exists
a8848bd86a53: Layer already exists
e58763df984b: Pushed
1c994121d592: Pushed
6fa73420f786: Pushed
c7af28cab671: Pushed
alpine-3.20-ocaml-5.1-flambda-arm64: digest: sha256:81f3efae424d3ea4169c8220af03c0161c79d51ac351f896da1284faf17423bf size: 1789
The push refers to repository [docker.io/ocurrent/opam-staging]
6fa73420f786: Preparing
1c994121d592: Preparing
e58763df984b: Preparing
c7af28cab671: Preparing
c18167c3d9d8: Preparing
35062b236019: Preparing
a8848bd86a53: Preparing
35062b236019: Waiting
a8848bd86a53: Waiting
e58763df984b: Layer already exists
c18167c3d9d8: Layer already exists
6fa73420f786: Layer already exists
c7af28cab671: Layer already exists
1c994121d592: Layer already exists
35062b236019: Layer already exists
a8848bd86a53: Layer already exists
alpine-3.20-ocaml-5.1-flambda-arm64: digest: sha256:81f3efae424d3ea4169c8220af03c0161c79d51ac351f896da1284faf17423bf size: 1789
Job succeeded
2024-12-14 18:50.18: Job succeeded