(for PR #29367)

2026-02-10 16:19.30: New job: build multipart_form-cohttp-lwt.0.8.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29367/head (41132ad3bb08c1323eb53af67d50a84e89be1763)
                              on debian-13-ocaml-4.08/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/29367/head" && git reset --hard 41132ad3
git fetch origin master
git merge --no-edit 6a35634d6446e6151b438792d64cc32db88a1a2e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:016974eca0405838af73274ed51d1a69a31f37211486cd4f5dfedd706192cce7
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 multipart_form-cohttp-lwt.0.8.0 0.8.0
RUN opam reinstall multipart_form-cohttp-lwt.0.8.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" != 'multipart_form-cohttp-lwt.0.8.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-02-10 16:19.30: Using cache hint "ocaml/opam:debian-13-ocaml-4.08@sha256:016974eca0405838af73274ed51d1a69a31f37211486cd4f5dfedd706192cce7-multipart_form-cohttp-lwt.0.8.0-41132ad3bb08c1323eb53af67d50a84e89be1763"
2026-02-10 16:19.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:016974eca0405838af73274ed51d1a69a31f37211486cd4f5dfedd706192cce7)
 (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 multipart_form-cohttp-lwt.0.8.0 0.8.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall multipart_form-cohttp-lwt.0.8.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\" != 'multipart_form-cohttp-lwt.0.8.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-02-10 16:19.30: Waiting for resource in pool OCluster
2026-02-10 19:04.55: Waiting for worker…
2026-02-10 19:08.57: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 6a35634d64 Merge pull request #29363 from hannesm/maint-none-feb-2026
Merge made by the 'ort' strategy.
 .../multipart_form-cohttp-lwt.0.8.0/opam           | 29 ++++++++++++++
 .../multipart_form-eio.0.8.0/opam                  | 42 +++++++++++++++++++++
 .../multipart_form-lwt.0.8.0/opam                  | 42 +++++++++++++++++++++
 .../multipart_form-miou.0.8.0/opam                 | 42 +++++++++++++++++++++
 packages/multipart_form/multipart_form.0.8.0/opam  | 44 ++++++++++++++++++++++
 5 files changed, 199 insertions(+)
 create mode 100644 packages/multipart_form-cohttp-lwt/multipart_form-cohttp-lwt.0.8.0/opam
 create mode 100644 packages/multipart_form-eio/multipart_form-eio.0.8.0/opam
 create mode 100644 packages/multipart_form-lwt/multipart_form-lwt.0.8.0/opam
 create mode 100644 packages/multipart_form-miou/multipart_form-miou.0.8.0/opam
 create mode 100644 packages/multipart_form/multipart_form.0.8.0/opam

(from ocaml/opam:debian-13-ocaml-4.08@sha256:016974eca0405838af73274ed51d1a69a31f37211486cd4f5dfedd706192cce7)
2026-02-10 19:09.31 ---> saved as "8e880d54b82285cc07797680056d2282ee7dd8d645150afdce9c0dfbe68786cc"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-10 19:09.32 ---> saved as "a6a0ebca49c4feba553de18493a38c75d5076a5b0e8970a807d016ed61870078"

/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-02-10 19:10.08 ---> saved as "e7a1518b07506d5a6e49086d77b74e4dded2cdb404b3e45a1db7c97ea0855a14"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.08
# invariant            ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages    ocaml-base-compiler.4.08.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.08.1
2026-02-10 19:10.09 ---> saved as "7e4fa8207be7e62b002924cebf0faa1293ee3e834283a59566ea8e4464ac6629"

/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-02-10 19:10.20 ---> saved as "da0bfd8b207385b55e32e1ad31c304b318996f2a6ce41b9f1112dcf8409c5fe2"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 19:10.28 ---> saved as "2fef15a0c508e603a68e0a359d518524b185ec8e772be1751cb8a4b0c1b59cd1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 19:10.53 ---> saved as "cd18cb287fd5faa60a4b78c9540f28fcddff091fadfcf627d404d140f8d8f9c3"

/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 [104 kB]
- Fetched 195 kB in 0s (1670 kB/s)
- Reading package lists...
- 
2026-02-10 19:10.55 ---> saved as "e2157e312da92ebe6ab532996aea1ce9a2259dd06ca6444317e42e2af2f6b9e1"

/home/opam: (run (shell "opam pin add -k version -yn multipart_form-cohttp-lwt.0.8.0 0.8.0"))
multipart_form-cohttp-lwt is now pinned to version 0.8.0
2026-02-10 19:10.56 ---> saved as "d95c6abfb329a7fa2b6a4030dddf925549aeea4f5ea7f6ed6ae0bfe11e0918ee"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall multipart_form-cohttp-lwt.0.8.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\" != 'multipart_form-cohttp-lwt.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
multipart_form-cohttp-lwt.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 44 packages
  - install angstrom                  0.16.1         [required by multipart_form, multipart_form-lwt]
  - install base                      v0.14.3        [required by ppx_sexp_conv]
  - install base-bytes                base           [required by ocplib-endian]
  - install base64                    3.5.2          [required by multipart_form]
  - install bigarray-overlap          0.2.1          [required by prettym]
  - install bigstringaf               0.10.0         [required by multipart_form, multipart_form-lwt]
  - install cohttp                    6.2.1          [required by cohttp-lwt]
  - install cohttp-lwt                6.2.1          [required by multipart_form-cohttp-lwt]
  - install conf-pkg-config           4              [required by bigarray-overlap]
  - install cppo                      1.8.0          [required by lwt]
  - install csexp                     1.5.2          [required by dune-configurator]
  - install domain-name               0.5.0          [required by ipaddr]
  - install dune                      3.21.0         [required by multipart_form-cohttp-lwt]
  - install dune-configurator         3.21.0         [required by lwt, base]
  - install fmt                       0.11.0         [required by multipart_form]
  - install http                      6.2.1          [required by cohttp-lwt]
  - install ipaddr                    5.6.1          [required by cohttp-lwt]
  - install ke                        0.6            [required by multipart_form, multipart_form-lwt]
  - install logs                      0.8.0          [required by cohttp-lwt, multipart_form]
  - install lwt                       5.9.2          [required by cohttp-lwt, multipart_form-lwt]
  - install macaddr                   5.6.1          [required by ipaddr]
  - install multipart_form            0.8.0          [required by multipart_form-cohttp-lwt]
  - install multipart_form-cohttp-lwt 0.8.0 (pinned)
  - install multipart_form-lwt        0.8.0          [required by multipart_form-cohttp-lwt]
  - install ocaml-compiler-libs       v0.12.4        [required by ppxlib]
  - install ocaml-syntax-shims        1.0.0          [required by angstrom]
  - install ocamlbuild                0.16.1         [required by logs, uutf]
  - install ocamlfind                 1.9.8          [required by logs, uutf]
  - install ocplib-endian             1.2            [required by lwt]
  - install pecu                      0.7            [required by multipart_form]
  - install ppx_derivers              1.2.1          [required by ppxlib]
  - install ppx_sexp_conv             v0.14.3        [required by cohttp-lwt]
  - install ppxlib                    0.25.1         [required by ppx_sexp_conv]
  - install prettym                   0.0.3          [required by multipart_form]
  - install re                        1.11.0         [required by cohttp]
  - install seq                       base           [required by re]
  - install sexplib0                  v0.14.0        [required by cohttp-lwt]
  - install stdlib-shims              0.3.0          [required by ppxlib]
  - install stringext                 1.6.0          [required by cohttp]
  - install topkg                     1.1.1          [required by logs, uutf]
  - install unstrctrd                 0.4            [required by multipart_form]
  - install uri                       4.4.0          [required by cohttp-lwt]
  - install uri-sexp                  4.4.0          [required by cohttp]
  - install uutf                      1.0.4          [required by multipart_form]

The following system packages will first need to be installed:
    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" "pkg-config"
- Selecting previously unselected package libpkgconf3: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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../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 pkgconf-bin (1.8.1-4) ...
- 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+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cohttp.6.2.1, cohttp-lwt.6.2.1, http.6.2.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved domain-name.0.5.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved multipart_form.0.8.0, multipart_form-cohttp-lwt.0.8.0, multipart_form-lwt.0.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.14.3  (cached)
-> retrieved ppxlib.0.25.1  (cached)
-> retrieved prettym.0.0.3  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed dune.3.21.0
-> installed bigarray-overlap.0.2.1
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed http.6.2.1
-> installed ke.0.6
-> installed macaddr.5.6.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed ppx_derivers.1.2.1
-> installed re.1.11.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.21.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed prettym.0.0.3
-> installed unstrctrd.0.4
-> installed lwt.5.9.2
-> installed uri.4.4.0
-> installed logs.0.8.0
-> installed multipart_form.0.8.0
-> installed multipart_form-lwt.0.8.0
-> installed base.v0.14.3
-> installed ppxlib.0.25.1
-> installed ppx_sexp_conv.v0.14.3
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.1
-> installed cohttp-lwt.6.2.1
-> installed multipart_form-cohttp-lwt.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 19:12.07 ---> saved as "6acfe363731a4cd9101ae2b03c5730c58395053ce2d4ee7329133ce2ac136687"
Job succeeded
2026-02-10 19:12.12: Job succeeded