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:ubuntu-24.04-ocaml-5.2-flambda2-amd64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:2151f39beed2e374be012ff7089e6f5ac41ec6ffc8a4c3bf69481cbc6825d306
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 apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev autoconf
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:2151f39beed2e374be012ff7089e6f5ac41ec6ffc8a4c3bf69481cbc6825d306"
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 odawa.caelum.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: 785B done
#1 DONE 0.0s

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

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

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

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

#6 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:2151f39beed2e374be012ff7089e6f5ac41ec6ffc8a4c3bf69481cbc6825d306
#6 CACHED

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

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

#9 [3/9] RUN apt-get -y update
#9 0.422 Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
#9 0.558 Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
#9 0.563 Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1093 kB]
#9 0.718 Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
#9 0.743 Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1097 kB]
#9 1.045 Get:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
#9 1.218 Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1418 kB]
#9 1.474 Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1495 kB]
#9 1.745 Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1400 kB]
#9 1.863 Fetched 6882 kB in 1s (4625 kB/s)
#9 1.863 Reading package lists...
#9 DONE 2.6s

#10 [4/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#10 0.314 Reading package lists...
#10 1.047 Building dependency tree...
#10 1.168 Reading state information...
#10 1.197 Calculating upgrade...
#10 1.363 The following packages will be upgraded:
#10 1.363   libsystemd0 libudev1
#10 1.422 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#10 1.422 Need to get 609 kB of archives.
#10 1.422 After this operation, 0 B of additional disk space will be used.
#10 1.422 Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libsystemd0 amd64 255.4-1ubuntu8.8 [434 kB]
#10 1.487 Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libudev1 amd64 255.4-1ubuntu8.8 [175 kB]
#10 1.660 debconf: delaying package configuration, since apt-utils is not installed
#10 1.687 Fetched 609 kB in 0s (4427 kB/s)
#10 1.711 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16335 files and directories currently installed.)
#10 1.745 Preparing to unpack .../libsystemd0_255.4-1ubuntu8.8_amd64.deb ...
#10 1.747 Unpacking libsystemd0:amd64 (255.4-1ubuntu8.8) over (255.4-1ubuntu8.6) ...
#10 1.781 Setting up libsystemd0:amd64 (255.4-1ubuntu8.8) ...
#10 1.800 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16335 files and directories currently installed.)
#10 1.810 Preparing to unpack .../libudev1_255.4-1ubuntu8.8_amd64.deb ...
#10 1.812 Unpacking libudev1:amd64 (255.4-1ubuntu8.8) over (255.4-1ubuntu8.6) ...
#10 1.837 Setting up libudev1:amd64 (255.4-1ubuntu8.8) ...
#10 1.849 Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
#10 DONE 1.9s

#11 [5/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev autoconf
#11 0.336 Reading package lists...
#11 1.023 Building dependency tree...
#11 1.147 Reading state information...
#11 1.278 The following additional packages will be installed:
#11 1.279   automake autotools-dev m4
#11 1.280 Suggested packages:
#11 1.280   autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
#11 1.312 The following NEW packages will be installed:
#11 1.313   autoconf automake autotools-dev libzstd-dev m4
#11 1.825 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
#11 1.825 Need to get 1550 kB of archives.
#11 1.825 After this operation, 5729 kB of additional disk space will be used.
#11 1.825 Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 m4 amd64 1.4.19-4build1 [244 kB]
#11 2.493 Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 autoconf all 2.71-3 [339 kB]
#11 2.728 Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 autotools-dev all 20220109.1 [44.9 kB]
#11 2.729 Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB]
#11 2.945 Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libzstd-dev amd64 1.5.5+dfsg2-2build1.1 [364 kB]
#11 3.151 debconf: delaying package configuration, since apt-utils is not installed
#11 3.178 Fetched 1550 kB in 2s (912 kB/s)
#11 3.199 Selecting previously unselected package m4.
#11 3.199 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16335 files and directories currently installed.)
#11 3.212 Preparing to unpack .../m4_1.4.19-4build1_amd64.deb ...
#11 3.212 Unpacking m4 (1.4.19-4build1) ...
#11 3.237 Selecting previously unselected package autoconf.
#11 3.239 Preparing to unpack .../autoconf_2.71-3_all.deb ...
#11 3.240 Unpacking autoconf (2.71-3) ...
#11 3.277 Selecting previously unselected package autotools-dev.
#11 3.279 Preparing to unpack .../autotools-dev_20220109.1_all.deb ...
#11 3.279 Unpacking autotools-dev (20220109.1) ...
#11 3.298 Selecting previously unselected package automake.
#11 3.300 Preparing to unpack .../automake_1%3a1.16.5-1.3ubuntu1_all.deb ...
#11 3.303 Unpacking automake (1:1.16.5-1.3ubuntu1) ...
#11 3.341 Selecting previously unselected package libzstd-dev:amd64.
#11 3.343 Preparing to unpack .../libzstd-dev_1.5.5+dfsg2-2build1.1_amd64.deb ...
#11 3.344 Unpacking libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
#11 3.376 Setting up libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
#11 3.378 Setting up m4 (1.4.19-4build1) ...
#11 3.379 Setting up autotools-dev (20220109.1) ...
#11 3.380 Setting up autoconf (2.71-3) ...
#11 3.382 Setting up automake (1:1.16.5-1.3ubuntu1) ...
#11 3.389 update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
#11 3.389 update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
#11 3.389 update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
#11 DONE 3.4s

#12 [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#12 3.421 
#12 3.421 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 3.575 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#12 3.736 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#12 11.43 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#12 13.51 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#12 13.74 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#12 14.21 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#12 14.21 
#12 14.21 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 15.05 -> installed base-bigarray.base
#12 15.06 -> installed base-threads.base
#12 15.06 -> installed base-unix.base
#12 15.06 -> installed ocaml-options-vanilla.1
#12 346.2 -> installed ocaml-variants.5.2.0+flambda2
#12 346.2 -> installed ocaml-config.3
#12 346.4 -> installed ocaml.5.2.0
#12 346.5 -> installed base-domains.base
#12 346.5 -> installed base-nnp.base
#12 349.8 Done.
#12 349.8 # Run eval $(opam env) to update the current shell environment
#12 DONE 350.6s

#13 [7/9] RUN opam pin add -k version ocaml-variants 5.2.0+flambda2
#13 0.541 ocaml-variants is now pinned to version 5.2.0+flambda2
#13 0.541 
#13 3.454 No package build needed.
#13 3.454 Nothing to do.
#13 3.454 # Run eval $(opam env) to update the current shell environment
#13 DONE 3.5s

#14 [8/9] RUN opam install -y opam-depext
#14 3.778 The following actions will be performed:
#14 3.778   - install opam-depext 1.2.3
#14 3.779 
#14 3.779 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 4.013 [opam-depext.1.2.3] downloaded from cache at https://opam.ocaml.org/cache
#14 4.033 
#14 4.033 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 8.273 -> installed opam-depext.1.2.3
#14 8.281 Done.
#14 8.282 # Run eval $(opam env) to update the current shell environment
#14 DONE 8.3s

#15 [9/9] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#15 DONE 0.0s

#16 exporting to image
#16 exporting layers
#16 exporting layers 4.9s done
#16 writing image sha256:9319fdee9947a047fe8eb237e8b4ae97c68baa7827425cae5337d69da52b5a7f done
#16 DONE 4.9s

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 15)
Pushing "sha256:9319fdee9947a047fe8eb237e8b4ae97c68baa7827425cae5337d69da52b5a7f" to "ocurrent/opam-staging:ubuntu-24.04-ocaml-5.2-flambda2-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
bb0a7d4a6dee: Preparing
9c99248b530b: Preparing
9e76a277ce26: Preparing
ae5056248c51: Preparing
43709dbf68ba: Preparing
634eb6d835cc: Preparing
e83dfee06823: Preparing
7cbd20012b70: Preparing
59a4f7a5e90e: Preparing
634eb6d835cc: Waiting
e83dfee06823: Waiting
59a4f7a5e90e: Waiting
7cbd20012b70: Waiting
bb0a7d4a6dee: Pushed
9e76a277ce26: Pushed
9c99248b530b: Pushed
43709dbf68ba: Pushed
59a4f7a5e90e: Layer already exists
634eb6d835cc: Pushed
e83dfee06823: Pushed
7cbd20012b70: Pushed
ae5056248c51: Pushed
ubuntu-24.04-ocaml-5.2-flambda2-amd64: digest: sha256:529f486b252de2d5e589017f1c7a4e5d93f3a5b6319fa70e48eea3413ea79649 size: 2212
The push refers to repository [docker.io/ocurrent/opam-staging]
bb0a7d4a6dee: Preparing
9c99248b530b: Preparing
9e76a277ce26: Preparing
ae5056248c51: Preparing
43709dbf68ba: Preparing
634eb6d835cc: Preparing
e83dfee06823: Preparing
7cbd20012b70: Preparing
59a4f7a5e90e: Preparing
e83dfee06823: Waiting
634eb6d835cc: Waiting
7cbd20012b70: Waiting
59a4f7a5e90e: Waiting
bb0a7d4a6dee: Layer already exists
9e76a277ce26: Layer already exists
ae5056248c51: Layer already exists
43709dbf68ba: Layer already exists
9c99248b530b: Layer already exists
59a4f7a5e90e: Layer already exists
634eb6d835cc: Layer already exists
e83dfee06823: Layer already exists
7cbd20012b70: Layer already exists
ubuntu-24.04-ocaml-5.2-flambda2-amd64: digest: sha256:529f486b252de2d5e589017f1c7a4e5d93f3a5b6319fa70e48eea3413ea79649 size: 2212
Job succeeded
2025-06-10 13:19.40: Job succeeded