(for PR #29211)

2026-01-18 13:53.31: New job: test melange-webapi.0.22.0 with menhirCST.20260112, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
                              on debian-13-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/29211/head" && git reset --hard 40f2d815
git fetch origin master
git merge --no-edit 5a5103c1c342a572f3174f77c2bf2a3883cd4a69
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
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 menhirCST.20260112 20260112
RUN opam reinstall menhirCST.20260112; \
    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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'menhirCST.20260112' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall melange-webapi.0.22.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'melange-webapi.0.22.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test melange-webapi.0.22.0) || true
RUN opam reinstall --with-test --verbose melange-webapi.0.22.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'melange-webapi.0.22.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-18 13:53.31: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-menhirCST.20260112-melange-webapi.0.22.0-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:53.31: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
 (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 menhirCST.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirCST.20260112;\
             \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 \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'menhirCST.20260112' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall melange-webapi.0.22.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 \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'melange-webapi.0.22.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test melange-webapi.0.22.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose melange-webapi.0.22.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 \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'melange-webapi.0.22.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-18 13:53.31: Waiting for resource in pool OCluster
2026-01-19 02:09.18: Waiting for worker…
2026-01-19 02:27.40: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  68% (13086/19232)
Updating files:  69% (13271/19232)
Updating files:  70% (13463/19232)
Updating files:  71% (13655/19232)
Updating files:  72% (13848/19232)
Updating files:  73% (14040/19232)
Updating files:  74% (14232/19232)
Updating files:  75% (14424/19232)
Updating files:  76% (14617/19232)
Updating files:  77% (14809/19232)
Updating files:  78% (15001/19232)
Updating files:  79% (15194/19232)
Updating files:  80% (15386/19232)
Updating files:  81% (15578/19232)
Updating files:  82% (15771/19232)
Updating files:  83% (15963/19232)
Updating files:  84% (16155/19232)
Updating files:  85% (16348/19232)
Updating files:  86% (16540/19232)
Updating files:  87% (16732/19232)
Updating files:  88% (16925/19232)
Updating files:  89% (17117/19232)
Updating files:  90% (17309/19232)
Updating files:  91% (17502/19232)
Updating files:  92% (17694/19232)
Updating files:  93% (17886/19232)
Updating files:  94% (18079/19232)
Updating files:  95% (18271/19232)
Updating files:  96% (18463/19232)
Updating files:  97% (18656/19232)
Updating files:  98% (18848/19232)
Updating files:  99% (19040/19232)
Updating files: 100% (19232/19232)
Updating files: 100% (19232/19232), done.
HEAD is now at 5a5103c1c3 Merge pull request #29240 from sanette/opam-publish-ufind.0.2.0
Updating 5a5103c1c3..40f2d81504
Fast-forward
 packages/menhir/menhir.20260112/opam       | 32 ++++++++++++++++++++++++++++++
 packages/menhirCST/menhirCST.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirGLR/menhirGLR.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirLib/menhirLib.20260112/opam | 31 +++++++++++++++++++++++++++++
 packages/menhirSdk/menhirSdk.20260112/opam | 31 +++++++++++++++++++++++++++++
 5 files changed, 154 insertions(+)
 create mode 100644 packages/menhir/menhir.20260112/opam
 create mode 100644 packages/menhirCST/menhirCST.20260112/opam
 create mode 100644 packages/menhirGLR/menhirGLR.20260112/opam
 create mode 100644 packages/menhirLib/menhirLib.20260112/opam
 create mode 100644 packages/menhirSdk/menhirSdk.20260112/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa' locally
docker.io/ocaml/opam@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa: Pulling from ocaml/opam
281b80c799de: Already exists
ce76feb86791: Already exists
7984eb0e5b45: Already exists
56c452a960b1: Already exists
b85825bef00a: Already exists
d6ff43dfb85c: Already exists
4197ec645389: Already exists
37cac33e41ff: Already exists
4cb993fb248e: Already exists
ca442870f91f: Already exists
b1d1a2fb5f4a: Already exists
0dea577b2801: Already exists
cc10daaea4fd: Already exists
5f878cb1723a: Already exists
8968959fa983: Already exists
5bdd9b9ed0e3: Already exists
55661c5b388f: Already exists
55661c5b388f: Already exists
92d1dc6907bd: Already exists
7100b414728b: Already exists
a6a54ddc9818: Already exists
a920ad627810: Already exists
4f4fb700ef54: Already exists
f7df7b6e19c0: Already exists
cd713d66718c: Already exists
6ed45ab2af86: Already exists
40598b80a8fe: Already exists
983f7969ff00: Already exists
40ec09ee09bd: Already exists
76a0afa38cd9: Already exists
1d5a564d139a: Already exists
82883b85a4f0: Already exists
1d8458efd73b: Already exists
2d80a9fac9ac: Already exists
4d69ee6ae94b: Already exists
ce8d28b713f1: Already exists
97580d938033: Already exists
da5fa40e04f8: Already exists
d7a499968f64: Already exists
28e5932c7c69: Already exists
81389c423fc3: Already exists
fd0f9d83fc4c: Pulling fs layer
a1ba3ff55715: Pulling fs layer
8a64be1e983f: Pulling fs layer
f7b330997686: Pulling fs layer
f7b330997686: Waiting
a1ba3ff55715: Verifying Checksum
a1ba3ff55715: Download complete
8a64be1e983f: Verifying Checksum
8a64be1e983f: Download complete
f7b330997686: Verifying Checksum
f7b330997686: Download complete
fd0f9d83fc4c: Verifying Checksum
fd0f9d83fc4c: Download complete
fd0f9d83fc4c: Pull complete
a1ba3ff55715: Pull complete
8a64be1e983f: Pull complete
f7b330997686: Pull complete
Digest: sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
Status: Downloaded newer image for ocaml/opam@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
2026-01-19 02:27.50 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" 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-19 02:27.50 ---> using "79eb1218297339daa5e94be48ad16ae73f417b872defa106efeff5b5f3323e6e" 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-19 02:27.50 ---> using "bf81485066c79fc9faf7a51b95869ba9d998fe2bf3de5ff7f59b253fc915122f" 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=debian os-version=13
# 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-19 02:27.50 ---> using "f7c0c02658daf7a6d6c7671a8028e0e553264100bd569724894645b7844f6d7f" 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-19 02:27.50 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 02:27.52 ---> using "7220ba069349e9afbef45487cdbfd33f15d06f62e087e918f37610186181781f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 02:27.52 ---> using "4503f5ddf0d5dcca98af2567102bcb556191e6a295e5230d4a8d2737b6daff0f" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 10s (981 kB/s)
- Reading package lists...
- 
2026-01-19 02:27.52 ---> using "3a9bb990e0610428e9a825095b51319b3a5d4e1505fc73b7bbe6c92ce0c5bfa6" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhirCST.20260112 20260112"))
menhirCST is now pinned to version 20260112
2026-01-19 02:27.52 ---> using "d43484bd8c3f93c4f5159dcdebd8879fbb1e14548caee6b737e10ef99fc9b5f6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall menhirCST.20260112;\
                        \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 \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'menhirCST.20260112' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
menhirCST.20260112 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune      3.21.0            [required by menhirCST]
  - install menhirCST 20260112 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirCST.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirCST.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 02:27.52 ---> using "3ff760715cf005783db99f9305b3e928eb4c91a2b2eb7dd87596bbd6e4daab4c" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall melange-webapi.0.22.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 \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'melange-webapi.0.22.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
melange-webapi.0.22.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
  - install cmdliner            2.1.0     [required by melange, reason]
  - install cppo                1.8.0     [required by melange, reason]
  - install dune-build-info     3.21.0    [required by melange, reason]
  - install fix                 20250919  [required by reason]
  - install melange             6.0.1-414 [required by melange-webapi]
  - install melange-fetch       0.2.0     [required by melange-webapi]
  - install melange-webapi      0.22.0
  - install menhir              20260112  [required by melange, reason]
  - install menhirGLR           20260112  [required by menhir]
  - install menhirLib           20260112  [required by menhir]
  - install menhirSdk           20260112  [required by menhir]
  - install merlin-extend       0.6.2     [required by reason]
  - install ocaml-compiler-libs v0.12.4   [required by ppxlib]
  - install ocamlfind           1.9.8     [required by reason]
  - install ppx_derivers        1.2.1     [required by ppxlib]
  - install ppxlib              0.37.0    [required by melange, reason]
  - install reason              3.17.2    [required by melange-webapi]
  - install sexplib0            v0.17.0   [required by ppxlib]
  - install stdlib-shims        0.3.0     [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed cppo.1.8.0
-> retrieved dune-build-info.3.21.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved melange.6.0.1-414  (cached)
-> retrieved melange-fetch.0.2.0  (cached)
-> retrieved melange-webapi.0.22.0  (cached)
-> installed cmdliner.2.1.0
-> installed dune-build-info.3.21.0
-> installed fix.20250919
-> retrieved menhir.20260112, menhirGLR.20260112, menhirLib.20260112, menhirSdk.20260112  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0  (cached)
-> installed merlin-extend.0.6.2
-> installed menhirLib.20260112
-> installed menhirGLR.20260112
-> installed menhirSdk.20260112
-> retrieved reason.3.17.2  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed ocamlfind.1.9.8
-> installed menhir.20260112
-> installed ppxlib.0.37.0
-> installed reason.3.17.2
-> installed melange.6.0.1-414
-> installed melange-fetch.0.2.0
-> installed melange-webapi.0.22.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 02:29.57 ---> saved as "7cecf472e3e485a5558542f9b29c9c10405a527b40403b905a8d3d5f237cc30f"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test melange-webapi.0.22.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile melange-webapi      0.22.0
=== install 25 packages
  - install   astring             0.8.5    [required by ocaml-lsp-server]
  - install   camlp-streams       5.0.1    [required by ocaml-lsp-server]
  - install   chrome-trace        3.21.0   [required by ocaml-lsp-server]
  - install   csexp               1.5.2    [required by ocaml-lsp-server]
  - install   dune-rpc            3.21.0   [required by ocaml-lsp-server]
  - install   dyn                 3.21.0   [required by ocaml-lsp-server]
  - install   fiber               3.7.0    [required by ocaml-lsp-server]
  - install   fs-io               3.21.0   [required by stdune]
  - install   merlin-lib          4.16-414 [required by ocaml-lsp-server]
  - install   ocaml-lsp-server    1.17.0   [required by melange-webapi]
  - install   ocamlbuild          0.16.1   [required by astring, uutf]
  - install   ocamlc-loc          3.21.0   [required by ocaml-lsp-server]
  - install   ocamlformat-rpc-lib 0.28.1   [required by ocaml-lsp-server]
  - install   ordering            3.21.0   [required by ocaml-lsp-server]
  - install   pp                  2.0.0    [required by ocaml-lsp-server]
  - install   ppx_yojson_conv_lib v0.16.0  [required by ocaml-lsp-server]
  - install   re                  1.14.0   [required by ocaml-lsp-server]
  - install   seq                 base     [required by yojson]
  - install   spawn               v0.17.0  [required by ocaml-lsp-server]
  - install   stdune              3.21.0   [required by ocaml-lsp-server]
  - install   top-closure         3.21.0   [required by stdune]
  - install   topkg               1.1.1    [required by astring, uutf]
  - install   uutf                1.0.4    [required by ocaml-lsp-server]
  - install   xdg                 3.21.0   [required by ocaml-lsp-server]
  - install   yojson              2.2.2    [required by ocaml-lsp-server]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved camlp-streams.5.0.1  (https://opam.ocaml.org/cache)
-> installed camlp-streams.5.0.1
-> retrieved chrome-trace.3.21.0, dune-rpc.3.21.0, dyn.3.21.0, fs-io.3.21.0, ocamlc-loc.3.21.0, ordering.3.21.0, stdune.3.21.0, top-closure.3.21.0, xdg.3.21.0  (https://opam.ocaml.org/cache)
-> retrieved csexp.1.5.2  (https://opam.ocaml.org/cache)
-> retrieved fiber.3.7.0  (https://opam.ocaml.org/cache)
-> retrieved melange-webapi.0.22.0  (https://opam.ocaml.org/cache)
-> installed csexp.1.5.2
-> retrieved merlin-lib.4.16-414  (https://opam.ocaml.org/cache)
-> installed chrome-trace.3.21.0
-> installed ordering.3.21.0
-> installed top-closure.3.21.0
-> installed fs-io.3.21.0
-> installed xdg.3.21.0
-> retrieved ocaml-lsp-server.1.17.0  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlformat-rpc-lib.0.28.1  (https://opam.ocaml.org/cache)
-> retrieved pp.2.0.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_yojson_conv_lib.v0.16.0  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved spawn.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> installed pp.2.0.0
-> installed ocamlformat-rpc-lib.0.28.1
-> installed re.1.14.0
-> installed spawn.v0.17.0
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved yojson.2.2.2  (https://opam.ocaml.org/cache)
-> installed dyn.3.21.0
-> installed yojson.2.2.2
-> removed   melange-webapi.0.22.0
-> installed ocamlbuild.0.16.1
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed ocamlc-loc.3.21.0
-> installed stdune.3.21.0
-> installed fiber.3.7.0
-> installed topkg.1.1.1
-> installed merlin-lib.4.16-414
-> installed dune-rpc.3.21.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed ocaml-lsp-server.1.17.0
-> installed melange-webapi.0.22.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 02:32.00 ---> saved as "44a6a292300d5c7461fd50b29929a1adb14ef1409bf8b62850d4c847b335d2a8"

/home/opam: (run (shell  "opam reinstall --with-test --verbose melange-webapi.0.22.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 \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'melange-webapi.0.22.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== downgrade 1 package
  - downgrade sexplib0          v0.17.0 to v0.16.0    [required by base]
=== recompile 5 packages
  - recompile melange           6.0.1-414             [uses ppxlib]
  - recompile melange-fetch     0.2.0                 [uses melange]
  - recompile melange-webapi    0.22.0
  - recompile ppxlib            0.37.0                [uses sexplib0]
  - recompile reason            3.17.2                [uses ppxlib]
=== upgrade 2 packages
  - upgrade   merlin-lib        4.16-414 to 4.19-414  [required by ocaml-lsp-server]
  - upgrade   ocaml-lsp-server  1.17.0 to 1.21.0-4.14 [required by melange-webapi]
=== install 4 packages
  - install   base              v0.16.4               [required by ocaml-lsp-server]
  - install   dune-configurator 3.21.0                [required by base]
  - install   jsonrpc           1.21.0-4.14           [required by ocaml-lsp-server]
  - install   lsp               1.21.0-4.14           [required by ocaml-lsp-server]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/42: [base.v0.16.4: dl]
Processing  1/42: [base.v0.16.4: http]
[ERROR] Failed to get sources of base.v0.16.4: curl failed
Processing  2/42: [dune-configurator.3.21.0: extract]
-> retrieved dune-configurator.3.21.0  (cached)
Processing  3/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: dl]
Processing  4/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: dl] [dune-configurator: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.21.0)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.21.0)
Processing  4/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: dl] [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "71" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.21.0)
-> compiled  dune-configurator.3.21.0
Processing  4/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: dl]
-> installed dune-configurator.3.21.0
Processing  5/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: dl]
Processing  5/42: [jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14: http]
[ERROR] Failed to get sources of jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14 (https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz): curl failed
Processing  6/42: [melange.6.0.1-414: dl]
Processing  7/42: [melange.6.0.1-414: dl]
Processing  8/42: [melange.6.0.1-414: dl]
Processing  9/42: [melange.6.0.1-414: dl]
Processing 10/42: [melange.6.0.1-414: dl]
Processing 10/42: [melange.6.0.1-414: http]
[ERROR] Failed to get sources of melange.6.0.1-414: curl failed
Processing 11/42: [melange-fetch.0.2.0: dl]
Processing 11/42: [melange-fetch.0.2.0: http]
[ERROR] Failed to get sources of melange-fetch.0.2.0: curl failed
Processing 12/42: [melange-webapi.0.22.0: extract]
-> retrieved melange-webapi.0.22.0  (cached)
Processing 13/42: [merlin-lib.4.19-414: dl]
Processing 13/42: [merlin-lib.4.19-414: http]
[ERROR] Failed to get sources of merlin-lib.4.19-414: curl failed
Processing 14/42: [ppxlib.0.37.0: dl]
Processing 15/42: [ppxlib.0.37.0: dl]
Processing 15/42: [ppxlib.0.37.0: http]
[ERROR] Failed to get sources of ppxlib.0.37.0: curl failed
Processing 16/42: [reason.3.17.2: dl]
Processing 16/42: [reason.3.17.2: http]
[ERROR] Failed to get sources of reason.3.17.2: curl failed
Processing 17/42: [sexplib0.v0.16.0: dl]
Processing 17/42: [sexplib0.v0.16.0: http]
[ERROR] Failed to get sources of sexplib0.v0.16.0: curl failed

#=== ERROR while fetching sources for sexplib0.v0.16.0 ========================#
OpamSolution.Fetch_fail("https://ocaml.janestreet.com/ocaml-core/v0.16/files/sexplib0-v0.16.0.tar.gz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-31547c/sexplib0-v0.16.0.tar.gz.part -- https://ocaml.janestreet.com/ocaml-core/v0.16/files/sexplib0-v0.16.0.tar.gz\" exited with code 6)")

#=== ERROR while fetching sources for reason.3.17.2 ===========================#
OpamSolution.Fetch_fail("https://github.com/reasonml/reason/releases/download/3.17.2/reason-3.17.2.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-b1a7b3/reason-3.17.2.tbz.part -- https://github.com/reasonml/reason/releases/download/3.17.2/reason-3.17.2.tbz\" exited with code 6)")

#=== ERROR while fetching sources for ppxlib.0.37.0 ===========================#
OpamSolution.Fetch_fail("https://github.com/ocaml-ppx/ppxlib/releases/download/0.37.0/ppxlib-0.37.0.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-e4e588/ppxlib-0.37.0.tbz.part -- https://github.com/ocaml-ppx/ppxlib/releases/download/0.37.0/ppxlib-0.37.0.tbz\" exited with code 6)")

#=== ERROR while fetching sources for merlin-lib.4.19-414 =====================#
OpamSolution.Fetch_fail("https://github.com/ocaml/merlin/releases/download/v4.19-414/merlin-4.19-414.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-5708c9/merlin-4.19-414.tbz.part -- https://github.com/ocaml/merlin/releases/download/v4.19-414/merlin-4.19-414.tbz\" exited with code 6)")

#=== ERROR while fetching sources for melange-fetch.0.2.0 =====================#
OpamSolution.Fetch_fail("https://github.com/melange-community/melange-fetch/releases/download/0.2.0/melange-fetch-0.2.0.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-25b2af/melange-fetch-0.2.0.tbz.part -- https://github.com/melange-community/melange-fetch/releases/download/0.2.0/melange-fetch-0.2.0.tbz\" exited with code 6)")

#=== ERROR while fetching sources for melange.6.0.1-414 =======================#
OpamSolution.Fetch_fail("https://github.com/melange-re/melange/releases/download/6.0.1-414/melange-6.0.1-414.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-e3d2ad/melange-6.0.1-414.tbz.part -- https://github.com/melange-re/melange/releases/download/6.0.1-414/melange-6.0.1-414.tbz\" exited with code 6)")

#=== ERROR while fetching sources for jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14 and ocaml-lsp-server.1.21.0-4.14 
OpamSolution.Fetch_fail("https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-98e090/lsp-1.21.0-4.14.tbz.part -- https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz\" exited with code 6)")

#=== ERROR while fetching sources for base.v0.16.4 ============================#
OpamSolution.Fetch_fail("https://github.com/janestreet/base/archive/refs/tags/v0.16.4.tar.gz (curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.5.0 -L -o /tmp/opam-7-405208/v0.16.4.tar.gz.part -- https://github.com/janestreet/base/archive/refs/tags/v0.16.4.tar.gz\" exited with code 6)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - remove    merlin-lib       4.16-414
| - remove    ocaml-lsp-server 1.17.0
| - remove    sexplib0         v0.17.0
| - recompile melange-webapi   0.22.0
+- 
+- The following actions failed
| - fetch base                                                               v0.16.4
| - fetch jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14 
| - fetch melange                                                            6.0.1-414
| - fetch melange-fetch                                                      0.2.0
| - fetch merlin-lib                                                         4.19-414
| - fetch ppxlib                                                             0.37.0
| - fetch reason                                                             3.17.2
| - fetch sexplib0                                                           v0.16.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install dune-configurator 3.21.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260119023200.export"
'opam reinstall --with-test --verbose melange-webapi.0.22.0' failed.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose melange-webapi.0.22.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'melange-webapi.0.22.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 40
2026-01-19 02:34.01: Job failed: Failed: Build failed
2026-01-19 02:34.01: Log analysis:
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of base.v0.16.4: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of jsonrpc.1.21.0-4.14, lsp.1.21.0-4.14, ocaml-lsp-server.1.21.0-4.14 (https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz): curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of melange.6.0.1-414: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of melange-fetch.0.2.0: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of merlin-lib.4.19-414: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of ppxlib.0.37.0: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of reason.3.17.2: curl failed
 (score = 25)
2026-01-19 02:34.01: >>> 
[ERROR] Failed to get sources of sexplib0.v0.16.0: curl failed
 (score = 25)
2026-01-19 02:34.01: Failed to get sources of base.v0.16.4: curl failed