Build:
  1. 1
  2. 0
2026-01-12 18:56.22: New job: build fs-io.3.21.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29216/head (001b427da21d4d746e124eaaffab7b4134813f6d)
                              on centos-10-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29216/head" && git reset --hard 001b427d
git fetch origin master
git merge --no-edit 7d22a58614c38be74d79ae6ef2b64994ca4ffef0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn fs-io.3.21.0 3.21.0
RUN opam reinstall fs-io.3.21.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'fs-io.3.21.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-01-12 18:56.22: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84-fs-io.3.21.0-001b427da21d4d746e124eaaffab7b4134813f6d"
2026-01-12 18:56.22: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn fs-io.3.21.0 3.21.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall fs-io.3.21.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'fs-io.3.21.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-12 18:56.22: Waiting for resource in pool OCluster
2026-01-13 03:43.39: Waiting for worker…
2026-01-13 03:45.39: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 7d22a58614 Merge pull request #29184 from raphael-proust/opam-publish-lwt.6.0.0
Updating 7d22a58614..001b427da2
Fast-forward
 packages/chrome-trace/chrome-trace.3.21.0/opam     | 41 ++++++++++++
 .../dune-action-plugin.3.21.0/opam                 | 54 ++++++++++++++++
 .../dune-build-info/dune-build-info.3.21.0/opam    | 47 ++++++++++++++
 .../dune-configurator.3.21.0/opam                  | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0/opam           | 44 +++++++++++++
 .../dune-private-libs.3.21.0/opam                  | 52 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam     | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0/opam             | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0/opam           | 39 +++++++++++
 packages/dune/dune.3.21.0/opam                     | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0/opam                       | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0/opam                   | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0/opam         | 45 +++++++++++++
 packages/ordering/ordering.3.21.0/opam             | 40 ++++++++++++
 packages/stdune/stdune.3.21.0/opam                 | 48 ++++++++++++++
 packages/top-closure/top-closure.3.21.0/opam       | 40 ++++++++++++
 packages/xdg/xdg.3.21.0/opam                       | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0/opam
 create mode 100644 packages/dune/dune.3.21.0/opam
 create mode 100644 packages/dyn/dyn.3.21.0/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0/opam
 create mode 100644 packages/ordering/ordering.3.21.0/opam
 create mode 100644 packages/stdune/stdune.3.21.0/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0/opam
 create mode 100644 packages/xdg/xdg.3.21.0/opam

(from ocaml/opam:centos-10-ocaml-4.14@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84)
Unable to find image 'ocaml/opam:centos-10-ocaml-4.14@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84' locally
docker.io/ocaml/opam@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84: Pulling from ocaml/opam
53f42949fa77: Already exists
444dec916cd4: Already exists
59f6f0c9a5d7: Already exists
260ded72e369: Already exists
bc4c03ff116b: Already exists
da52131532d2: Already exists
1deed733d92f: Already exists
01d24694a077: Already exists
bc468652e1eb: Already exists
6b45386f9be4: Already exists
b54e8cea0c68: Already exists
ed57212f65e9: Already exists
36788c94d5ce: Already exists
3c31ff4d551c: Already exists
aaf60c4b152e: Already exists
a16112ff480b: Already exists
111bad34b84a: Already exists
895da8b940be: Already exists
895da8b940be: Already exists
3ee91998fa26: Already exists
e64c7be83be4: Already exists
4d10cd2d5eba: Already exists
a75bc4bfe62a: Already exists
4f4fb700ef54: Already exists
8455f1244154: Already exists
006cbddb9d09: Already exists
cd173e5ec698: Already exists
36c3b81c50d2: Already exists
58353cc6896a: Already exists
46162834f8f4: Already exists
149000c233c2: Already exists
2e892601c849: Already exists
fa27e8c98fee: Already exists
e45345ee2200: Already exists
ea440f989a0e: Already exists
793569a5dc4a: Already exists
ca68d7394998: Already exists
a07e725d39b6: Already exists
e537ccdf15f0: Already exists
0818df337bc6: Already exists
8a4bf0a26bfc: Already exists
8a9b15fda584: Already exists
675e7c3eeeb3: Pulling fs layer
a4235643bd02: Pulling fs layer
57980d1e7544: Pulling fs layer
361b432385cd: Pulling fs layer
57980d1e7544: Waiting
361b432385cd: Waiting
a4235643bd02: Download complete
57980d1e7544: Verifying Checksum
57980d1e7544: Download complete
361b432385cd: Verifying Checksum
361b432385cd: Download complete
675e7c3eeeb3: Verifying Checksum
675e7c3eeeb3: Download complete
675e7c3eeeb3: Pull complete
a4235643bd02: Pull complete
57980d1e7544: Pull complete
361b432385cd: Pull complete
Digest: sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84
Status: Downloaded newer image for ocaml/opam@sha256:b660e16cadeddbde9d2bb21236b2a88db613a67c92e1ccbb566a474705805b84
2026-01-13 03:45.51 ---> using "227531a001cd1499f764bdd02140203ebdfebc6c5e271f96b6e196d31a153f56" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-13 03:45.51 ---> using "b8999ceab0f8ba81994b336fe993e8e75a72bf3389ff9f0a09fd641232e96941" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-13 03:45.51 ---> using "38f9f57e18ef6faece267a244672f85ca993fd636a3cf0fb7e3af54ccafb0dd4" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-13 03:45.51 ---> using "66be453c9ee7c19dfbe1c0dce53548c610eaaec7511fc828febf12134301e839" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-13 03:45.51 ---> using "456ca2b00051f9d90b6a474674d842d1197a2bde20bcaffd9c58c42e7f0d5427" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-13 03:45.58 ---> saved as "dfb498420b184e010f1288d366742b6bc722fd7cee2467e9e981ae8968d33e95"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-13 03:46.15 ---> saved as "4e3c3f4e6bc2e313b6debb081ed0329b314f3f0a93dc4effd41bd5a24ae845f3"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        36 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    221 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          231 kB/s |  15 kB     00:00    
- CentOS Stream 10 - Extras packages               40 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-01-13 03:46.17 ---> saved as "f07373a69b91741aa2231d12b9bb1d8bac7cc255121dcb989c3c41674894c5ae"

/home/opam: (run (shell "opam pin add -k version -yn fs-io.3.21.0 3.21.0"))
fs-io is now pinned to version 3.21.0
2026-01-13 03:46.18 ---> saved as "9b672a5ec890e0a3485d72326a58ee2cf0a613d249391b68dd58a2ed7de068a2"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall fs-io.3.21.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'fs-io.3.21.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
Fatal error: out of memory
bash: line 1:     7 Aborted                 opam reinstall fs-io.3.21.0
"/usr/bin/env" "bash" "-c" "opam reinstall fs-io.3.21.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'fs-io.3.21.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 134
2026-01-13 03:46.26: Job failed: Failed: Build failed