(for PR #29582)

2026-03-25 13:14.46: New job: test httpun.0.2.0 with ocaml-compiler.5.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 2f93e9d4614d6376ed929fc2cee7c59cb9d5833b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
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 ocaml-compiler.5.4.0 5.4.0
RUN opam reinstall --update-invariant ocaml-compiler.5.4.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" != 'ocaml-compiler.5.4.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall httpun.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" != 'httpun.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 httpun.0.2.0) || true
RUN opam reinstall --with-test --verbose httpun.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" != 'httpun.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-03-25 13:14.46: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0-httpun.0.2.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:14.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
 (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 ocaml-compiler.5.4.0 5.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall httpun.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\" != 'httpun.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 httpun.0.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose httpun.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\" != 'httpun.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-03-25 13:14.46: Waiting for resource in pool OCluster
2026-03-25 19:06.20: Waiting for worker…
2026-03-25 19:08.50: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  69% (12908/18520)
Updating files:  70% (12964/18520)
Updating files:  71% (13150/18520)
Updating files:  72% (13335/18520)
Updating files:  73% (13520/18520)
Updating files:  74% (13705/18520)
Updating files:  75% (13890/18520)
Updating files:  76% (14076/18520)
Updating files:  77% (14261/18520)
Updating files:  78% (14446/18520)
Updating files:  79% (14631/18520)
Updating files:  80% (14816/18520)
Updating files:  81% (15002/18520)
Updating files:  82% (15187/18520)
Updating files:  83% (15372/18520)
Updating files:  84% (15557/18520)
Updating files:  85% (15742/18520)
Updating files:  86% (15928/18520)
Updating files:  87% (16113/18520)
Updating files:  88% (16298/18520)
Updating files:  89% (16483/18520)
Updating files:  90% (16668/18520)
Updating files:  91% (16854/18520)
Updating files:  92% (17039/18520)
Updating files:  93% (17224/18520)
Updating files:  94% (17409/18520)
Updating files:  95% (17594/18520)
Updating files:  96% (17780/18520)
Updating files:  97% (17965/18520)
Updating files:  98% (18150/18520)
Updating files:  99% (18335/18520)
Updating files: 100% (18520/18520)
Updating files: 100% (18520/18520), done.
HEAD is now at 2f93e9d461 Merge pull request #29592 from dinosaure/release-miou-v0.5.5
Merge made by the 'ort' strategy.
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.3/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam      |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam  |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4/opam        |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.5/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.6/opam        |  5 ++++-
 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam    | 18 ++++++++++++++++++
 .../ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam |  2 ++
 15 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-25 19:08.58 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" 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-03-25 19:08.58 ---> using "4ad7f430d684c40cedc651267e0edf890c044fe4e624255de377c471b4526bac" 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-03-25 19:08.58 ---> using "71fa58e52457bf6a7eac317c6a6ef1e2bdf53e533a1e4fd04b90c9349347e038" 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.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2026-03-25 19:08.58 ---> using "ed86081cb38ca125a920162bfe6a4bb7b1c27c6973c917551687c83cf44dbfdf" 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-03-25 19:08.58 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 19:09.00 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 19:09.00 ---> using "8232259ea36ea8848dc29ae49703acf145fd27b40f3ebd8fb785db7f8da1b9d4" 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 [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 1s (6734 kB/s)
- Reading package lists...
- 
2026-03-25 19:09.00 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0 5.4.0"))
ocaml-compiler is now pinned to version 5.4.0
2026-03-25 19:09.00 ---> using "60e129f7398974b5fa5afc8f56ec09bd24a9182f5e9834464bfc959db1aa6b14" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.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:
=== recompile 8 packages
  - recompile base-domains        base           [uses ocaml]
  - recompile base-effects        base           [uses ocaml]
  - recompile base-nnp            base           [uses base-domains]
  - recompile ocaml               5.4.0          [uses ocaml-base-compiler]
  - recompile ocaml-base-compiler 5.4.0 (pinned) [uses ocaml-compiler]
  - recompile ocaml-compiler      5.4.0 (pinned)
  - recompile ocaml-config        3              [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3          [uses ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0  (cached)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.4.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.4.0
-> removed   ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0
-> installed ocaml-base-compiler.5.4.0
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-25 19:09.00 ---> using "efbc92fc0c607605c8bb33f9e4c8fe340a48c67e14d2f61592db8a4edc5c0b15" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall httpun.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\" != 'httpun.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"))
httpun.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
  - install angstrom           0.16.1 [required by httpun]
  - install bigstringaf        0.10.0 [required by httpun]
  - install csexp              1.5.2  [required by dune-configurator]
  - install dune               3.22.0 [required by httpun]
  - install dune-configurator  3.22.0 [required by bigstringaf]
  - install faraday            0.8.2  [required by httpun]
  - install httpun             0.2.0
  - install httpun-types       0.2.0  [required by httpun]
  - install ocaml-syntax-shims 1.0.0  [required by angstrom]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved httpun.0.2.0, httpun-types.0.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.22.0
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed httpun.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 19:10.57 ---> saved as "162d66586d7776fbf069b6ffd7edeb40e0ee6dc6fad234e9aba2e92016df55fb"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test httpun.0.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile httpun       0.2.0
=== install 10 packages
  - install   alcotest     1.9.1  [required by httpun]
  - install   astring      0.8.5  [required by alcotest]
  - install   cmdliner     2.1.0  [required by alcotest]
  - install   fmt          0.11.0 [required by alcotest]
  - install   ocamlbuild   0.16.1 [required by fmt, astring, uutf]
  - install   ocamlfind    1.9.8  [required by fmt, astring, uutf]
  - install   re           1.14.0 [required by alcotest]
  - install   stdlib-shims 0.3.0  [required by alcotest]
  - install   topkg        1.1.1  [required by fmt, astring, uutf]
  - install   uutf         1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved httpun.0.2.0  (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)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.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)
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.1.0
-> removed   httpun.0.2.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.9.1
-> installed httpun.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 19:11.47 ---> saved as "064760bacb0abd5019776d9c12c60d4e7061756ae6feb3312f2c9fd780140c41"

/home/opam: (run (shell  "opam reinstall --with-test --verbose httpun.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\" != 'httpun.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"))
The following actions will be performed:
=== recompile 1 package
  - recompile httpun 0.2.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [httpun.0.2.0: extract]
-> retrieved httpun.0.2.0  (cached)
Processing  2/4: [httpun: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "httpun" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/httpun.0.2.0)
Processing  2/4: [httpun: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "httpun" (CWD=/home/opam/.opam/5.4/.opam-switch/build/httpun.0.2.0)
- (cd _build/default/lib_test && ./test_httpun.exe)
- Testing `httpun unit tests'.
- This run has ID `7GELXF77'.
- 
-   [OK]          version                    0   compare.
-   [OK]          version                    1   to_string.
-   [OK]          method                     0   is_safe.
-   [OK]          method                     1   is_cacheable.
-   [OK]          method                     2   is_idempotent.
-   [OK]          iovec                      0   lengthv.
-   [OK]          iovec                      1   shiftv.
-   [OK]          iovec                      2   shiftv raises .
-   [OK]          headers                    0   remove.
-   [OK]          headers                    1   replace.
-   [OK]          headers                    2   CI equal.
-   [OK]          request                    0   parse valid.
-   [OK]          request                    1   parse invalid errors.
-   [OK]          request                    2   body length.
-   [OK]          response                   0   parse valid.
-   [OK]          response                   1   parse invalid error.
-   [OK]          response                   2   body length.
-   [OK]          client connection          0   commit parse after every heade...
-   [OK]          client connection          1   GET.
-   [OK]          client connection          2   HEAD.
-   [OK]          client connection          3   send streaming body.
-   [OK]          client connection          4   Response EOF.
-   [OK]          client connection          5   Response header order preserved.
-   [OK]          client connection          6   report_exn.
-   [OK]          client connection          7   input_shrunk.
-   [OK]          client connection          8   multiple GET, last request clo...
-   [OK]          client connection          9   Persistent connection, multipl...
-   [OK]          client connection         10   Persistent connection, request...
-   [OK]          client connection         11   Persistent connection, first r...
-   [OK]          client connection         12   Persistent connections, read r...
-   [OK]          client connection         13   Partial input.
-   [OK]          client connection         14   Empty fixed body shuts down wr...
-   [OK]          client connection         15   Empty fixed body in a persiste...
-   [OK]          client connection         16   Fixed body shuts down writer i...
-   [OK]          client connection         17   Fixed body doesn't shut down t...
-   [OK]          client connection         18   Client support for upgrading a...
-   [OK]          client connection         19   test yield when read isn't sch...
-   [OK]          client connection         20   test yield when read isn't sch...
-   [OK]          client connection         21   EOF while a request is in the ...
-   [OK]          client connection         22   EOF after handler response bod...
-   [OK]          client connection         23   EOF after handler closed respo...
-   [OK]          client connection         24   Exception closes the reader (o...
-   [OK]          client connection         25   Exception closes the reader (o...
-   [OK]          client connection         26   Exception while reading the re...
-   [OK]          client connection         27   Exception while reading the re...
-   [OK]          client connection         28   Aynchronous exception while re...
-   [OK]          client connection         29   failed response parse.
-   [OK]          client connection         30   shutdown delivers eof to respo...
-   [OK]          client connection         31   full response arrives before u...
-   [OK]          client connection         32   reader EOF race condition caus...
-   [OK]          client connection         33   multiple responses in single r...
-   [OK]          client connection         34   test chunked error.
-   [OK]          client connection         35   304 Not Modified with Content-...
-   [OK]          client connection         36   body for a request with no pay...
-   [OK]          client connection         37   schedule read with data availa...
-   [OK]          client connection         38   don't flush headers immediately.
-   [OK]          client connection         39   pipelining + don't flush heade...
-   [OK]          client connection         40   flushing on close with ~set_he...
-   [OK]          client connection         41   request pipelining flushes req...
-   [OK]          client connection         42   request pipelining both respon...
-   [OK]          client connection         43   shutting down closes request b...
-   [OK]          client connection         44   shut down closes request body .
-   [OK]          client connection         45   report exn during body read.
-   [OK]          client connection         46   read response after write eof.
-   [OK]          server connection          0   initial reader state.
-   [OK]          server connection          1   shutdown reader closed.
-   [OK]          server connection          2   commit parse after every heade...
-   [OK]          server connection          3   single GET.
-   [OK]          server connection          4   multiple GETs.
-   [OK]          server connection          5   asynchronous response.
-   [OK]          server connection          6   asynchronous response, asynchr...
-   [OK]          server connection          7   asynchronous response, asynchr...
-   [OK]          server connection          8   echo POST.
-   [OK]          server connection          9   streaming response.
-   [OK]          server connection         10   asynchronous streaming response.
-   [OK]          server connection         11   asynchronous streaming respons...
-   [OK]          server connection         12   empty fixed streaming response.
-   [OK]          server connection         13   empty chunked streaming response.
-   [OK]          server connection         14   connection error.
-   [OK]          server connection         15   synchronous error, synchronous...
-   [OK]          server connection         16   synchronous error, asynchronou...
-   [OK]          server connection         17   asynchronous error, synchronou...
-   [OK]          server connection         18   asynchronous error, asynchrono...
-   [OK]          server connection         19   asynchronous error, asynchrono...
-   [OK]          server connection         20   error while parsing.
-   [OK]          server connection         21   error before read.
-   [OK]          server connection         22   error left unhandled.
-   [OK]          server connection         23   chunked encoding.
-   [OK]          server connection         24   chunked encoding for error.
-   [OK]          server connection         25   blocked write on chunked encod...
-   [OK]          server connection         26   respond with upgrade.
-   [OK]          server connection         27   writer unexpected eof.
-   [OK]          server connection         28   input shrunk.
-   [OK]          server connection         29   malformed request.
-   [OK]          server connection         30   malformed request (async).
-   [OK]          server connection         31   multiple malformed requests?.
-   [OK]          server connection         32   malformed request, chunked err...
-   [OK]          server connection         33   malformed request, double repo...
-   [OK]          server connection         34   malformed request (EOF).
-   [OK]          server connection         35   malformed request, streaming r...
-   [OK]          server connection         36   `flush_headers_immediately` wi...
-   [OK]          server connection         37   empty body with no immediate f...
-   [OK]          server connection         38   yield before starting a response.
-   [OK]          server connection         39   respond before body has been r...
-   [OK]          server connection         40   test yield when read isn't sch...
-   [OK]          server connection         41   test yield when read isn't sch...
-   [OK]          server connection         42   test partial input chunked body.
-   [OK]          server connection         43   respond before reading request...
-   [OK]          server connection         44   request body EOFs before closi...
-   [OK]          server connection         45   respond before reading entire ...
-   [OK]          server connection         46   respond before reading entire ...
-   [OK]          server connection         47   failed request parse.
-   [OK]          server connection         48   bad request.
-   [OK]          server connection         49   shutdown delivers eof to reque...
-   [OK]          server connection         50   request body eof, finish respo...
-   [OK]          server connection         51   request body eof, async respon...
-   [OK]          server connection         52   request body response not sent.
-   [OK]          server connection         53   request body response not sent...
-   [OK]          server connection         54   reader EOF race condition caus...
-   [OK]          server connection         55   multiple requests in single read.
-   [OK]          server connection         56   multiple async requests in sin...
-   [OK]          server connection         57   chunked-encoding streaming error.
-   [OK]          server connection         58   content-length streaming error.
-   [OK]          server connection         59   chunked-encoding async streami...
-   [OK]          server connection         60   multiple requests with connect...
-   [OK]          server connection         61   multiple requests with eof.
-   [OK]          server connection         62   parse failure after checkpoint.
-   [OK]          server connection         63   parse failure at eof.
-   [OK]          server connection         64   response finished before body ...
-   [OK]          server connection         65   pipelined.
-   [OK]          server connection         66   body has a chance to flush bef...
-   [OK]          server connection         67   shutdown in request handler.
-   [OK]          server connection         68   shutdown during asynchronous r...
-   [OK]          server connection         69   flush response before shutdown.
-   [OK]          server connection         70   schedule read with data availa...
-   [OK]          server connection         71   read body eof called multiple ...
-   [OK]          server connection         72   eof called for empty bodies.
-   [OK]          server connection         73   error handler with chunked tra...
-   [OK]          server connection         74   pipelined requests in single r...
-   [OK]          server connection         75   multiple pipelined requests.
-   [OK]          server connection         76   Body.Writer.flush waits for by...
-   [OK]          server connection         77   input consumed before closing ...
-   [OK]          server connection         78   can read more requests after w...
-   [OK]          server connection         79   can read more requests after w...
-   [OK]          server connection         80   write response after reader EOF.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/httpun.0.2.0/_build/default/lib_test/_build/_tests/httpun unit tests'.
- Test Successful in 0.576s. 145 tests run.
-> compiled  httpun.0.2.0
-> removed   httpun.0.2.0
-> installed httpun.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 19:12.01 ---> saved as "9909be18e20a7c512f02e2bf89a986de732e978258bc497bbe9e0ab93c092594"
Job succeeded
2026-03-25 19:12.32: Job succeeded