Build:
  1. 0
2025-06-10 13:09.23: New job: Build using linux-x86_64 in
                                []
2025-06-10 13:09.23: Will push staging image to ocurrent/opam-staging:fedora-42-ocaml-5.2-flambda2-amd64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:c683b147b94a3dc7ad9f434111f5ab75ca21e7a614778b284ee3f91046fe6c02
RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN yum install -y zstd autoconf && yum clean packages
USER opam
RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
RUN opam pin add -k version ocaml-variants 5.2.0+flambda2
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2025-06-10 13:09.23: Using cache hint "5.2.0+flambda2-amd64-ocurrent/opam-staging@sha256:c683b147b94a3dc7ad9f434111f5ab75ca21e7a614778b284ee3f91046fe6c02"
2025-06-10 13:09.23: Waiting for confirm-threshold > above-average
2025-06-10 13:11.22: Confirm-threshold now > above-average
2025-06-10 13:11.22: Connecting to build cluster…
2025-06-10 13:11.22: Waiting for resource in pool OCluster
2025-06-10 13:11.23: Waiting for worker…
2025-06-10 13:11.23: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
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: 689B done
#1 DONE 0.0s

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

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

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

#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s

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

#7 [internal] load build context
#7 transferring context: 689B done
#7 DONE 0.0s

#8 [2/7] RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
#8 3.651 [oxcaml] Initialised
#8 DONE 4.1s

#9 [3/7] RUN yum install -y zstd autoconf && yum clean packages
#9 0.264 Updating and loading repositories:
#9 0.976  Fedora 42 - x86_64 - Updates           100% |  46.6 KiB/s |  24.6 KiB |  00m01s
#9 2.434  Fedora 42 - x86_64 - Updates           100% |   1.5 MiB/s |   2.2 MiB |  00m01s
#9 4.109 Repositories loaded.
#9 4.555 Package "zstd-1.5.7-1.fc42.x86_64" is already installed.
#9 4.555 Package "autoconf-2.72-5.fc42.noarch" is already installed.
#9 4.555 
#9 4.555 Nothing to do.
#9 4.631 Removed 0 files, 0 directories (total of 0 B). 0 errors occurred.
#9 DONE 4.6s

#10 [4/7] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#10 3.886 
#10 3.886 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#10 3.969 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#10 4.134 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#10 6.478 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#10 8.525 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#10 9.195 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#10 9.488 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#10 9.488 
#10 9.488 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#10 10.42 -> installed base-bigarray.base
#10 10.43 -> installed base-threads.base
#10 10.43 -> installed base-unix.base
#10 10.43 -> installed ocaml-options-vanilla.1
#10 395.6 -> installed ocaml-variants.5.2.0+flambda2
#10 395.7 -> installed ocaml-config.3
#10 395.9 -> installed ocaml.5.2.0
#10 395.9 -> installed base-domains.base
#10 395.9 -> installed base-nnp.base
#10 398.4 Done.
#10 398.4 # Run eval $(opam env) to update the current shell environment
#10 DONE 399.4s

#11 [5/7] RUN opam pin add -k version ocaml-variants 5.2.0+flambda2
#11 0.635 ocaml-variants is now pinned to version 5.2.0+flambda2
#11 0.635 
#11 3.906 No package build needed.
#11 3.906 Nothing to do.
#11 3.907 # Run eval $(opam env) to update the current shell environment
#11 DONE 4.0s

#12 [6/7] RUN opam install -y opam-depext
#12 4.172 The following actions will be performed:
#12 4.172   - install opam-depext 1.2.3
#12 4.172 
#12 4.172 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 4.418 [opam-depext.1.2.3] downloaded from cache at https://opam.ocaml.org/cache
#12 4.450 
#12 4.450 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 9.042 -> installed opam-depext.1.2.3
#12 9.049 Done.
#12 9.049 # Run eval $(opam env) to update the current shell environment
#12 DONE 9.1s

#13 [7/7] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#13 DONE 0.0s

#14 exporting to image
#14 exporting layers
#14 exporting layers 20.8s done
#14 writing image sha256:b0d1adae370ef7f279ee3ba120ad22f6a4f7e82ecd6d8d7c49aa949ab8022406 done
#14 DONE 20.8s

 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:b0d1adae370ef7f279ee3ba120ad22f6a4f7e82ecd6d8d7c49aa949ab8022406" to "ocurrent/opam-staging:fedora-42-ocaml-5.2-flambda2-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
8da516f1590f: Preparing
653bde0c1a65: Preparing
2ea6deeb5559: Preparing
8de41532bb1c: Preparing
707daf3810e5: Preparing
36bd8d3ea298: Preparing
35e4a2ebf423: Preparing
36bd8d3ea298: Waiting
8da516f1590f: Pushed
2ea6deeb5559: Pushed
653bde0c1a65: Pushed
35e4a2ebf423: Layer already exists
707daf3810e5: Pushed
36bd8d3ea298: Pushed
8de41532bb1c: Pushed
fedora-42-ocaml-5.2-flambda2-amd64: digest: sha256:a2187505b0c16cf1432cfade17ffaab5765726b7f5cd42c44a229c150ea89b65 size: 1792
The push refers to repository [docker.io/ocurrent/opam-staging]
8da516f1590f: Preparing
653bde0c1a65: Preparing
2ea6deeb5559: Preparing
8de41532bb1c: Preparing
707daf3810e5: Preparing
36bd8d3ea298: Preparing
35e4a2ebf423: Preparing
36bd8d3ea298: Waiting
35e4a2ebf423: Waiting
2ea6deeb5559: Layer already exists
8da516f1590f: Layer already exists
653bde0c1a65: Layer already exists
707daf3810e5: Layer already exists
8de41532bb1c: Layer already exists
35e4a2ebf423: Layer already exists
36bd8d3ea298: Layer already exists
fedora-42-ocaml-5.2-flambda2-amd64: digest: sha256:a2187505b0c16cf1432cfade17ffaab5765726b7f5cd42c44a229c150ea89b65 size: 1792
Job succeeded
2025-06-10 13:22.59: Job succeeded