Build:
  1. 0
2025-12-13 07:47.03: New job: test melange-webapi.0.22.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29028/head (f9e22b93236cc4113e808d1656715aead95f35d1)
                              on alpine-3.22-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/29028/head" && git reset --hard f9e22b93
git fetch origin master
git merge --no-edit 59307dadd942c7a6126e2a36ffe2e8565939abc9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860
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 melange-webapi.0.22.0 0.22.0
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 "\"alpine-3.22\""; 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 "\"alpine-3.22\""; 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 .

2025-12-13 07:47.03: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860-melange-webapi.0.22.0-f9e22b93236cc4113e808d1656715aead95f35d1"
2025-12-13 07:47.03: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860)
 (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 melange-webapi.0.22.0 0.22.0"))
 (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 \"\\\"alpine-3.22\\\"\"; 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 \"\\\"alpine-3.22\\\"\"; 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"))
)

2025-12-13 07:47.03: Waiting for resource in pool OCluster
2025-12-13 07:47.04: Waiting for worker…
2025-12-13 07:47.05: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 59307dadd9 Merge pull request #29081 from fpottier/opam-publish-kot.20251212
Merge made by the 'ort' strategy.
 packages/melange-webapi/melange-webapi.0.22.0/opam | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 packages/melange-webapi/melange-webapi.0.22.0/opam

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860' locally
docker.io/ocaml/opam@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860: Pulling from ocaml/opam
e975938d04b0: Already exists
5c2507d7ab8b: Pulling fs layer
56dfaa36dce8: Pulling fs layer
a674cc5759e7: Pulling fs layer
93ff645edae8: Pulling fs layer
93ff645edae8: Waiting
56dfaa36dce8: Verifying Checksum
56dfaa36dce8: Download complete
a674cc5759e7: Verifying Checksum
a674cc5759e7: Download complete
93ff645edae8: Verifying Checksum
93ff645edae8: Download complete
5c2507d7ab8b: Verifying Checksum
5c2507d7ab8b: Download complete
5c2507d7ab8b: Pull complete
56dfaa36dce8: Pull complete
a674cc5759e7: Pull complete
93ff645edae8: Pull complete
Digest: sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860
Status: Downloaded newer image for ocaml/opam@sha256:ee66f6fbc5bcd1a4ae4fd2400cb1a99ceceb3ba63b2c6cabcd2c69015788c860
2025-12-13 07:47.59 ---> using "ec19044f069a9a5c8b678dbd9f85c7c276f55a105136b54366b2f65e56c1ef1c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-13 07:47.59 ---> using "97cf982d51ec8731ebed115e71f4fb117915d223dc72836c4cea91241efab7f4" 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
2025-12-13 07:47.59 ---> using "d76257eec32b1d389d6cb36a708bbe3787a903153ebbc0dffd867641d110921f" 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=alpine os-version=3.22.2
# 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
2025-12-13 07:47.59 ---> using "5ed446b7d46a57205df5936dcc2eb726a245ce1d368a675db6688b90e105c6bf" 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/"))
2025-12-13 07:47.59 ---> using "9e48c279457868d70da50b2d64a8a336eecec7743b5a4f8e98584346d91c8b43" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-13 07:48.04 ---> saved as "ed29ade0e2312eafec7952a23311ec2ad309c8d082158a79d82b11ebe36b01ca"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-13 07:48.26 ---> saved as "b6831bf896292b173ed48086d7f37ed254524be7cb6dd1cb0422c08661381835"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-306-g71f53f10f1a [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-302-g5e12ea0d581 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0-846-gba2e277a079 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0-875-gff5349236f5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0-875-gff5349236f5 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60344 distinct packages available
2025-12-13 07:48.33 ---> saved as "111c27999eb81598ab45bee9021c5cc666ea686c099329f5857d87fc996ef687"

/home/opam: (run (shell "opam pin add -k version -yn melange-webapi.0.22.0 0.22.0"))
melange-webapi is now pinned to version 0.22.0
2025-12-13 07:48.34 ---> saved as "f93139acd54b1a6f8001cfe60f33cf98ac9be8626d0e06c2d5abc42e58bfbf95"

/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 \"\\\"alpine-3.22\\\"\"; 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 20 packages
  - install cmdliner            2.1.0           [required by melange, reason]
  - install cppo                1.8.0           [required by melange, reason]
  - install dune                3.20.2          [required by melange-webapi]
  - install dune-build-info     3.20.2          [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 (pinned)
  - install menhir              20250912        [required by melange, reason]
  - install menhirCST           20250912        [required by menhir]
  - install menhirLib           20250912        [required by menhir]
  - install menhirSdk           20250912        [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.0          [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)
-> retrieved dune.3.20.2, dune-build-info.3.20.2  (cached)
-> retrieved fix.20250919  (cached)
-> installed cmdliner.2.1.0
-> retrieved melange.6.0.1-414  (cached)
-> retrieved melange-fetch.0.2.0  (cached)
-> retrieved melange-webapi.0.22.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (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)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved reason.3.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed cppo.1.8.0
-> installed menhirCST.20250912
-> installed fix.20250919
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed merlin-extend.0.6.2
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed dune-build-info.3.20.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed reason.3.17.0
-> 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)
2025-12-13 07:50.53 ---> saved as "b423742b64225e67f7dec4c0a55aeb3c5aab1b8cc202cc7850076cb82f1b0bc2"

/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 (pinned)
=== install 23 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.20.2          [required by ocaml-lsp-server]
  - install   csexp               1.5.2           [required by ocaml-lsp-server]
  - install   dune-rpc            3.20.2          [required by ocaml-lsp-server]
  - install   dyn                 3.20.2          [required by ocaml-lsp-server]
  - install   fiber               3.7.0           [required by ocaml-lsp-server]
  - 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.20.2          [required by ocaml-lsp-server]
  - install   ocamlformat-rpc-lib 0.28.1          [required by ocaml-lsp-server]
  - install   ordering            3.20.2          [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.20.2          [required by ocaml-lsp-server]
  - install   topkg               1.1.1           [required by astring, uutf]
  - install   uutf                1.0.4           [required by ocaml-lsp-server]
  - install   xdg                 3.20.2          [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.20.2, dune-rpc.3.20.2, dyn.3.20.2, ocamlc-loc.3.20.2, ordering.3.20.2, stdune.3.20.2, xdg.3.20.2  (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)
-> installed csexp.1.5.2
-> installed ordering.3.20.2
-> retrieved merlin-lib.4.16-414  (https://opam.ocaml.org/cache)
-> installed chrome-trace.3.20.2
-> installed xdg.3.20.2
-> 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
-> installed pp.2.0.0
-> installed ocamlformat-rpc-lib.0.28.1
-> retrieved spawn.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved yojson.2.2.2  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> installed spawn.v0.17.0
-> installed dyn.3.20.2
-> installed yojson.2.2.2
-> installed ppx_yojson_conv_lib.v0.16.0
-> removed   melange-webapi.0.22.0
-> installed ocamlbuild.0.16.1
-> installed ocamlc-loc.3.20.2
-> installed stdune.3.20.2
-> installed topkg.1.1.1
-> installed fiber.3.7.0
-> installed uutf.1.0.4
-> installed dune-rpc.3.20.2
-> installed astring.0.8.5
-> installed merlin-lib.4.16-414
-> installed ocaml-lsp-server.1.17.0
-> installed melange-webapi.0.22.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-13 07:52.26 ---> saved as "425f442c0e030c4415a0846f2215e85b78ffe845506b3667a19514f7c9fc15af"

/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 \"\\\"alpine-3.22\\\"\"; 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 (pinned)
  - recompile ppxlib            0.37.0                [uses sexplib0]
  - recompile reason            3.17.0                [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.20.2                [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.20.2: extract]
-> retrieved dune-configurator.3.20.2  (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.20.2)
+ /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.20.2)
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.20.2)
-> compiled  dune-configurator.3.20.2
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.20.2
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 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.0: dl]
Processing 16/42: [reason.3.17.0: http]
[ERROR] Failed to get sources of reason.3.17.0: 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-606631/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.0 ===========================#
OpamSolution.Fetch_fail("https://github.com/reasonml/reason/releases/download/3.17.0/reason-3.17.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-202c34/reason-3.17.0.tbz.part -- https://github.com/reasonml/reason/releases/download/3.17.0/reason-3.17.0.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-ef24b7/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-0113cc/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-a03765/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-1cde35/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-9615d2/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-d6f488/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.0
| - fetch sexplib0                                                           v0.16.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install dune-configurator 3.20.2
+- 
# 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-20251213075227.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 "\"alpine-3.22\""; 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
2025-12-13 07:54.18: Job failed: Failed: Build failed
2025-12-13 07:54.18: Log analysis:
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of base.v0.16.4: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[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)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of melange.6.0.1-414: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of melange-fetch.0.2.0: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of merlin-lib.4.19-414: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of ppxlib.0.37.0: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of reason.3.17.0: curl failed
 (score = 25)
2025-12-13 07:54.18: >>> 
[ERROR] Failed to get sources of sexplib0.v0.16.0: curl failed
 (score = 25)
2025-12-13 07:54.18: Failed to get sources of base.v0.16.4: curl failed