Build:
  1. 1
  2. 0
2026-01-12 18:56.21: 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 ubuntu-22.04-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:ubuntu-22.04-ocaml-4.14@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8
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 "\"ubuntu-22.04\""; 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.21: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8-fs-io.3.21.0-001b427da21d4d746e124eaaffab7b4134813f6d"
2026-01-12 18:56.21: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8)
 (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 \"\\\"ubuntu-22.04\\\"\"; 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.21: Waiting for resource in pool OCluster
2026-01-13 03:40.01: Waiting for worker…
2026-01-13 03:42.12: Got resource from pool OCluster
Building on toxis.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:ubuntu-22.04-ocaml-4.14@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8' locally
docker.io/ocaml/opam@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8: Pulling from ocaml/opam
7e49dc6156b0: Already exists
65bdcb90cd9a: Already exists
8a57a4c399f1: Already exists
59c09820d352: Already exists
0b0f4f66ef34: Already exists
e90294888346: Already exists
ce0c8e352950: Already exists
e1c547e72f55: Already exists
f65f7d0d5a6b: Already exists
5bf8f7b5ae47: Already exists
4c0063a04a4f: Already exists
8f78cdfec5cd: Already exists
576b7ada738c: Already exists
08e02ba26792: Already exists
2178ec162f17: Already exists
1e3cdad8c2cf: Already exists
b8bc66c50efe: Already exists
b8bc66c50efe: Already exists
4f4fb700ef54: Already exists
c97176e241e4: Already exists
4e3fb299a44e: Already exists
918a18accca5: Already exists
4f4fb700ef54: Already exists
a67fbef18c3b: Already exists
493e62f841d2: Already exists
63f963a03809: Already exists
11fba2bf1c32: Already exists
6566e414ef98: Already exists
242773756c53: Already exists
347353cb20e5: Already exists
a3406a4edb0c: Already exists
410a36612209: Already exists
2d65b6db5b4b: Already exists
f3e3808d15ca: Already exists
7acec8b986fd: Already exists
a6c7dcc7803f: Already exists
92d000ad2eb2: Already exists
a9b5fc1c0e92: Already exists
8bc304301dd4: Already exists
0712946836c1: Already exists
47bb5b5c05ac: Already exists
250725217ac7: Pulling fs layer
8d16536fcca8: Pulling fs layer
22ba3d94f2ce: Pulling fs layer
5165cc64b80f: Pulling fs layer
5165cc64b80f: Waiting
8d16536fcca8: Download complete
22ba3d94f2ce: Download complete
5165cc64b80f: Download complete
250725217ac7: Verifying Checksum
250725217ac7: Download complete
250725217ac7: Pull complete
8d16536fcca8: Pull complete
22ba3d94f2ce: Pull complete
5165cc64b80f: Pull complete
Digest: sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8
Status: Downloaded newer image for ocaml/opam@sha256:266fbb3915f613fa5b817f2a818bb6fa24592d8546b34f74d6befb0de52e5ea8
2026-01-13 03:42.58 ---> saved as "90e259fdb3ec024178b3429faca5945e28f29b6d61607a0c096e6b2cad5ab8e0"

/: (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:42.58 ---> saved as "796bd02e4fcddde78138fa1f9ed73aebdad8ae345e250c109a5895c9ce89b009"

/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:43.35 ---> saved as "43f446bd4679429fd773763f25dac483a8cf6ef4c157d267fc7742bf7369be02"

/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=ubuntu os-version=22.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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:43.36 ---> saved as "7fc7ddceb73cb91cb5b0bbd01def5f498f2f94b05f47b791ca2795d3308225ce"

/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:43.49 ---> saved as "b000c9af7ea6117bd710b7c62e9dbd8e740450cc4442d08bfe596df57d460bbb"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1289 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3637 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1600 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3968 kB]
- Fetched 10.9 MB in 1s (9703 kB/s)
- Reading package lists...
- 
2026-01-13 03:44.20 ---> saved as "225a3fc940503b9ffe646f0c0ffd6cd7892eb97d0f412d09e8528358e379a0de"

/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:44.21 ---> saved as "a886fbd157aa4c90c733abf56e258387f31fa544d587d3e8cf82dd619e008d7d"

/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 \"\\\"ubuntu-22.04\\\"\"; 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"))
fs-io.3.21.0 is not installed. Install it? [Y/n] y
bash: line 1:     7 Segmentation fault      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 "\"ubuntu-22.04\""; 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 139
2026-01-13 03:44.42: Job failed: Failed: Build failed