(not at the head of any monitored branch or PR)
2026-03-16 19:15.32: New job: test lmdb.0.1 with dune-configurator.3.22.0~alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29547/head (19c70fd6a788b154ec5e9fe26bca1d12fb2519be)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29547/head" && git reset --hard 19c70fd6
git fetch origin master
git merge --no-edit 4f056bfedf536e66065c3783e694e6aa0b38261a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e
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-configurator.3.22.0~alpha2 3.22.0~alpha2
RUN opam reinstall dune-configurator.3.22.0~alpha2; \
    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-configurator.3.22.0~alpha2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall lmdb.0.1; \
    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" != 'lmdb.0.1' && 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 lmdb.0.1) || true
RUN opam reinstall --with-test --verbose lmdb.0.1; \
    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" != 'lmdb.0.1' && 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-16 19:15.32: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e-dune-configurator.3.22.0~alpha2-lmdb.0.1-19c70fd6a788b154ec5e9fe26bca1d12fb2519be"
2026-03-16 19:15.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
 (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-configurator.3.22.0~alpha2 3.22.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune-configurator.3.22.0~alpha2;\
             \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-configurator.3.22.0~alpha2' && 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 lmdb.0.1;\
             \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\" != 'lmdb.0.1' && 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 lmdb.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose lmdb.0.1;\
             \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\" != 'lmdb.0.1' && 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-16 19:15.32: Waiting for resource in pool OCluster
2026-03-17 00:59.21: Waiting for worker…
2026-03-17 01:01.02: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 4f056bfedf Merge pull request #29543 from Zaneham/add-olint-0.1.0
Updating 4f056bfedf..19c70fd6a7
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha2/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha2/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha2/opam           | 39 +++++++++++
 .../dune-build-info.3.22.0~alpha2/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha2/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha2/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha2/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha2/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha2/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha2/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha2/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha2/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha2/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha2/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha2/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha2/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha2/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha2/opam                | 39 +++++++++++
 18 files changed, 796 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha2/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha2/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
2026-03-17 01:01.06 ---> using "32cd5b5baf995c02200cf270da597dbb25becd220af2c200c00b8b241a742195" 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-17 01:01.06 ---> using "f3ed7bdbef828c9c0b079b10505c5f05c3c9adcca11ce5bf2dac2a4183e099d8" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-17 01:01.06 ---> using "5bf6adb7b45bb7e0c215b8f509c71a8dae73a9a2060efcc27df9d4ef6c6d3350" 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-17 01:01.06 ---> using "0546f18fa5979677ee22eb9f2fcf19ab371564e845d317c2c70e41dd97dc22dd" 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-17 01:01.06 ---> using "0a7188cbe95f4fe0ff26694977eb8794c975bdb534078da98a06d6c7373289b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-17 01:01.07 ---> using "bac94271bd2933048ab9ec083de7359406ae7b709f9e625d1aacde394e5b6b85" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-17 01:01.07 ---> using "1963dd823dac22306d550e5e9c9f971346ae5d465407ab924aff86b04a5120b3" 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 [111 kB]
- Fetched 10.0 MB in 1s (10.8 MB/s)
- Reading package lists...
- 
2026-03-17 01:01.07 ---> using "2bbae9754f2da55382df5a713573b4f2579b518f80eaef97920d7868fdc429fa" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.22.0~alpha2 3.22.0~alpha2"))
dune-configurator is now pinned to version 3.22.0~alpha2
2026-03-17 01:01.07 ---> using "f8e40a83da9892aad73dee81865c4f15b894fd506ea93a49d392900925751de3" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.22.0~alpha2, dune-configurator.3.22.0~alpha2  (cached)
-> installed dune.3.22.0~alpha2
-> installed csexp.1.5.2
-> installed dune-configurator.3.22.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-17 01:01.07 ---> using "67b904f2d73d6788680639795bd2fb0e77bfc952d186028cfe5ace97eb311540" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lmdb.0.1;\
                        \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\" != 'lmdb.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lmdb.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
  - install base-bytes                base   [required by lmdb]
  - install conf-libffi               2.0.0  [required by ctypes-foreign]
  - install conf-pkg-config           4      [required by ctypes]
  - install ctypes                    0.17.1 [required by lmdb]
  - install ctypes-foreign            0.18.0 [required by lmdb]
  - install integers                  0.7.0  [required by ctypes]
  - install lmdb                      0.1
  - install ocamlbuild                0.16.1 [required by unix-type-representations]
  - install ocamlfind                 1.9.8  [required by lmdb]
  - install stdlib-shims              0.3.0  [required by integers]
  - install topkg                     1.1.1  [required by unix-type-representations]
  - install unix-type-representations 0.1.2  [required by lmdb]

The following system packages will first need to be installed:
    libffi-dev liblmdb-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" "libffi-dev" "liblmdb-dev" "pkg-config"
- Selecting previously unselected package libffi-dev: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 .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package liblmdb0:amd64.
- Preparing to unpack .../1-liblmdb0_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb0:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package liblmdb-dev:amd64.
- Preparing to unpack .../2-liblmdb-dev_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb-dev:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package lmdb-doc.
- Preparing to unpack .../4-lmdb-doc_0.9.31-1_all.deb ...
- Unpacking lmdb-doc (0.9.31-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up liblmdb0:amd64 (0.9.31-1+b2) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up lmdb-doc (0.9.31-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up liblmdb-dev:amd64 (0.9.31-1+b2) ...
- 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 ctypes.0.17.1  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> installed conf-libffi.2.0.0
-> installed ctypes-foreign.0.18.0
-> retrieved lmdb.0.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved unix-type-representations.0.1.2  (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed unix-type-representations.0.1.2
-> installed ctypes.0.17.1
[ERROR] The compilation of lmdb.0.1 failed at "ocaml setup.ml -build".

#=== ERROR while compiling lmdb.0.1 ===========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/lmdb.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml setup.ml -build
# exit-code            1
# env-file             ~/.opam/log/lmdb-7-f1a7d7.env
# output-file          ~/.opam/log/lmdb-7-f1a7d7.out
### output ###
# File "./setup.ml", line 575, characters 4-15:
# 575 |     Stream.from next
#           ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 603, characters 19-36:
# 603 |         let strm = Stream.of_channel chn in
#                          ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 610, characters 37-48:
# 610 |                 Buffer.add_char buf (Stream.next strm);
#                                            ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 613, characters 17-31:
# 613 |             with Stream.Failure ->
#                        ^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1431, characters 16-33:
# 1431 |       let lxr = Genlex.make_lexer [] in
#                        ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1433, characters 22-38:
# 1433 |         let st = lxr (Stream.of_string s) in
#                              ^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1434, characters 14-26:
# 1434 |         match Stream.npeek 3 st with
#                      ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1435, characters 11-23:
# 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1435, characters 28-40:
# 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
#                                    ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1436, characters 11-23:
# 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1436, characters 28-41:
# 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
#                                    ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1437, characters 11-24:
# 1437 |         | [Genlex.String str] -> String str
#                   ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1438, characters 11-23:
# 1438 |         | [Genlex.Ident nm] -> Ident nm
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1775, characters 22-40:
# 1775 |         let compare = Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "setup.ml", line 3176, characters 8-19:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3179, characters 21-32:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3182, characters 18-32:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3184, characters 6-23:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3187, characters 12-24:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 9-21:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 26-36:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 42-55:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 8-19:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 25-36:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 42-53:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3201, characters 17-34:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3326, characters 16-33:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3345, characters 22-38:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3347, characters 17-29:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3348, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3348, characters 37-49:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3350, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3350, characters 37-50:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3352, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3352, characters 46-58:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3354, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3354, characters 46-59:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3356, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3369, characters 13-25:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3467, characters 16-34:
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "setup.ml", line 4518, characters 21-38:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4520, characters 19-31:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 4521, characters 16-29:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4521, characters 33-46:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4523, characters 15-26:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 4523, characters 32-43:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# W: Cannot find source file matching module 'Lmdb_generated' in library lmdb.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# W: Cannot find source file matching module 'Lmdb_generated_types' in library lmdb.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# + /home/opam/.opam/4.14/bin/ocamlc.opt -config
# + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# + /home/opam/.opam/4.14/bin/ocamlc.opt -config
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_bindgen.ml > src/lmdb_bindgen.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_bindings.ml > src/lmdb_bindings.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_typegen.ml > src/lmdb_typegen.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_types.ml > src/lmdb_types.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_types.cmo src/lmdb_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_types.cmo src/lmdb_types.ml
# File "src/lmdb_types.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_typegen.cmo src/lmdb_typegen.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_typegen.cmo src/lmdb_typegen.ml
# File "src/lmdb_typegen.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -keep-locs -linkpkg -package ctypes.stubs -package unix-type-representations -I src src/lmdb_types.cmo src/lmdb_typegen.cmo -o src/lmdb_typegen.byte
# + src/lmdb_typegen.byte
# + gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  src/lmdb_typestubs.c -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ocaml -o src/lmdb_typestubs
# + src/lmdb_typestubs >> src/lmdb_generated_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_generated_types.ml > src/lmdb_generated_types.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -I src -o src/lmdb_generated_types.cmo src/lmdb_generated_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindings.cmo src/lmdb_bindings.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindings.cmo src/lmdb_bindings.ml
# File "src/lmdb_bindings.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindgen.cmo src/lmdb_bindgen.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindgen.cmo src/lmdb_bindgen.ml
# File "src/lmdb_bindgen.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -keep-locs -linkpkg -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -I src src/lmdb_generated_types.cmo src/lmdb_types.cmo src/lmdb_bindings.cmo src/lmdb_bindgen.cmo -o src/lmdb_bindgen.byte
# + src/lmdb_bindgen.byte
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -package ctypes.stubs -c src/lmdb_cstubs.c
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -package ctypes.stubs -c src/lmdb_cstubs.c
# src/lmdb_cstubs.c: In function 'lmdb_stub__13_mdb_env_get_path':
# src/lmdb_cstubs.c:96:36: error: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]
#    96 |    int x89 = mdb_env_get_path(x87, x88);
#       |                                    ^~~
#       |                                    |
#       |                                    char **
# In file included from src/lmdb_cstubs.c:2:
# /usr/include/lmdb.h:795:50: note: expected 'const char **' but argument is of type 'char **'
#   795 | int  mdb_env_get_path(MDB_env *env, const char **path);
#       |                                     ~~~~~~~~~~~~~^~~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__22_mdb_env_set_assert':
# src/lmdb_cstubs.c:157:40: error: passing argument 2 of 'mdb_env_set_assert' from incompatible pointer type [-Wincompatible-pointer-types]
#   157 |    int x136 = mdb_env_set_assert(x134, x135);
#       |                                        ^~~~
#       |                                        |
#       |                                        void (*)(MDB_env *, char *)
# /usr/include/lmdb.h:937:56: note: expected 'void (*)(MDB_env *, const char *)' but argument is of type 'void (*)(MDB_env *, char *)'
#   937 | int  mdb_env_set_assert(MDB_env *env, MDB_assert_func *func);
#       |                                       ~~~~~~~~~~~~~~~~~^~~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__34_mdb_set_compare':
# src/lmdb_cstubs.c:247:43: error: passing argument 3 of 'mdb_set_compare' from incompatible pointer type [-Wincompatible-pointer-types]
#   247 |    int x218 = mdb_set_compare(x213, x214, x217);
#       |                                           ^~~~
#       |                                           |
#       |                                           int (*)(struct MDB_val *, struct MDB_val *)
# /usr/include/lmdb.h:1201:63: note: expected 'int (*)(const MDB_val *, const MDB_val *)' but argument is of type 'int (*)(struct MDB_val *, struct MDB_val *)'
#  1201 | int  mdb_set_compare(MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp);
#       |                                                 ~~~~~~~~~~~~~~^~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__35_mdb_set_dupsort':
# src/lmdb_cstubs.c:256:43: error: passing argument 3 of 'mdb_set_dupsort' from incompatible pointer type [-Wincompatible-pointer-types]
#   256 |    int x227 = mdb_set_dupsort(x222, x223, x226);
#       |                                           ^~~~
#       |                                           |
#       |                                           int (*)(struct MDB_val *, struct MDB_val *)
# /usr/include/lmdb.h:1224:63: note: expected 'int (*)(const MDB_val *, const MDB_val *)' but argument is of type 'int (*)(struct MDB_val *, struct MDB_val *)'
#  1224 | int  mdb_set_dupsort(MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp);
#       |                                                 ~~~~~~~~~~~~~~^~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__52_mdb_reader_list':
# src/lmdb_cstubs.c:395:37: error: passing argument 2 of 'mdb_reader_list' from incompatible pointer type [-Wincompatible-pointer-types]
#   395 |    int x368 = mdb_reader_list(x365, x366, x367);
#       |                                     ^~~~
#       |                                     |
#       |                                     int (*)(char *, void *)
# /usr/include/lmdb.h:1586:53: note: expected 'int (*)(const char *, void *)' but argument is of type 'int (*)(char *, void *)'
#  1586 | int     mdb_reader_list(MDB_env *env, MDB_msg_func *func, void *ctx);
#       |                                       ~~~~~~~~~~~~~~^~~~
# Command exited with code 2.
# + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# File "myocamlbuild.ml", line 454, characters 8-19:
# 454 |         Stream.from
#               ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 457, characters 21-32:
# 457 |                match Stream.next st with
#                            ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 460, characters 18-32:
# 460 |              with Stream.Failure -> None)
#                         ^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 462, characters 6-23:
# 462 |       Genlex.make_lexer ["="] st_line
#             ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 465, characters 12-24:
# 465 |       match Stream.npeek 3 lxr with
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 9-21:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 26-36:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                                 ^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 42-55:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                                                 ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 8-19:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#               ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 25-36:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#                                ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 42-53:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#                                                 ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 479, characters 17-34:
# 479 |         let st = Stream.of_channel chn in
#                        ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# E: Failure("Command ''/home/opam/.opam/4.14/bin/ocamlbuild' src/liblmdb_stubs.a src/dlllmdb_stubs.so src/lmdb.cma src/lmdb.cmxa src/lmdb.a src/lmdb.cmxs src/lmdb_bindgen.byte src/lmdb_typegen.byte -tag debug' terminated with error code 10")



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build lmdb 0.1
+- 
+- The following changes have been performed
| - install base-bytes                base
| - install conf-libffi               2.0.0
| - install conf-pkg-config           4
| - install ctypes                    0.17.1
| - install ctypes-foreign            0.18.0
| - install integers                  0.7.0
| - install ocamlbuild                0.16.1
| - install ocamlfind                 1.9.8
| - install stdlib-shims              0.3.0
| - install topkg                     1.1.1
| - install unix-type-representations 0.1.2
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260317010108.export"
[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 lmdb.0.1;
        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" != 'lmdb.0.1' && 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-03-17 01:01.47: Job failed: Failed: Build failed
2026-03-17 01:01.47: Log analysis:
2026-03-17 01:01.47: >>> 
[ERROR] The compilation of lmdb.0.1 failed at "ocaml setup.ml -build".
 (score = 20)
2026-03-17 01:01.47: >>> 
# src/lmdb_cstubs.c:96:36: error: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-17 01:01.47: >>> 
# src/lmdb_cstubs.c:157:40: error: passing argument 2 of 'mdb_env_set_assert' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-17 01:01.47: >>> 
# src/lmdb_cstubs.c:247:43: error: passing argument 3 of 'mdb_set_compare' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-17 01:01.47: >>> 
# src/lmdb_cstubs.c:256:43: error: passing argument 3 of 'mdb_set_dupsort' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-17 01:01.47: >>> 
# src/lmdb_cstubs.c:395:37: error: passing argument 2 of 'mdb_reader_list' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-03-17 01:01.47: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]