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

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:3d6c1182ab36dda90f48671eca4eb7d22afeba753bb5e104799c47013d337491
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 pacman -Syu --noconfirm zstd autoconf which && yes | pacman -Scc
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 14:15.28: Using cache hint "5.2.0+flambda2-amd64-ocurrent/opam-staging@sha256:3d6c1182ab36dda90f48671eca4eb7d22afeba753bb5e104799c47013d337491"
2025-06-10 14:15.28: Waiting for confirm-threshold > above-average
2025-06-10 14:16.41: Explicit approval received for this job
2025-06-10 14:16.41: Connecting to build cluster…
2025-06-10 14:16.41: Waiting for resource in pool OCluster
2025-06-10 14:16.41: Waiting for worker…
2025-06-10 14:16.41: 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: 703B 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:3d6c1182ab36dda90f48671eca4eb7d22afeba753bb5e104799c47013d337491
#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:3d6c1182ab36dda90f48671eca4eb7d22afeba753bb5e104799c47013d337491
#6 DONE 0.0s

#7 [2/7] RUN opam repo add oxcaml git+https://github.com/janestreet/opam-repository#with-extensions --set-default
#7 CACHED

#8 [internal] load build context
#8 transferring context: 703B done
#8 DONE 0.0s

#9 [3/7] RUN pacman -Syu --noconfirm zstd autoconf which && yes | pacman -Scc
#9 0.211 :: Synchronizing package databases...
#9 1.230  core downloading...
#9 1.230  extra downloading...
#9 1.236 :: Starting full system upgrade...
#9 1.236 warning: zstd-1.5.7-2 is up to date -- reinstalling
#9 1.413 resolving dependencies...
#9 1.416 looking for conflicting packages...
#9 1.417 
#9 1.417 Package (7)             Old Version  New Version  Net Change  Download Size
#9 1.417 
#9 1.417 core/libbpf             1.5.0-1      1.5.1-1       -0.03 MiB       0.25 MiB
#9 1.417 core/linux-api-headers  6.14-1       6.15-1         0.04 MiB       1.28 MiB
#9 1.417 core/m4                              1.4.20-1       0.70 MiB       0.26 MiB
#9 1.417 core/sqlite             3.50.0-1     3.50.1-1       0.00 MiB       2.23 MiB
#9 1.417 core/autoconf                        2.72-1         2.22 MiB       0.64 MiB
#9 1.417 core/which                           2.23-1         0.03 MiB       0.02 MiB
#9 1.417 core/zstd               1.5.7-2      1.5.7-2        0.00 MiB       0.50 MiB
#9 1.417 
#9 1.417 Total Download Size:    5.17 MiB
#9 1.417 Total Installed Size:  28.30 MiB
#9 1.417 Net Upgrade Size:       2.96 MiB
#9 1.417 
#9 1.417 :: Proceed with installation? [Y/n] 
#9 1.419 :: Retrieving packages...
#9 1.724  sqlite-3.50.1-1-x86_64 downloading...
#9 1.724  linux-api-headers-6.15-1-x86_64 downloading...
#9 1.724  autoconf-2.72-1-any downloading...
#9 1.724  zstd-1.5.7-2-x86_64 downloading...
#9 1.724  m4-1.4.20-1-x86_64 downloading...
#9 1.724  libbpf-1.5.1-1-x86_64 downloading...
#9 1.724  which-2.23-1-x86_64 downloading...
#9 1.724 checking keyring...
#9 1.832 checking package integrity...
#9 1.993 loading package files...
#9 2.000 checking for file conflicts...
#9 2.001 :: Processing package changes...
#9 2.001 upgrading linux-api-headers...
#9 2.184 reinstalling zstd...
#9 2.197 installing m4...
#9 2.200 installing autoconf...
#9 2.211 installing which...
#9 2.212 upgrading sqlite...
#9 2.257 upgrading libbpf...
#9 2.432 :: Running post-transaction hooks...
#9 2.432 (1/1) Arming ConditionNeedsUpdate...
#9 2.575 
#9 2.575 Cache directory: /var/cache/pacman/pkg/
#9 2.575 :: Do you want to remove ALL files from cache? [y/N] y
#9 2.578 :: Do you want to remove unused repositories? [Y/n] y
#9 2.578 removing all files from cache...
#9 2.578 
#9 2.578 Database directory: /var/lib/pacman/
#9 2.579 removing unused sync repositories...
#9 DONE 2.6s

#10 [4/7] RUN opam switch create 5.2 --packages=ocaml-variants.5.2.0+flambda2
#10 3.441 
#10 3.441 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#10 3.592 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#10 3.674 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#10 5.346 [ocaml-variants.5.2.0+flambda2] downloaded from https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-10.tar.gz
#10 7.110 [ocaml-variants.5.2.0+flambda2/init-compiler.tar.gz] downloaded from https://opam.ocaml.org/cache
#10 7.321 [ocaml-variants.5.2.0+flambda2/init-dune.tbz] downloaded from https://opam.ocaml.org/cache
#10 7.515 [ocaml-variants.5.2.0+flambda2/init-menhir.tar.gz] downloaded from https://opam.ocaml.org/cache
#10 7.515 
#10 7.515 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#10 8.420 ∗ installed base-bigarray.base
#10 8.422 ∗ installed base-threads.base
#10 8.426 ∗ installed base-unix.base
#10 8.428 ∗ installed ocaml-options-vanilla.1
#10 355.9 ∗ installed ocaml-variants.5.2.0+flambda2
#10 356.0 ∗ installed ocaml-config.3
#10 356.3 ∗ installed ocaml.5.2.0
#10 356.3 ∗ installed base-domains.base
#10 356.3 ∗ installed base-nnp.base
#10 359.5 Done.
#10 359.6 # Run eval $(opam env) to update the current shell environment
#10 DONE 360.5s

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

#12 [6/7] RUN opam install -y opam-depext
#12 3.699 The following actions will be performed:
#12 3.699   ∗ install opam-depext 1.2.3
#12 3.699 
#12 3.699 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 3.952 [opam-depext.1.2.3] downloaded from cache at https://opam.ocaml.org/cache
#12 3.986 
#12 3.986 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 8.723 ∗ installed opam-depext.1.2.3
#12 8.733 Done.
#12 8.740 # Run eval $(opam env) to update the current shell environment
#12 DONE 8.8s

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

#14 exporting to image
#14 exporting layers
#14 exporting layers 3.7s done
#14 writing image sha256:60965c6f163ae14e2bb8395ba05fa9d5d334a0f3666e10b555cdd96a60589a52 done
#14 DONE 3.7s

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 13)
Pushing "sha256:60965c6f163ae14e2bb8395ba05fa9d5d334a0f3666e10b555cdd96a60589a52" to "ocurrent/opam-staging:archlinux-ocaml-5.2-flambda2-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
e4caf6ae7b71: Preparing
560fd36fea82: Preparing
5c08fcf05998: Preparing
39957a3e7095: Preparing
edd51adcc5e5: Preparing
03af29a353d4: Preparing
23664b56856c: Preparing
03af29a353d4: Waiting
23664b56856c: Waiting
5c08fcf05998: Pushed
e4caf6ae7b71: Pushed
23664b56856c: Layer already exists
560fd36fea82: Pushed
edd51adcc5e5: Pushed
03af29a353d4: Pushed
39957a3e7095: Pushed
archlinux-ocaml-5.2-flambda2-amd64: digest: sha256:f2a685bafe19e291477cb8d21e2a085eb6bd7c4e46632db21702538ac96f87c1 size: 1792
The push refers to repository [docker.io/ocurrent/opam-staging]
e4caf6ae7b71: Preparing
560fd36fea82: Preparing
5c08fcf05998: Preparing
39957a3e7095: Preparing
edd51adcc5e5: Preparing
03af29a353d4: Preparing
23664b56856c: Preparing
03af29a353d4: Waiting
23664b56856c: Waiting
edd51adcc5e5: Layer already exists
5c08fcf05998: Layer already exists
39957a3e7095: Layer already exists
560fd36fea82: Layer already exists
e4caf6ae7b71: Layer already exists
23664b56856c: Layer already exists
03af29a353d4: Layer already exists
archlinux-ocaml-5.2-flambda2-amd64: digest: sha256:f2a685bafe19e291477cb8d21e2a085eb6bd7c4e46632db21702538ac96f87c1 size: 1792
Job succeeded
2025-06-10 14:25.02: Job succeeded