(for PR #29530)

2026-04-27 07:45.27: New job: build lambda-term.3.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29530/head (395113449576622af70540fb22e5d90e18554bdc)
                              on alpine-3.23-ocaml-5.4/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/29530/head" && git reset --hard 39511344
git fetch origin master
git merge --no-edit d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
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 lambda-term.3.1.0 3.1.0
RUN opam reinstall lambda-term.3.1.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 "\"alpine-3.23\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lambda-term.3.1.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-04-27 07:45.27: Using cache hint "ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366-lambda-term.3.1.0-395113449576622af70540fb22e5d90e18554bdc"
2026-04-27 07:45.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
 (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 lambda-term.3.1.0 3.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lambda-term.3.1.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 \"\\\"alpine-3.23\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lambda-term.3.1.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-04-27 07:45.27: Connecting to build cluster…
2026-04-27 07:45.27: Waiting for resource in pool OCluster
2026-04-27 07:50.35: Waiting for worker…
2026-04-27 07:53.23: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
Merge made by the 'ort' strategy.
 packages/bimage-lwt/bimage-lwt.0.3.0/opam    | 6 +++++-
 packages/bimage-lwt/bimage-lwt.0.3.1/opam    | 6 +++++-
 packages/bimage-lwt/bimage-lwt.0.4.0/opam    | 6 +++++-
 packages/caqti-lwt/caqti-lwt.0.11.0/opam     | 4 +++-
 packages/caqti-lwt/caqti-lwt.1.0.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.2.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.3.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.6.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.7.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.8.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.9.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.0.1/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.1.1/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.2.4/opam      | 6 +++++-
 packages/fuseau-lwt/fuseau-lwt.0.1/opam      | 6 +++++-
 packages/lambda-term/lambda-term.1.13/opam   | 6 +++++-
 packages/lambda-term/lambda-term.2.0.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0.2/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0.3/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0/opam    | 6 +++++-
 packages/lambda-term/lambda-term.3.0.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.0.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.1.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.2.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.2/opam  | 6 +++++-
 packages/lwt_domain/lwt_domain.0.1.0/opam    | 6 +++++-
 packages/lwt_domain/lwt_domain.0.2.0/opam    | 6 +++++-
 packages/lwt_domain/lwt_domain.0.3.0/opam    | 6 +++++-
 packages/lwt_eio/lwt_eio.0.1/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.2/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.3/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.4/opam            | 7 ++++++-
 packages/lwt_eio/lwt_eio.0.5.1/opam          | 7 ++++++-
 packages/lwt_eio/lwt_eio.0.5/opam            | 7 ++++++-
 packages/lwt_glib/lwt_glib.1.0.1/opam        | 6 +++++-
 packages/lwt_glib/lwt_glib.1.1.0/opam        | 6 +++++-
 packages/lwt_glib/lwt_glib.1.1.1/opam        | 6 +++++-
 packages/lwt_log/lwt_log.1.1.0/opam          | 6 +++++-
 packages/lwt_log/lwt_log.1.1.1/opam          | 6 +++++-
 packages/lwt_log/lwt_log.1.1.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.0.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.0.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.1.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.3/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.4/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.3/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.1.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.8.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.8.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.3/opam          | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.10/opam | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.6/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.7/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.8/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.9/opam  | 6 +++++-
 packages/mwt/mwt.0.1.0/opam                  | 6 +++++-
 packages/nocrypto/nocrypto.0.5.4-1/opam      | 6 +++++-
 packages/nocrypto/nocrypto.0.5.4-2/opam      | 6 +++++-
 packages/ocluster/ocluster.0.1/opam          | 4 +++-
 packages/ocluster/ocluster.0.2.1/opam        | 6 +++++-
 packages/ocluster/ocluster.0.2/opam          | 4 +++-
 packages/ocluster/ocluster.0.3.0/opam        | 6 +++++-
 packages/picos/picos.0.3.0/opam              | 6 +++++-
 packages/picos/picos.0.4.0/opam              | 6 +++++-
 packages/picos_lwt/picos_lwt.0.5.0/opam      | 6 +++++-
 packages/picos_lwt/picos_lwt.0.6.0/opam      | 6 +++++-
 packages/tezt/tezt.2.0.0/opam                | 6 +++++-
 packages/tezt/tezt.3.0.0/opam                | 4 +++-
 packages/tezt/tezt.3.1.0/opam                | 4 +++-
 packages/tezt/tezt.3.1.1/opam                | 4 +++-
 packages/tezt/tezt.4.0.0/opam                | 4 +++-
 packages/tezt/tezt.4.1.0/opam                | 4 +++-
 packages/tezt/tezt.4.2.0/opam                | 4 +++-
 packages/tezt/tezt.4.3.0/opam                | 4 +++-
 84 files changed, 403 insertions(+), 84 deletions(-)

(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366' locally
docker.io/ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
a34595d6f491: Already exists
7333547f58a0: Already exists
803cdf5f2902: Already exists
d74501489c54: Already exists
628aecb9cafb: Already exists
0c52f398a865: Already exists
f4e18988783e: Pulling fs layer
d9b0005bf058: Pulling fs layer
ac511140fcec: Pulling fs layer
e5e3b5898b4b: Pulling fs layer
08e53197d17a: Pulling fs layer
9502f6b2d19e: Pulling fs layer
f4e18988783e: Waiting
ac511140fcec: Waiting
e5e3b5898b4b: Waiting
08e53197d17a: Waiting
9502f6b2d19e: Waiting
f4e18988783e: Verifying Checksum
f4e18988783e: Download complete
f4e18988783e: Pull complete
d9b0005bf058: Verifying Checksum
d9b0005bf058: Download complete
d9b0005bf058: Pull complete
e5e3b5898b4b: Verifying Checksum
e5e3b5898b4b: Download complete
9502f6b2d19e: Verifying Checksum
9502f6b2d19e: Download complete
08e53197d17a: Verifying Checksum
08e53197d17a: Download complete
ac511140fcec: Verifying Checksum
ac511140fcec: Download complete
ac511140fcec: Pull complete
e5e3b5898b4b: Pull complete
08e53197d17a: Pull complete
9502f6b2d19e: Pull complete
Digest: sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
Status: Downloaded newer image for ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
2026-04-27 08:08.08 ---> using "01c11b07ac2b5cd48e66007e5a5cac291b476dda37442ad969d24b0ab6dc0559" 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-04-27 08:08.08 ---> using "5fa6b9ef5549d606fde31aba0d2d7485a36147f16a3ee218cbb6a6f517620475" 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-04-27 08:08.08 ---> using "2b7c0c1ec60c3c866c21f4c48a177ecdc8d20898064aa58e8186b73bd0a3b82c" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=alpine os-version=3.23.4
# 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       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-04-27 08:08.08 ---> using "7862949e114365a7d947f371162aff05306891b079ee9ff96207c1c35ea17ff1" 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-04-27 08:08.08 ---> using "b5281aa9dc433b8ef976cfc81df3773fee0eb65d5c716c2c984d2975eae1fea3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:08.08 ---> using "c05e20361976cf900c008ea76bee306a8664c8bf905eabf21a714dcd775e2ec3" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:08.08 ---> using "965085b8a860df8a6fe4b2d20f60ccc452bf1cc6c9aea27902d0476469c81660" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-59-gb9ff5fecad9 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-62-gc06bcbb6e5a [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-8556-g62e2b7bb20c [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-8557-g79450ec30a5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-8554-gb33de4ab903 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62089 distinct packages available
2026-04-27 08:08.08 ---> using "605a3233cc79f9f27ee9579c8f3f421b17913f9d42be563ca33a47a6c40bc0d0" from cache

/home/opam: (run (shell "opam pin add -k version -yn lambda-term.3.1.0 3.1.0"))
lambda-term is now pinned to version 3.1.0
2026-04-27 08:08.08 ---> using "a78a63ac2e15d818f9ab7724117696a56b9a0664a35c8fd0cabf70516e20d7b0" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lambda-term.3.1.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 \"\\\"alpine-3.23\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lambda-term.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lambda-term.3.1.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - lambda-term = 3.1.0 -> camomile < 2.0.0 -> jbuilder -> ocaml < 5.0 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - lambda-term = 3.1.0 -> camomile < 2.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants
  * Missing dependency:
    - lambda-term = 3.1.0 -> camomile < 2.0.0 -> ocaml < 4.12 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - lambda-term = 3.1.0 -> camomile < 2.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - lambda-term = 3.1.0 -> camomile < 2.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall lambda-term.3.1.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 "\"alpine-3.23\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'lambda-term.3.1.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 20
2026-04-27 08:08.24: Job failed: Failed: Build failed
2026-04-27 08:08.24: Log analysis:
2026-04-27 08:08.24: >>> 
No solution found, exiting
 (score = 100)
2026-04-27 08:08.24: [SKIP] Package not available