(not at the head of any monitored branch or PR)
2026-04-13 14:41.27: New job: test curly.0.2.0 with dune.3.22.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29704/head (3e0c395e7b1393a792367f8edca3654dac71e6fd)
                              on debian-13-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/29704/head" && git reset --hard 3e0c395e
git fetch origin master
git merge --no-edit ba4685aeec7b28fde6af30c7b83004704c68c86a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4
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 dune.3.22.2 3.22.2
RUN opam reinstall dune.3.22.2; \
    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" != 'dune.3.22.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall curly.0.2.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" != 'curly.0.2.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 curly.0.2.0) || true
RUN opam reinstall --with-test --verbose curly.0.2.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" != 'curly.0.2.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-13 14:41.27: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4-dune.3.22.2-curly.0.2.0-3e0c395e7b1393a792367f8edca3654dac71e6fd"
2026-04-13 14:41.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4)
 (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 dune.3.22.2 3.22.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.2;\
             \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\" != 'dune.3.22.2' && 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 curly.0.2.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\" != 'curly.0.2.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 curly.0.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose curly.0.2.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\" != 'curly.0.2.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-13 14:41.27: Waiting for resource in pool OCluster
2026-04-13 15:17.55: Waiting for worker…
2026-04-13 15:23.35: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  66% (12447/18721)
Updating files:  67% (12544/18721)
Updating files:  68% (12731/18721)
Updating files:  69% (12918/18721)
Updating files:  70% (13105/18721)
Updating files:  71% (13292/18721)
Updating files:  72% (13480/18721)
Updating files:  73% (13667/18721)
Updating files:  74% (13854/18721)
Updating files:  75% (14041/18721)
Updating files:  76% (14228/18721)
Updating files:  77% (14416/18721)
Updating files:  78% (14603/18721)
Updating files:  79% (14790/18721)
Updating files:  80% (14977/18721)
Updating files:  81% (15165/18721)
Updating files:  82% (15352/18721)
Updating files:  83% (15539/18721)
Updating files:  84% (15726/18721)
Updating files:  85% (15913/18721)
Updating files:  86% (16101/18721)
Updating files:  87% (16288/18721)
Updating files:  88% (16475/18721)
Updating files:  89% (16662/18721)
Updating files:  90% (16849/18721)
Updating files:  91% (17037/18721)
Updating files:  92% (17224/18721)
Updating files:  93% (17411/18721)
Updating files:  94% (17598/18721)
Updating files:  95% (17785/18721)
Updating files:  96% (17973/18721)
Updating files:  97% (18160/18721)
Updating files:  98% (18347/18721)
Updating files:  99% (18534/18721)
Updating files: 100% (18721/18721)
Updating files: 100% (18721/18721), done.
HEAD is now at ba4685aeec Merge pull request #29653 from yakobowski/camlidl
Merge made by the 'ort' strategy.
 packages/chrome-trace/chrome-trace.3.22.2/opam     | 39 +++++++++++
 .../dune-action-plugin.3.22.2/opam                 | 52 +++++++++++++++
 .../dune-action-trace.3.22.2/opam                  | 39 +++++++++++
 .../dune-build-info/dune-build-info.3.22.2/opam    | 45 +++++++++++++
 .../dune-configurator.3.22.2/opam                  | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.2/opam           | 42 ++++++++++++
 .../dune-private-libs.3.22.2/opam                  | 50 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam     | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.2/opam             | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.2/opam           | 37 +++++++++++
 packages/dune/dune.3.22.2/opam                     | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.2/opam                       | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.2/opam                   | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam         | 43 +++++++++++++
 packages/ordering/ordering.3.22.2/opam             | 38 +++++++++++
 packages/stdune/stdune.3.22.2/opam                 | 46 +++++++++++++
 packages/top-closure/top-closure.3.22.2/opam       | 38 +++++++++++
 packages/xdg/xdg.3.22.2/opam                       | 39 +++++++++++
 18 files changed, 796 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.2/opam
 create mode 100644 packages/dune-site/dune-site.3.22.2/opam
 create mode 100644 packages/dune/dune.3.22.2/opam
 create mode 100644 packages/dyn/dyn.3.22.2/opam
 create mode 100644 packages/fs-io/fs-io.3.22.2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam
 create mode 100644 packages/ordering/ordering.3.22.2/opam
 create mode 100644 packages/stdune/stdune.3.22.2/opam
 create mode 100644 packages/top-closure/top-closure.3.22.2/opam
 create mode 100644 packages/xdg/xdg.3.22.2/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4' locally
docker.io/ocaml/opam@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Pulling fs layer
2d346d36dcf2: Pulling fs layer
cdc35e289b8d: Pulling fs layer
aeb7244bb580: Pulling fs layer
fc1943254a0d: Pulling fs layer
84238c416f8e: Pulling fs layer
fbbfe75d3112: Pulling fs layer
221fdc5d9929: Pulling fs layer
1fec9149b52a: Pulling fs layer
9c6e52557f24: Pulling fs layer
aeb7244bb580: Waiting
8737f5036aae: Pulling fs layer
fc1943254a0d: Waiting
84238c416f8e: Waiting
d69c4074de14: Pulling fs layer
fbbfe75d3112: Waiting
1fec9149b52a: Waiting
8737f5036aae: Waiting
9c6e52557f24: Waiting
7237152a5f04: Pulling fs layer
fba4b414d8a0: Pulling fs layer
d69c4074de14: Waiting
7237152a5f04: Waiting
40d552afb3ef: Pulling fs layer
fba4b414d8a0: Waiting
077cc17dc8e4: Pulling fs layer
40d552afb3ef: Waiting
077cc17dc8e4: Waiting
169e1be36a55: Pulling fs layer
0a8a005097ab: Pulling fs layer
169e1be36a55: Waiting
caba3ec4b361: Pulling fs layer
0a8a005097ab: Waiting
6a364dc641f8: Pulling fs layer
4f4fb700ef54: Pulling fs layer
caba3ec4b361: Waiting
ab8052928cdc: Pulling fs layer
4f4fb700ef54: Waiting
6a364dc641f8: Waiting
f5717a28dd6a: Pulling fs layer
79233a9b9bed: Pulling fs layer
ab8052928cdc: Waiting
d832d53e7392: Pulling fs layer
f5717a28dd6a: Waiting
79233a9b9bed: Waiting
1872dad82243: Pulling fs layer
bfd849b08ba7: Pulling fs layer
d832d53e7392: Waiting
834a8024ef15: Pulling fs layer
98ccec79258b: Pulling fs layer
bfd849b08ba7: Waiting
834a8024ef15: Waiting
fb48f36a0542: Pulling fs layer
3688b13db8e7: Pulling fs layer
98ccec79258b: Waiting
a5c099f5f72c: Pulling fs layer
3688b13db8e7: Waiting
fb48f36a0542: Waiting
1ff1760de5b0: Pulling fs layer
a5c099f5f72c: Waiting
98eec6764aa5: Pulling fs layer
aa22ae69debd: Pulling fs layer
1ff1760de5b0: Waiting
98eec6764aa5: Waiting
12bfb7b962a2: Pulling fs layer
ec25ce9bb816: Pulling fs layer
beadd3cf7357: Pulling fs layer
aa22ae69debd: Waiting
ec25ce9bb816: Waiting
12bfb7b962a2: Waiting
d0d0c65a426d: Pulling fs layer
beadd3cf7357: Waiting
3574d8cdbcc5: Pulling fs layer
d0d0c65a426d: Waiting
b74552b4db71: Pulling fs layer
3574d8cdbcc5: Waiting
b74552b4db71: Waiting
27b1c047e252: Pulling fs layer
26897dca61f0: Pulling fs layer
27b1c047e252: Waiting
8cb12431740e: Pulling fs layer
0dec740ecd51: Pulling fs layer
26897dca61f0: Waiting
79518206bd07: Pulling fs layer
8cb12431740e: Waiting
0dec740ecd51: Waiting
79518206bd07: Waiting
9cb5e198c8cf: Download complete
9cb5e198c8cf: Pull complete
2d346d36dcf2: Download complete
2d346d36dcf2: Pull complete
aeb7244bb580: Verifying Checksum
aeb7244bb580: Download complete
cdc35e289b8d: Verifying Checksum
cdc35e289b8d: Download complete
84238c416f8e: Verifying Checksum
84238c416f8e: Download complete
fbbfe75d3112: Verifying Checksum
fbbfe75d3112: Download complete
cdc35e289b8d: Pull complete
aeb7244bb580: Pull complete
221fdc5d9929: Verifying Checksum
221fdc5d9929: Download complete
1fec9149b52a: Verifying Checksum
1fec9149b52a: Download complete
9c6e52557f24: Verifying Checksum
9c6e52557f24: Download complete
8737f5036aae: Verifying Checksum
8737f5036aae: Download complete
d69c4074de14: Verifying Checksum
d69c4074de14: Download complete
7237152a5f04: Verifying Checksum
7237152a5f04: Download complete
fba4b414d8a0: Verifying Checksum
fba4b414d8a0: Download complete
40d552afb3ef: Verifying Checksum
40d552afb3ef: Download complete
077cc17dc8e4: Verifying Checksum
077cc17dc8e4: Download complete
169e1be36a55: Verifying Checksum
169e1be36a55: Download complete
0a8a005097ab: Download complete
caba3ec4b361: Verifying Checksum
6a364dc641f8: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ab8052928cdc: Verifying Checksum
ab8052928cdc: Download complete
f5717a28dd6a: Download complete
79233a9b9bed: Download complete
d832d53e7392: Verifying Checksum
d832d53e7392: Download complete
1872dad82243: Verifying Checksum
1872dad82243: Download complete
fc1943254a0d: Verifying Checksum
fc1943254a0d: Download complete
bfd849b08ba7: Download complete
834a8024ef15: Download complete
98ccec79258b: Verifying Checksum
98ccec79258b: Download complete
fb48f36a0542: Verifying Checksum
fb48f36a0542: Download complete
3688b13db8e7: Verifying Checksum
3688b13db8e7: Download complete
a5c099f5f72c: Verifying Checksum
a5c099f5f72c: Download complete
1ff1760de5b0: Download complete
aa22ae69debd: Download complete
ec25ce9bb816: Download complete
beadd3cf7357: Verifying Checksum
beadd3cf7357: Download complete
d0d0c65a426d: Download complete
3574d8cdbcc5: Verifying Checksum
3574d8cdbcc5: Download complete
b74552b4db71: Verifying Checksum
b74552b4db71: Download complete
27b1c047e252: Download complete
26897dca61f0: Verifying Checksum
26897dca61f0: Download complete
8cb12431740e: Verifying Checksum
8cb12431740e: Download complete
0dec740ecd51: Verifying Checksum
0dec740ecd51: Download complete
79518206bd07: Download complete
98eec6764aa5: Verifying Checksum
98eec6764aa5: Download complete
12bfb7b962a2: Verifying Checksum
12bfb7b962a2: Download complete
fc1943254a0d: Pull complete
84238c416f8e: Pull complete
fbbfe75d3112: Pull complete
221fdc5d9929: Pull complete
1fec9149b52a: Pull complete
9c6e52557f24: Pull complete
8737f5036aae: Pull complete
d69c4074de14: Pull complete
7237152a5f04: Pull complete
fba4b414d8a0: Pull complete
40d552afb3ef: Pull complete
077cc17dc8e4: Pull complete
169e1be36a55: Pull complete
0a8a005097ab: Pull complete
caba3ec4b361: Pull complete
6a364dc641f8: Pull complete
4f4fb700ef54: Pull complete
ab8052928cdc: Pull complete
f5717a28dd6a: Pull complete
79233a9b9bed: Pull complete
d832d53e7392: Pull complete
1872dad82243: Pull complete
bfd849b08ba7: Pull complete
834a8024ef15: Pull complete
98ccec79258b: Pull complete
fb48f36a0542: Pull complete
3688b13db8e7: Pull complete
a5c099f5f72c: Pull complete
1ff1760de5b0: Pull complete
98eec6764aa5: Pull complete
aa22ae69debd: Pull complete
12bfb7b962a2: Pull complete
ec25ce9bb816: Pull complete
beadd3cf7357: Pull complete
d0d0c65a426d: Pull complete
3574d8cdbcc5: Pull complete
b74552b4db71: Pull complete
27b1c047e252: Pull complete
26897dca61f0: Pull complete
8cb12431740e: Pull complete
0dec740ecd51: Pull complete
79518206bd07: Pull complete
Digest: sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4
Status: Downloaded newer image for ocaml/opam@sha256:a447b546feb1d9aedc90fda889d688eb9be4d3bdea086d5b2f4f59f38f224ef4
2026-04-13 15:23.39 ---> using "650db199dd47c38a0926a758262f0be95fb78e2d9a79cbdc2809fa2b15683d52" 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-13 15:23.39 ---> using "1d82b13dae11ba0e4ae4c53498d44d66e368b802cfcb77b29900c3af7e2a1562" 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-13 15:23.39 ---> using "8fc56361284f52a58bad5297203dc12518b6d67d540112c1ecc4d982140daeca" 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       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-13 15:23.39 ---> using "fe9db6e6aedfe8a888a2521b45017dcd4b4a70e85e324e4a3527adef84a23afd" 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-13 15:23.39 ---> using "3a79be73bc2436b5aae3b84f3727fd2fe0209a9b7334e20aac2d10fcd0f26769" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-13 15:23.40 ---> using "306e2765f803e9ac22f1023f023e8bba6e1f5296fc47a318acebb969ba1b1204" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-13 15:23.40 ---> using "9e9b4bad2baa72b9fad539bf23d04eb0f2a72097c5685706fe162459f8a36f61" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 1s (202 kB/s)
- Reading package lists...
- 
2026-04-13 15:23.40 ---> using "2fb1ac5ca6037947ba1884eb3a92b9454761e371e0b3c1955630d8faadedabed" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
dune is now pinned to version 3.22.2
2026-04-13 15:23.40 ---> using "44c7d7d7595c4a41e6aab53eb1a771058e5fb0ec8e90350b08cc9f23cb3d5ed9" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.2;\
                        \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\" != 'dune.3.22.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2  (cached)
-> installed dune.3.22.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:24.25 ---> saved as "7aefc73d6425e27bc34bfbdb99d4d7e80ada815df45ed1df4e5c28f9ea60f0d6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall curly.0.2.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\" != 'curly.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
curly.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install curly  0.2.0
  - install result 1.5   [required by curly]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved curly.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved result.1.5  (cached)
-> installed result.1.5
-> installed curly.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:24.36 ---> saved as "63bffdaa99643997528db1b3eb5b8ac4206e0b21ab7303310694d8799e6c9aed"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test curly.0.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile curly                   0.2.0
=== install 65 packages
  - install   alcotest                1.9.1   [required by curly]
  - install   angstrom                0.16.1  [required by uri]
  - install   asn1-combinators        0.3.2   [required by x509]
  - install   astring                 0.8.5   [required by alcotest]
  - install   base                    v0.17.3 [required by ppx_sexp_conv]
  - install   base-bytes              base    [required by ocplib-endian]
  - install   base64                  3.5.2   [required by cohttp]
  - install   bigstringaf             0.10.0  [required by angstrom]
  - install   bos                     0.2.1   [required by ca-certs]
  - install   ca-certs                1.0.1   [required by conduit-lwt-unix]
  - install   cmdliner                2.1.0   [required by alcotest, cohttp-lwt-unix]
  - install   cohttp                  6.2.1   [required by cohttp-lwt-unix]
  - install   cohttp-lwt              6.2.1   [required by cohttp-lwt-unix]
  - install   cohttp-lwt-unix         6.2.1   [required by curly]
  - install   conduit                 8.0.0   [required by conduit-lwt]
  - install   conduit-lwt             8.0.0   [required by cohttp-lwt-unix]
  - install   conduit-lwt-unix        8.0.0   [required by cohttp-lwt-unix]
  - install   conf-gmp                5       [required by conf-gmp-powm-sec, zarith]
  - install   conf-gmp-powm-sec       4       [required by mirage-crypto-pk]
  - install   conf-pkg-config         4       [required by zarith]
  - install   cppo                    1.8.0   [required by lwt]
  - install   csexp                   1.5.2   [required by dune-configurator]
  - install   digestif                1.3.0   [required by ca-certs]
  - install   domain-name             0.5.0   [required by ipaddr]
  - install   dune-configurator       3.22.2  [required by base, lwt, mirage-crypto]
  - install   duration                0.3.0   [required by mirage-crypto-rng]
  - install   eqaf                    0.10    [required by digestif, mirage-crypto]
  - install   fmt                     0.11.0  [required by alcotest, cohttp-lwt-unix]
  - install   fpath                   0.7.3   [required by ca-certs]
  - install   gmap                    0.3.0   [required by x509]
  - install   http                    6.2.1   [required by cohttp-lwt-unix]
  - install   ipaddr                  5.6.2   [required by cohttp-lwt, cohttp, conduit-lwt-unix]
  - install   ipaddr-sexp             5.6.2   [required by conduit-lwt-unix]
  - install   kdf                     1.0.0   [required by x509]
  - install   logs                    0.10.0  [required by cohttp-lwt-unix]
  - install   lwt                     6.1.1   [required by cohttp-lwt-unix]
  - install   macaddr                 5.6.2   [required by ipaddr]
  - install   magic-mime              1.3.1   [required by cohttp-lwt-unix]
  - install   mirage-crypto           2.1.0   [required by ca-certs]
  - install   mirage-crypto-ec        2.1.0   [required by x509]
  - install   mirage-crypto-pk        2.1.0   [required by x509]
  - install   mirage-crypto-rng       2.1.0   [required by x509]
  - install   ocaml-compiler-libs     v0.17.0 [required by ppxlib]
  - install   ocaml-syntax-shims      1.0.0   [required by alcotest]
  - install   ocaml_intrinsics_kernel v0.17.1 [required by base]
  - install   ocamlbuild              0.16.1  [required by fmt, astring, uutf]
  - install   ocamlfind               1.9.8   [required by fmt, astring, uutf]
  - install   ocplib-endian           1.2     [required by lwt]
  - install   ohex                    0.2.0   [required by ca-certs]
  - install   ppx_derivers            1.2.1   [required by ppxlib]
  - install   ppx_sexp_conv           v0.17.1 [required by cohttp-lwt-unix]
  - install   ppxlib                  0.38.0  [required by ppx_sexp_conv]
  - install   ppxlib_jane             v0.17.4 [required by ppx_sexp_conv]
  - install   ptime                   1.2.0   [required by ca-certs]
  - install   re                      1.14.0  [required by alcotest]
  - install   rresult                 0.7.0   [required by bos]
  - install   sexplib0                v0.17.0 [required by cohttp-lwt, cohttp, conduit-lwt]
  - install   stdlib-shims            0.3.0   [required by alcotest]
  - install   stringext               1.6.0   [required by cohttp]
  - install   topkg                   1.1.1   [required by fmt, astring, uutf]
  - install   uri                     4.4.0   [required by cohttp-lwt, cohttp, conduit-lwt-unix]
  - install   uri-sexp                4.4.0   [required by cohttp]
  - install   uutf                    1.0.4   [required by alcotest]
  - install   x509                    1.0.6   [required by ca-certs]
  - install   zarith                  1.14    [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved angstrom.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved asn1-combinators.0.3.2  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved base.v0.17.3  (https://opam.ocaml.org/cache)
-> retrieved base64.3.5.2  (https://opam.ocaml.org/cache)
-> retrieved bigstringaf.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved bos.0.2.1  (https://opam.ocaml.org/cache)
-> installed base64.3.5.2
-> retrieved ca-certs.1.0.1  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved cohttp.6.2.1, cohttp-lwt.6.2.1, cohttp-lwt-unix.6.2.1, http.6.2.1  (https://opam.ocaml.org/cache)
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (https://opam.ocaml.org/cache)
-> retrieved conf-gmp.5  (https://opam.ocaml.org/cache)
-> installed conf-gmp.5
-> retrieved conf-gmp-powm-sec.4  (https://opam.ocaml.org/cache)
-> installed conf-gmp-powm-sec.4
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0  (https://opam.ocaml.org/cache)
-> installed http.6.2.1
-> retrieved csexp.1.5.2  (https://opam.ocaml.org/cache)
-> retrieved curly.0.2.0  (https://opam.ocaml.org/cache)
-> installed csexp.1.5.2
-> retrieved digestif.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved domain-name.0.5.0  (https://opam.ocaml.org/cache)
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed cmdliner.2.1.0
-> retrieved dune-configurator.3.22.2  (https://github.com/ocaml/dune/releases/download/3.22.2/dune-3.22.2.tbz)
-> retrieved duration.0.3.0  (https://github.com/hannesm/duration/releases/download/v0.3.0/duration-0.3.0.tbz)
-> retrieved eqaf.0.10  (https://opam.ocaml.org/cache)
-> installed duration.0.3.0
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved fpath.0.7.3  (https://opam.ocaml.org/cache)
-> installed eqaf.0.10
-> retrieved gmap.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved ipaddr.5.6.2, ipaddr-sexp.5.6.2, macaddr.5.6.2  (https://opam.ocaml.org/cache)
-> installed gmap.0.3.0
-> retrieved kdf.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved lwt.6.1.1  (https://opam.ocaml.org/cache)
-> installed dune-configurator.3.22.2
-> installed macaddr.5.6.2
-> retrieved magic-mime.1.3.1  (https://opam.ocaml.org/cache)
-> installed digestif.1.3.0
-> installed bigstringaf.0.10.0
-> installed ipaddr.5.6.2
-> retrieved mirage-crypto.2.1.0, mirage-crypto-ec.2.1.0, mirage-crypto-pk.2.1.0, mirage-crypto-rng.2.1.0  (https://opam.ocaml.org/cache)
-> installed magic-mime.1.3.1
-> retrieved ocaml-compiler-libs.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8  (https://opam.ocaml.org/cache)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ocplib-endian.1.2  (https://opam.ocaml.org/cache)
-> retrieved ohex.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1  (https://opam.ocaml.org/cache)
-> retrieved ppx_sexp_conv.v0.17.1  (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> installed ohex.0.2.0
-> retrieved ppxlib.0.38.0  (https://opam.ocaml.org/cache)
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ppxlib_jane.v0.17.4  (https://opam.ocaml.org/cache)
-> retrieved ptime.1.2.0  (https://opam.ocaml.org/cache)
-> installed mirage-crypto.2.1.0
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved rresult.0.7.0  (https://opam.ocaml.org/cache)
-> installed angstrom.0.16.1
-> retrieved sexplib0.v0.17.0  (https://opam.ocaml.org/cache)
-> installed kdf.1.0.0
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved stringext.1.6.0  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (https://opam.ocaml.org/cache)
-> installed stringext.1.6.0
-> installed sexplib0.v0.17.0
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> retrieved zarith.1.14  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed uri.4.4.0
-> removed   curly.0.2.0
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed lwt.6.1.1
-> installed base.v0.17.3
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed alcotest.1.9.1
-> installed mirage-crypto-rng.2.1.0
-> installed mirage-crypto-pk.2.1.0
-> installed bos.0.2.1
-> installed mirage-crypto-ec.2.1.0
-> installed x509.1.0.6
-> installed ppxlib.0.38.0
-> installed ca-certs.1.0.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed uri-sexp.4.4.0
-> installed ipaddr-sexp.5.6.2
-> installed conduit.8.0.0
-> installed cohttp.6.2.1
-> installed conduit-lwt.8.0.0
-> installed cohttp-lwt.6.2.1
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.6.2.1
[ERROR] The compilation of curly.0.2.0 failed at "dune build -p curly -j 71 @install @runtest".

#=== ERROR while compiling curly.0.2.0 ========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/curly.0.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p curly -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/curly-6-34b852.env
# output-file          ~/.opam/log/curly-6-34b852.out
### output ###
# File "test/dune", line 2, characters 7-17:
# 2 |  (name test_curly)
#            ^^^^^^^^^^
# (cd _build/default/test && ./test_curly.exe)
# Testing `curly'.
# This run has ID `JOXDHDA6'.
# 
#   [FAIL]        curly          0   simple_get.
#   [FAIL]        curly          1   read_header.
#   [FAIL]        curly          2   write_body.
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          0   simple_get.                                 │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT simple_get
# FAIL simple_get
# 
#    Expected: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 5
# ; body="curly"}'
#    Received: `Ok {code=200; headers=content-length: 5
# ; body="curly"}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.000.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          1   read_header.                                │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT read_header
# FAIL read_header
# 
#    Expected: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 12
# ; body="header value"}'
#    Received: `Ok {code=200; headers=content-length: 12
# ; body="header value"}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.001.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          2   write_body.                                 │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT write_body
# FAIL write_body
# 
#    Expected: `Ok
#                 {code=200; headers=content-length: 59
# ;
#                 body="
#     foo bar Baez
#     sample body
# 
#     the quick brown fox
# "}'
# 
#    Received: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 59
# ;
# body="
#     foo bar Baez
#     sample body
# 
#     the quick brown fox
# "}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.002.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly'.
# 3 failures! in 0.073s. 3 tests run.


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260413152437.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build curly 0.2.0
+- 
+- The following changes have been performed
| - remove  curly                   0.2.0
| - install alcotest                1.9.1
| - install angstrom                0.16.1
| - install asn1-combinators        0.3.2
| - install astring                 0.8.5
| - install base                    v0.17.3
| - install base-bytes              base
| - install base64                  3.5.2
| - install bigstringaf             0.10.0
| - install bos                     0.2.1
| - install ca-certs                1.0.1
| - install cmdliner                2.1.0
| - install cohttp                  6.2.1
| - install cohttp-lwt              6.2.1
| - install cohttp-lwt-unix         6.2.1
| - install conduit                 8.0.0
| - install conduit-lwt             8.0.0
| - install conduit-lwt-unix        8.0.0
| - install conf-gmp                5
| - install conf-gmp-powm-sec       4
| - install conf-pkg-config         4
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install digestif                1.3.0
| - install domain-name             0.5.0
| - install dune-configurator       3.22.2
| - install duration                0.3.0
| - install eqaf                    0.10
| - install fmt                     0.11.0
| - install fpath                   0.7.3
| - install gmap                    0.3.0
| - install http                    6.2.1
| - install ipaddr                  5.6.2
| - install ipaddr-sexp             5.6.2
| - install kdf                     1.0.0
| - install logs                    0.10.0
| - install lwt                     6.1.1
| - install macaddr                 5.6.2
| - install magic-mime              1.3.1
| - install mirage-crypto           2.1.0
| - install mirage-crypto-ec        2.1.0
| - install mirage-crypto-pk        2.1.0
| - install mirage-crypto-rng       2.1.0
| - install ocaml-compiler-libs     v0.17.0
| - install ocaml-syntax-shims      1.0.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocamlbuild              0.16.1
| - install ocamlfind               1.9.8
| - install ocplib-endian           1.2
| - install ohex                    0.2.0
| - install ppx_derivers            1.2.1
| - install ppx_sexp_conv           v0.17.1
| - install ppxlib                  0.38.0
| - install ppxlib_jane             v0.17.4
| - install ptime                   1.2.0
| - install re                      1.14.0
| - install rresult                 0.7.0
| - install sexplib0                v0.17.0
| - install stdlib-shims            0.3.0
| - install stringext               1.6.0
| - install topkg                   1.1.1
| - install uri                     4.4.0
| - install uri-sexp                4.4.0
| - install uutf                    1.0.4
| - install x509                    1.0.6
| - install zarith                  1.14
+- 
# To update the current shell environment, run: eval $(opam env)
2026-04-13 15:27.25 ---> saved as "feb4e9d917b5211f9fbe4af915de664bb2f68d2370d94465f901217203990948"

/home/opam: (run (shell  "opam reinstall --with-test --verbose curly.0.2.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\" != 'curly.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
curly.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install curly 0.2.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [curly.0.2.0: extract]
-> retrieved curly.0.2.0  (cached)
Processing  2/3: [curly: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "curly" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/curly.0.2.0)
- File "test/dune", line 2, characters 7-17:
- 2 |  (name test_curly)
-            ^^^^^^^^^^
- (cd _build/default/test && ./test_curly.exe)
- Testing `curly'.
- This run has ID `H2YAYJSH'.
- 
-   [FAIL]        curly          0   simple_get.
-   [FAIL]        curly          1   read_header.
-   [FAIL]        curly          2   write_body.
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        curly          0   simple_get.                                 │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT simple_get
- FAIL simple_get
- 
-    Expected: `Ok {code=200; headers=connection: keep-alive
- 
- content-length: 5
- ; body="curly"}'
-    Received: `Ok {code=200; headers=content-length: 5
- ; body="curly"}'
- 
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
- 
- Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.000.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        curly          1   read_header.                                │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT read_header
- FAIL read_header
- 
-    Expected: `Ok {code=200; headers=connection: keep-alive
- 
- content-length: 12
- ; body="header value"}'
-    Received: `Ok {code=200; headers=content-length: 12
- ; body="header value"}'
- 
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
- 
- Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.001.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        curly          2   write_body.                                 │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT write_body
- FAIL write_body
- 
-    Expected: `Ok
-                 {code=200; headers=content-length: 59
- ;
-                 body="
-     foo bar Baez
-     sample body
- 
-     the quick brown fox
- "}'
- 
-    Received: `Ok {code=200; headers=connection: keep-alive
- 
- content-length: 59
- ;
- body="
-     foo bar Baez
-     sample body
- 
-     the quick brown fox
- "}'
- 
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
- 
- Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.002.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly'.
- 3 failures! in 0.156s. 3 tests run.
[ERROR] The compilation of curly.0.2.0 failed at "dune build -p curly -j 71 @install @runtest".

#=== ERROR while compiling curly.0.2.0 ========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/curly.0.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p curly -j 71 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/curly-6-bd3453.env
# output-file          ~/.opam/log/curly-6-bd3453.out
### output ###
# File "test/dune", line 2, characters 7-17:
# 2 |  (name test_curly)
#            ^^^^^^^^^^
# (cd _build/default/test && ./test_curly.exe)
# Testing `curly'.
# This run has ID `H2YAYJSH'.
# 
#   [FAIL]        curly          0   simple_get.
#   [FAIL]        curly          1   read_header.
#   [FAIL]        curly          2   write_body.
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          0   simple_get.                                 │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT simple_get
# FAIL simple_get
# 
#    Expected: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 5
# ; body="curly"}'
#    Received: `Ok {code=200; headers=content-length: 5
# ; body="curly"}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.000.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          1   read_header.                                │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT read_header
# FAIL read_header
# 
#    Expected: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 12
# ; body="header value"}'
#    Received: `Ok {code=200; headers=content-length: 12
# ; body="header value"}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.001.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# 
# ┌──────────────────────────────────────────────────────────────────────────────┐
# │ [FAIL]        curly          2   write_body.                                 │
# └──────────────────────────────────────────────────────────────────────────────┘
# ASSERT write_body
# FAIL write_body
# 
#    Expected: `Ok
#                 {code=200; headers=content-length: 59
# ;
#                 body="
#     foo bar Baez
#     sample body
# 
#     the quick brown fox
# "}'
# 
#    Received: `Ok {code=200; headers=connection: keep-alive
# 
# content-length: 59
# ;
# body="
#     foo bar Baez
#     sample body
# 
#     the quick brown fox
# "}'
# 
# Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", lines 216-226, characters 4-19
# Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
# Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
# 
# Logs saved to `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly/curly.002.output'.
#  ──────────────────────────────────────────────────────────────────────────────
# 
# Full test results in `~/.opam/5.4/.opam-switch/build/curly.0.2.0/_build/default/test/_build/_tests/curly'.
# 3 failures! in 0.156s. 3 tests run.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build curly 0.2.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose curly.0.2.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose curly.0.2.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" != 'curly.0.2.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 1
2026-04-13 15:27.48: Job failed: Failed: Build failed
2026-04-13 15:27.48: Log analysis:
2026-04-13 15:27.48: >>> 
[ERROR] The compilation of curly.0.2.0 failed at "dune build -p curly -j 71 @install @runtest".
 (score = 20)
2026-04-13 15:27.48: >>> 
[ERROR] The compilation of curly.0.2.0 failed at "dune build -p curly -j 71 @install @runtest".
 (score = 20)
2026-04-13 15:27.48: The compilation of curly.0.2.0 failed at "dune build -p curly -j 71 @install @runtest".