Build:
  1. 1
  2. 0
2025-06-10 13:09.23: New job: Build using linux-arm64 in
                                []
2025-06-10 13:09.23: Will push staging image to ocurrent/opam-staging:ubuntu-24.10-ocaml-5.2-flambda2-arm64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f
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-arm64-ocurrent/opam-staging@sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f"
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 ainia.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 1.0s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#3 resolve docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d done
#3 sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d 8.40kB / 8.40kB done
#3 sha256:6eafafa80cf476e61c9a795fcb5762e42c54ef5b59d2d86c57e4c50994f8de8d 850B / 850B done
#3 sha256:9a3ea2cfda9bd82b5178269c253cf28ffbd6e1df255d77a658761108b399b7a3 1.26kB / 1.26kB done
#3 sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 1.05MB / 12.38MB 0.2s
#3 sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 10.49MB / 12.38MB 0.4s
#3 sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 12.38MB / 12.38MB 0.5s done
#3 extracting sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 0.1s
#3 extracting sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 0.1s done
#3 DONE 0.6s

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

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

#5 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f
#5 DONE 1.4s

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

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

#8 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f
#8 resolve docker.io/ocurrent/opam-staging@sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f done
#8 sha256:3d916d4eb9dfda040f5e5ee45be1a92046d64d36b4ecaea3d4fa5194afc44a0f 530B / 530B done
#8 sha256:fd57e1ea294836ab22ef1f9a6a27cb9e447ff658b3a2ff7e31c9f7fd42dd5f5a 9.08kB / 9.08kB done
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 0B / 432.22MB 0.1s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 23.07MB / 432.22MB 1.7s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 49.28MB / 432.22MB 3.4s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 72.35MB / 432.22MB 4.6s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 94.37MB / 432.22MB 5.9s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 121.63MB / 432.22MB 6.8s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 144.70MB / 432.22MB 7.6s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 166.72MB / 432.22MB 8.4s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 191.89MB / 432.22MB 9.5s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 214.96MB / 432.22MB 10.3s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 239.08MB / 432.22MB 11.2s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 262.14MB / 432.22MB 11.9s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 284.16MB / 432.22MB 13.1s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 314.57MB / 432.22MB 13.7s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 336.59MB / 432.22MB 14.1s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 359.66MB / 432.22MB 14.5s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 389.02MB / 432.22MB 15.1s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 417.33MB / 432.22MB 15.6s
#8 sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 432.22MB / 432.22MB 16.1s done
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 5.0s
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 16.1s
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 21.5s
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 26.5s
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 31.5s
#8 extracting sha256:7ff7aed224354f2f1352ecbf7f157a64348069625b0557879afe9b4842407d15 33.6s done
#8 DONE 52.2s

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

#10 [3/9] RUN apt-get -y update
#10 0.287 Hit:1 http://ports.ubuntu.com/ubuntu-ports oracular InRelease
#10 0.287 Get:2 http://ports.ubuntu.com/ubuntu-ports oracular-updates InRelease [126 kB]
#10 0.313 Get:3 http://ports.ubuntu.com/ubuntu-ports oracular-backports InRelease [126 kB]
#10 0.326 Get:4 http://ports.ubuntu.com/ubuntu-ports oracular-security InRelease [126 kB]
#10 0.505 Get:5 http://ports.ubuntu.com/ubuntu-ports oracular-updates/universe arm64 Packages [330 kB]
#10 0.531 Get:6 http://ports.ubuntu.com/ubuntu-ports oracular-updates/main arm64 Packages [574 kB]
#10 0.721 Get:7 http://ports.ubuntu.com/ubuntu-ports oracular-security/main arm64 Packages [440 kB]
#10 0.765 Get:8 http://ports.ubuntu.com/ubuntu-ports oracular-security/universe arm64 Packages [255 kB]
#10 0.796 Fetched 1977 kB in 1s (3484 kB/s)
#10 0.796 Reading package lists...
#10 DONE 1.6s

#11 [4/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#11 0.260 Reading package lists...
#11 0.982 Building dependency tree...
#11 1.161 Reading state information...
#11 1.218 Calculating upgrade...
#11 1.523 The following packages will be upgraded:
#11 1.524   libsystemd0 libudev1
#11 1.565 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#11 1.565 Need to get 640 kB of archives.
#11 1.565 After this operation, 0 B of additional disk space will be used.
#11 1.565 Get:1 http://ports.ubuntu.com/ubuntu-ports oracular-updates/main arm64 libsystemd0 arm64 256.5-2ubuntu3.3 [446 kB]
#11 1.608 Get:2 http://ports.ubuntu.com/ubuntu-ports oracular-updates/main arm64 libudev1 arm64 256.5-2ubuntu3.3 [194 kB]
#11 1.754 debconf: delaying package configuration, since apt-utils is not installed
#11 1.796 Fetched 640 kB in 0s (8889 kB/s)
#11 1.818 (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 ... 16197 files and directories currently installed.)
#11 1.832 Preparing to unpack .../libsystemd0_256.5-2ubuntu3.3_arm64.deb ...
#11 1.834 Unpacking libsystemd0:arm64 (256.5-2ubuntu3.3) over (256.5-2ubuntu3.1) ...
#11 1.872 Setting up libsystemd0:arm64 (256.5-2ubuntu3.3) ...
#11 1.895 (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 ... 16197 files and directories currently installed.)
#11 1.904 Preparing to unpack .../libudev1_256.5-2ubuntu3.3_arm64.deb ...
#11 1.905 Unpacking libudev1:arm64 (256.5-2ubuntu3.3) over (256.5-2ubuntu3.1) ...
#11 1.935 Setting up libudev1:arm64 (256.5-2ubuntu3.3) ...
#11 1.948 Processing triggers for libc-bin (2.40-1ubuntu3.1) ...
#11 DONE 2.0s

#12 [5/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev autoconf
#12 0.182 Reading package lists...
#12 0.887 Building dependency tree...
#12 1.061 Reading state information...
#12 1.321 The following additional packages will be installed:
#12 1.323   automake autotools-dev m4
#12 1.324 Suggested packages:
#12 1.324   autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
#12 1.355 The following NEW packages will be installed:
#12 1.356   autoconf automake autotools-dev libzstd-dev m4
#12 1.540 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
#12 1.540 Need to get 1576 kB of archives.
#12 1.540 After this operation, 5722 kB of additional disk space will be used.
#12 1.540 Get:1 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 m4 arm64 1.4.19-4build1 [240 kB]
#12 1.953 Get:2 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 autoconf all 2.72-3 [382 kB]
#12 2.059 Get:3 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 autotools-dev all 20220109.1 [44.9 kB]
#12 2.069 Get:4 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB]
#12 2.145 Get:5 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 libzstd-dev arm64 1.5.6+dfsg-1 [352 kB]
#12 2.325 debconf: delaying package configuration, since apt-utils is not installed
#12 2.371 Fetched 1576 kB in 1s (1950 kB/s)
#12 2.392 Selecting previously unselected package m4.
#12 2.392 (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 ... 16197 files and directories currently installed.)
#12 2.405 Preparing to unpack .../m4_1.4.19-4build1_arm64.deb ...
#12 2.405 Unpacking m4 (1.4.19-4build1) ...
#12 2.430 Selecting previously unselected package autoconf.
#12 2.433 Preparing to unpack .../autoconf_2.72-3_all.deb ...
#12 2.433 Unpacking autoconf (2.72-3) ...
#12 2.468 Selecting previously unselected package autotools-dev.
#12 2.470 Preparing to unpack .../autotools-dev_20220109.1_all.deb ...
#12 2.471 Unpacking autotools-dev (20220109.1) ...
#12 2.494 Selecting previously unselected package automake.
#12 2.496 Preparing to unpack .../automake_1%3a1.16.5-1.3ubuntu1_all.deb ...
#12 2.499 Unpacking automake (1:1.16.5-1.3ubuntu1) ...
#12 2.538 Selecting previously unselected package libzstd-dev:arm64.
#12 2.542 Preparing to unpack .../libzstd-dev_1.5.6+dfsg-1_arm64.deb ...
#12 2.542 Unpacking libzstd-dev:arm64 (1.5.6+dfsg-1) ...
#12 2.577 Setting up libzstd-dev:arm64 (1.5.6+dfsg-1) ...
#12 2.578 Setting up m4 (1.4.19-4build1) ...
#12 2.579 Setting up autotools-dev (20220109.1) ...
#12 2.580 Setting up autoconf (2.72-3) ...
#12 2.581 Setting up automake (1:1.16.5-1.3ubuntu1) ...
#12 2.586 update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
#12 2.586 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
#12 2.586 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
#12 DONE 2.6s

#13 [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#13 4.338 
#13 4.338 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 4.472 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#13 4.561 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#13 5.338 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#13 6.557 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 6.793 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#13 7.187 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#13 7.187 
#13 7.187 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 8.185 -> installed base-bigarray.base
#13 8.187 -> installed base-threads.base
#13 8.194 -> installed base-unix.base
#13 8.195 -> installed ocaml-options-vanilla.1
#13 88.29 [ERROR] The compilation of ocaml-variants failed at "/usr/bin/sh -exc cd dune-3.9.3; PATH=/home/opam/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2/init_deps/bin/:$PATH ocaml boot/bootstrap.ml -j 79".
#13 88.29 
#13 88.29 #=== ERROR while compiling ocaml-variants.5.2.0+flambda2 ======================#
#13 88.29 # context              2.0.10 | linux/arm64 |  | git+https://github.com/janestreet/opam-repository#with-extensions
#13 88.29 # path                 ~/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2
#13 88.29 # command              /usr/bin/sh -exc cd dune-3.9.3; PATH=/home/opam/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2/init_deps/bin/:$PATH ocaml boot/bootstrap.ml -j 79
#13 88.29 # exit-code            139
#13 88.29 # env-file             ~/.opam/log/ocaml-variants-7-d18c27.env
#13 88.29 # output-file          ~/.opam/log/ocaml-variants-7-d18c27.out
#13 88.29 ### output ###
#13 88.29 # + cd dune-3.9.3
#13 88.29 # + PATH=/home/opam/.opam/5.2/.opam-switch/build/ocaml-variants.5.2.0+flambda2/init_deps/bin/:/home/opam/.opam/5.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ocaml boot/bootstrap.ml -j 79
#13 88.29 # ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
#13 88.29 # Segmentation fault (core dumped)
#13 88.29 
#13 88.30 
#13 88.30 
#13 88.30 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 88.30 +- The following actions failed
#13 88.30 | - build ocaml-variants 5.2.0+flambda2
#13 88.30 +- 
#13 88.30 +- The following changes have been performed (the rest was aborted)
#13 88.30 | - install base-bigarray         base
#13 88.30 | - install base-threads          base
#13 88.30 | - install base-unix             base
#13 88.30 | - install ocaml-options-vanilla 1
#13 88.30 +- 
#13 88.30 # Run eval $(opam env) to update the current shell environment
#13 88.30 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
#13 ERROR: process "/bin/sh -c opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2" did not complete successfully: exit code: 31
------
 > [6/9] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2:
88.30 | - build ocaml-variants 5.2.0+flambda2
88.30 +- 
88.30 +- The following changes have been performed (the rest was aborted)
88.30 | - install base-bigarray         base
88.30 | - install base-threads          base
88.30 | - install base-unix             base
88.30 | - install ocaml-options-vanilla 1
88.30 +- 
88.30 # Run eval $(opam env) to update the current shell environment
88.30 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
------

 1 warning found (use --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 15)
Dockerfile:11
--------------------
   9 |     RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev autoconf
  10 |     USER opam
  11 | >>> RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
  12 |     RUN opam pin add -k version ocaml-variants 5.2.0+flambda2
  13 |     RUN opam install -y opam-depext
--------------------
ERROR: failed to solve: process "/bin/sh -c opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2" did not complete successfully: exit code: 31
docker-build failed with exit-code 1
2025-06-10 13:13.58: Job failed: Failed: Build failed
2025-06-10 13:13.58: Log analysis:
2025-06-10 13:13.58: >>> Building on ainia.caelum.ci.dev (score = 40)
2025-06-10 13:13.58: ainia is failing: https://github.com/tarides/infrastructure/issues/331