(not at the head of any monitored branch or PR)
2026-03-02 19:21.08: New job: test mssql.2.2.0 with dune-configurator.3.22.0~alpha0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
                              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/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
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~alpha0 3.22.0~alpha0
RUN opam reinstall dune-configurator.3.22.0~alpha0; \
    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~alpha0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall mssql.2.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" != 'mssql.2.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 mssql.2.2.0) || true
RUN opam reinstall --with-test --verbose mssql.2.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" != 'mssql.2.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-02 19:21.08: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune-configurator.3.22.0~alpha0-mssql.2.2.0-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:21.08: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
 (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~alpha0 3.22.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune-configurator.3.22.0~alpha0;\
             \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~alpha0' && 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 mssql.2.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\" != 'mssql.2.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 mssql.2.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose mssql.2.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\" != 'mssql.2.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-02 19:21.08: Waiting for resource in pool OCluster
2026-03-03 01:48.21: Waiting for worker…
2026-03-03 01:51.03: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  83% (15308/18363)
Updating files:  84% (15425/18363)
Updating files:  85% (15609/18363)
Updating files:  86% (15793/18363)
Updating files:  87% (15976/18363)
Updating files:  88% (16160/18363)
Updating files:  89% (16344/18363)
Updating files:  90% (16527/18363)
Updating files:  91% (16711/18363)
Updating files:  92% (16894/18363)
Updating files:  93% (17078/18363)
Updating files:  94% (17262/18363)
Updating files:  95% (17445/18363)
Updating files:  96% (17629/18363)
Updating files:  97% (17813/18363)
Updating files:  98% (17996/18363)
Updating files:  99% (18180/18363)
Updating files: 100% (18363/18363)
Updating files: 100% (18363/18363), done.
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha0/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha0/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha0/opam           | 40 ++++++++++++
 .../dune-build-info.3.22.0~alpha0/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha0/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha0/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha0/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha0/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha0/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha0/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha0/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha0/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha0/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha0/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha0/opam                | 39 +++++++++++
 18 files changed, 797 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a' locally
docker.io/ocaml/opam@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a: Pulling from ocaml/opam
866771c43bf5: Already exists
4a5c2c0f49fb: Already exists
14afc2e314e3: Already exists
b428db3c7f23: Already exists
714e2830ade6: Already exists
a32341fba7c4: Already exists
14c4d29b0669: Already exists
8098743a84e0: Already exists
b649ef0e5c7c: Already exists
fdf90895ece2: Already exists
2a1862103e3b: Already exists
a5b8900899a7: Already exists
3afd77c1671d: Already exists
4109c0e61944: Already exists
72c2140c0b8a: Already exists
a569aea0e6d2: Already exists
bda663408b80: Already exists
c85973dbeea6: Already exists
d0f7673c2c0f: Already exists
5ba6b3c63b75: Already exists
0fe1cfdd36e8: Already exists
c9392670ba0b: Already exists
4f4fb700ef54: Already exists
15c31e04da2e: Already exists
e891433acb08: Already exists
7bf28702178d: Already exists
4b2b9fb8d21c: Already exists
9741c41ba88b: Already exists
f7c5927b37c0: Already exists
10106e0ac766: Already exists
4b02e669a449: Already exists
968217c73ddd: Already exists
af2f12562aab: Already exists
19a04a291720: Already exists
ceb537a14cf6: Already exists
338d3c82b545: Already exists
95eb1e8c1267: Already exists
ad354d8e0d09: Already exists
b036852fb10e: Already exists
12e59cb649ae: Already exists
8ca6b163450a: Already exists
cb5689abf9e7: Pulling fs layer
510fc5682812: Pulling fs layer
c15873485d9f: Pulling fs layer
11a3c22082ed: Pulling fs layer
11a3c22082ed: Waiting
c15873485d9f: Download complete
510fc5682812: Verifying Checksum
510fc5682812: Download complete
11a3c22082ed: Verifying Checksum
11a3c22082ed: Download complete
cb5689abf9e7: Download complete
cb5689abf9e7: Pull complete
510fc5682812: Pull complete
c15873485d9f: Pull complete
11a3c22082ed: Pull complete
Digest: sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
Status: Downloaded newer image for ocaml/opam@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
2026-03-03 02:11.57 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" 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-03 02:11.57 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" 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-03 02:11.57 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" 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-03 02:11.57 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" 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-03 02:11.57 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 02:11.58 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 02:11.58 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1291 kB/s)
- Reading package lists...
2026-03-03 02:11.58 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.22.0~alpha0 3.22.0~alpha0"))
dune-configurator is now pinned to version 3.22.0~alpha0
2026-03-03 02:11.58 ---> using "d5e63911c114da3fd10025a304152f3cfb09ecd8a477576540d343de4f15dab9" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune-configurator.3.22.0~alpha0;\
                        \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~alpha0' && 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~alpha0 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~alpha0          [required by dune-configurator]
  - install dune-configurator 3.22.0~alpha0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.22.0~alpha0, dune-configurator.3.22.0~alpha0  (cached)
-> installed dune.3.22.0~alpha0
-> installed csexp.1.5.2
-> installed dune-configurator.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 02:11.58 ---> using "958ca2f77a87e58f9cde0fdd281e0b2397f1e0c2cc8c5700b154bf7979b92eaa" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mssql.2.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\" != 'mssql.2.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"))
mssql.2.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 71 packages
  - install async_kernel        v0.14.0 [required by async_unix]
  - install async_unix          v0.14.0 [required by mssql]
  - install base                v0.14.3 [required by core_kernel]
  - install base-bytes          base    [required by text]
  - install base_bigstring      v0.14.0 [required by core_kernel]
  - install base_quickcheck     v0.14.1 [required by core_kernel]
  - install bignum              v0.14.0 [required by mssql]
  - install bin_prot            v0.14.1 [required by core_kernel]
  - install conf-gmp            5       [required by zarith]
  - install conf-perl           2       [required by zarith]
  - install core                v0.14.1 [required by async_unix]
  - install core_kernel         v0.14.2 [required by async_unix, bignum]
  - install cppo                1.8.0   [required by freetds]
  - install fieldslib           v0.14.0 [required by core_kernel]
  - install freetds             0.7     [required by mssql]
  - install iter                1.9     [required by mssql]
  - install jane-street-headers v0.14.0 [required by core_kernel]
  - install jst-config          v0.14.1 [required by core]
  - install logs                0.10.0  [required by mssql]
  - install mssql               2.2.0
  - install num                 1.6     [required by bignum]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ocamlbuild          0.16.1  [required by logs, text]
  - install ocamlfind           1.9.8   [required by logs, text]
  - install octavius            1.2.2   [required by ppx_js_style]
  - install parsexp             v0.14.2 [required by sexplib]
  - install ppx_assert          v0.14.0 [required by core_kernel]
  - install ppx_base            v0.14.0 [required by core_kernel]
  - install ppx_bench           v0.14.1 [required by ppx_jane]
  - install ppx_bin_prot        v0.14.0 [required by ppx_jane]
  - install ppx_cold            v0.14.0 [required by ppx_base]
  - install ppx_compare         v0.14.0 [required by ppx_base, bin_prot]
  - install ppx_custom_printf   v0.14.1 [required by ppx_jane]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppx_enumerate       v0.14.0 [required by ppx_base]
  - install ppx_expect          v0.14.2 [required by ppx_jane]
  - install ppx_fields_conv     v0.14.2 [required by ppx_jane]
  - install ppx_fixed_literal   v0.14.0 [required by ppx_jane]
  - install ppx_hash            v0.14.0 [required by core_kernel]
  - install ppx_here            v0.14.0 [required by ppx_jane]
  - install ppx_inline_test     v0.14.1 [required by core_kernel]
  - install ppx_jane            v0.14.0 [required by mssql]
  - install ppx_js_style        v0.14.1 [required by ppx_base]
  - install ppx_let             v0.14.0 [required by ppx_jane]
  - install ppx_module_timer    v0.14.0 [required by ppx_jane]
  - install ppx_optcomp         v0.14.3 [required by core_kernel]
  - install ppx_optional        v0.14.0 [required by ppx_jane]
  - install ppx_pipebang        v0.14.0 [required by ppx_jane]
  - install ppx_sexp_conv       v0.14.3 [required by core_kernel]
  - install ppx_sexp_message    v0.14.1 [required by core_kernel]
  - install ppx_sexp_value      v0.14.0 [required by ppx_jane]
  - install ppx_stable          v0.14.1 [required by ppx_jane]
  - install ppx_string          v0.14.1 [required by ppx_jane]
  - install ppx_typerep_conv    v0.14.2 [required by ppx_jane]
  - install ppx_variants_conv   v0.14.2 [required by ppx_jane]
  - install ppxlib              0.25.1  [required by ppx_jane]
  - install re                  1.14.0  [required by ppx_expect]
  - install sexplib             v0.14.0 [required by core]
  - install sexplib0            v0.14.0 [required by base, sexplib]
  - install spawn               v0.17.0 [required by core]
  - install splittable_random   v0.14.0 [required by bignum]
  - install stdio               v0.14.0 [required by core_kernel]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install text                0.8.1   [required by mssql]
  - install time_now            v0.14.0 [required by core_kernel]
  - install timezone            v0.14.0 [required by core]
  - install topkg               1.1.1   [required by logs]
  - install typerep             v0.14.0 [required by bignum]
  - install variantslib         v0.14.0 [required by core_kernel]
  - install zarith              1.11    [required by bignum]
  - install zarith_stubs_js     v0.14.1 [required by bignum]

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

<><> 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" "freetds-dev" "libgmp-dev"
- Selecting previously unselected package freetds-common.
- (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-freetds-common_1.3.17+ds-2+deb13u1_all.deb ...
- Unpacking freetds-common (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package libct4:amd64.
- Preparing to unpack .../1-libct4_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking libct4:amd64 (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package libsybdb5:amd64.
- Preparing to unpack .../2-libsybdb5_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking libsybdb5:amd64 (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package freetds-dev.
- Preparing to unpack .../3-freetds-dev_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking freetds-dev (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package freetds-doc.
- Preparing to unpack .../4-freetds-doc_1.3.17+ds-2+deb13u1_all.deb ...
- Unpacking freetds-doc (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../5-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../6-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up freetds-doc (1.3.17+ds-2+deb13u1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up freetds-common (1.3.17+ds-2+deb13u1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libsybdb5:amd64 (1.3.17+ds-2+deb13u1) ...
- Setting up libct4:amd64 (1.3.17+ds-2+deb13u1) ...
- Setting up freetds-dev (1.3.17+ds-2+deb13u1) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved async_kernel.v0.14.0  (cached)
-> retrieved async_unix.v0.14.0  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved base_bigstring.v0.14.0  (cached)
-> retrieved base_quickcheck.v0.14.1  (cached)
-> retrieved bignum.v0.14.0  (cached)
-> retrieved bin_prot.v0.14.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved core.v0.14.1  (cached)
-> installed conf-gmp.5
-> installed conf-perl.2
-> retrieved core_kernel.v0.14.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved fieldslib.v0.14.0  (cached)
-> retrieved freetds.0.7  (cached)
-> retrieved iter.1.9  (cached)
-> retrieved jane-street-headers.v0.14.0  (cached)
-> retrieved jst-config.v0.14.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mssql.2.2.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed jane-street-headers.v0.14.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved parsexp.v0.14.2  (cached)
-> retrieved ppx_assert.v0.14.0  (cached)
-> retrieved ppx_base.v0.14.0  (cached)
-> retrieved ppx_bench.v0.14.1  (cached)
-> retrieved ppx_bin_prot.v0.14.0  (cached)
-> retrieved ppx_cold.v0.14.0  (cached)
-> retrieved ppx_compare.v0.14.0  (cached)
-> retrieved ppx_custom_printf.v0.14.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.14.0  (cached)
-> retrieved ppx_expect.v0.14.2  (cached)
-> retrieved ppx_fields_conv.v0.14.2  (cached)
-> retrieved ppx_fixed_literal.v0.14.0  (cached)
-> retrieved ppx_hash.v0.14.0  (cached)
-> retrieved ppx_here.v0.14.0  (cached)
-> retrieved ppx_inline_test.v0.14.1  (cached)
-> retrieved ppx_jane.v0.14.0  (cached)
-> retrieved ppx_js_style.v0.14.1  (cached)
-> installed iter.1.9
-> retrieved ppx_let.v0.14.0  (cached)
-> retrieved ppx_module_timer.v0.14.0  (cached)
-> retrieved ppx_optcomp.v0.14.3  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_optional.v0.14.0  (cached)
-> retrieved ppx_pipebang.v0.14.0  (cached)
-> retrieved ppx_sexp_conv.v0.14.3  (cached)
-> retrieved ppx_sexp_message.v0.14.1  (cached)
-> retrieved ppx_sexp_value.v0.14.0  (cached)
-> retrieved ppx_stable.v0.14.1  (cached)
-> retrieved ppx_string.v0.14.1  (cached)
-> retrieved ppx_typerep_conv.v0.14.2  (cached)
-> retrieved ppx_variants_conv.v0.14.2  (cached)
-> retrieved ppxlib.0.25.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> retrieved splittable_random.v0.14.0  (cached)
-> retrieved stdio.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved text.0.8.1  (cached)
-> retrieved time_now.v0.14.0  (cached)
-> retrieved timezone.v0.14.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cppo.1.8.0
-> retrieved typerep.v0.14.0  (cached)
-> retrieved variantslib.v0.14.0  (cached)
-> retrieved zarith.1.11  (cached)
-> retrieved zarith_stubs_js.v0.14.1  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> installed stdlib-shims.0.3.0
-> installed zarith_stubs_js.v0.14.1
-> installed spawn.v0.17.0
-> installed sexplib0.v0.14.0
-> installed octavius.1.2.2
-> installed num.1.6
-> installed re.1.14.0
-> installed freetds.0.7
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed base.v0.14.3
-> installed zarith.1.11
-> installed fieldslib.v0.14.0
-> installed variantslib.v0.14.0
-> installed stdio.v0.14.0
-> installed typerep.v0.14.0
-> installed text.0.8.1
-> installed parsexp.v0.14.2
-> installed sexplib.v0.14.0
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed ppxlib.0.25.1
-> installed ppx_optcomp.v0.14.3
-> installed ppx_cold.v0.14.0
-> installed ppx_here.v0.14.0
-> installed ppx_let.v0.14.0
-> installed ppx_enumerate.v0.14.0
-> installed ppx_fields_conv.v0.14.2
-> installed ppx_stable.v0.14.1
-> installed ppx_variants_conv.v0.14.2
-> installed ppx_typerep_conv.v0.14.2
-> installed ppx_compare.v0.14.0
-> installed ppx_fixed_literal.v0.14.0
-> installed ppx_pipebang.v0.14.0
-> installed ppx_optional.v0.14.0
-> installed ppx_js_style.v0.14.1
-> installed ppx_sexp_conv.v0.14.3
-> installed ppx_hash.v0.14.0
-> installed ppx_assert.v0.14.0
-> installed ppx_sexp_value.v0.14.0
-> installed ppx_sexp_message.v0.14.1
-> installed ppx_base.v0.14.0
-> installed ppx_custom_printf.v0.14.1
-> installed jst-config.v0.14.1
-> installed ppx_string.v0.14.1
-> installed bin_prot.v0.14.1
-> installed time_now.v0.14.0
-> installed ppx_bin_prot.v0.14.0
-> installed ppx_module_timer.v0.14.0
-> installed ppx_inline_test.v0.14.1
-> installed ppx_bench.v0.14.1
-> installed ppx_expect.v0.14.2
-> installed splittable_random.v0.14.0
-> installed base_quickcheck.v0.14.1
-> installed ppx_jane.v0.14.0
-> installed base_bigstring.v0.14.0
-> installed core_kernel.v0.14.2
-> installed timezone.v0.14.0
-> installed bignum.v0.14.0
-> installed async_kernel.v0.14.0
-> installed core.v0.14.1
-> installed async_unix.v0.14.0
-> installed mssql.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 02:13.31 ---> saved as "4510eb2b9343e635b815772dc3c36bc00e68e17a85ea8fa1f278c19998ed9fc7"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test mssql.2.2.0) || true"))
The following actions will be performed:
=== recompile 2 packages
  - recompile logs               0.10.0 [uses cmdliner]
  - recompile mssql              2.2.0
=== install 7 packages
  - install   alcotest           1.5.0  [required by mssql]
  - install   alcotest-async     1.5.0  [required by mssql]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           1.3.0  [required by alcotest]
  - install   fmt                0.11.0 [required by alcotest]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.5.0, alcotest-async.1.5.0  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved mssql.2.2.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed astring.0.8.5
-> removed   mssql.2.2.0
-> removed   logs.0.10.0
-> installed cmdliner.1.3.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.5.0
-> installed logs.0.10.0
-> installed alcotest-async.1.5.0
[ERROR] The compilation of mssql.2.2.0 failed at "dune build -p mssql -j 255 @install @runtest".

#=== ERROR while compiling mssql.2.2.0 ========================================#
# 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/mssql.2.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mssql -j 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/mssql-7-c1a3cb.env
# output-file          ~/.opam/log/mssql-7-c1a3cb.out
### output ###
# File "test/dune", line 2, characters 8-18:
# 2 |  (names test_mssql)
#             ^^^^^^^^^^
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -o test/test_mssql.exe /home/opam/.opam/4.14/lib/astring/astring.cmxa /home/opam/.opam/4.14/lib/cmdliner/cmdliner.cmxa /home/opam/.opam/4.14/lib/uutf/uutf.cmxa /home/opam/.opam/4.14/lib/alcotest/stdlib_ext/alcotest_stdlib_ext.cmxa /home/opam/.opam/4.14/lib/fmt/fmt.cmxa /home/opam/.opam/4.14/lib/fmt/cli/fmt_cli.cmxa /home/opam/.opam/4.14/lib/re/re.cmxa /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/alcotest/engine/alcotest_engine.cmxa /home/opam/.opam/4.14/lib/ocaml/unix.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/fmt/tty/fmt_tty.cmxa /home/opam/.opam/4.14/lib/alcotest/alcotest.cmxa -I /home/opam/.opam/4.14/lib/alcotest /home/opam/.opam/4.14/lib/base/base_internalhash_types/base_internalhash_types.cmxa -I /home/opam/.opam/4.14/lib/base/base_internalhash_types /home/opam/.opam/4.14/lib/base/caml/caml.cmxa /home/opam/.opam/4.14/lib/sexplib0/sexplib0.cmxa /home/opam/.opam/4.14/lib/base/shadow_stdlib/shadow_stdlib.cmxa /home/opam/.opam/4.14/lib/base/base.cmxa -I /home/opam/.opam/4.14/lib/base /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cmxa /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib/ppx_compare_lib.cmxa /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib/ppx_enumerate_lib.cmxa /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib/ppx_hash_lib.cmxa /home/opam/.opam/4.14/lib/ppx_here/runtime-lib/ppx_here_lib.cmxa /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib/ppx_assert_lib.cmxa /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib/ppx_bench_lib.cmxa /home/opam/.opam/4.14/lib/base/md5/md5_lib.cmxa /home/opam/.opam/4.14/lib/fieldslib/fieldslib.cmxa /home/opam/.opam/4.14/lib/variantslib/variantslib.cmxa /home/opam/.opam/4.14/lib/bin_prot/shape/bin_shape_lib.cmxa /home/opam/.opam/4.14/lib/bin_prot/bin_prot.cmxa -I /home/opam/.opam/4.14/lib/bin_prot /home/opam/.opam/4.14/lib/ppx_inline_test/config/inline_test_config.cmxa /home/opam/.opam/4.14/lib/jane-street-headers/jane_street_headers.cmxa /home/opam/.opam/4.14/lib/time_now/time_now.cmxa -I /home/opam/.opam/4.14/lib/time_now /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.cmxa /home/opam/.opam/4.14/lib/stdio/stdio.cmxa /home/opam/.opam/4.14/lib/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxa /home/opam/.opam/4.14/lib/typerep/typerep_lib.cmxa /home/opam/.opam/4.14/lib/ppx_expect/common/expect_test_common.cmxa /home/opam/.opam/4.14/lib/ppx_expect/config_types/expect_test_config_types.cmxa /home/opam/.opam/4.14/lib/ppx_expect/collector/expect_test_collector.cmxa -I /home/opam/.opam/4.14/lib/ppx_expect/collector /home/opam/.opam/4.14/lib/ppx_expect/config/expect_test_config.cmxa /home/opam/.opam/4.14/lib/splittable_random/splittable_random.cmxa /home/opam/.opam/4.14/lib/base_quickcheck/base_quickcheck.cmxa /home/opam/.opam/4.14/lib/base_bigstring/base_bigstring.cmxa -I /home/opam/.opam/4.14/lib/base_bigstring /home/opam/.opam/4.14/lib/core_kernel/base_for_tests/base_for_tests.cmxa /home/opam/.opam/4.14/lib/ocaml/bigarray.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/parsexp/parsexp.cmxa /home/opam/.opam/4.14/lib/sexplib/sexplib.cmxa /home/opam/.opam/4.14/lib/core_kernel/core_kernel.cmxa -I /home/opam/.opam/4.14/lib/core_kernel /home/opam/.opam/4.14/lib/core_kernel/moption/moption.cmxa /home/opam/.opam/4.14/lib/core_kernel/tuple_pool/tuple_pool.cmxa /home/opam/.opam/4.14/lib/core_kernel/pairing_heap/pairing_heap.cmxa /home/opam/.opam/4.14/lib/core_kernel/sexp_hidden_in_test/sexp_hidden_in_test.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_pool_cpu_affinity/thread_pool_cpu_affinity.cmxa /home/opam/.opam/4.14/lib/core_kernel/uopt/uopt.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_safe_queue/thread_safe_queue.cmxa /home/opam/.opam/4.14/lib/core_kernel/timing_wheel/timing_wheel.cmxa /home/opam/.opam/4.14/lib/async_kernel/async_kernel.cmxa /home/opam/.opam/4.14/lib/ocaml/threads/threads.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/core/error_checking_mutex/error_checking_mutex.cmxa -I /home/opam/.opam/4.14/lib/core/error_checking_mutex /home/opam/.opam/4.14/lib/core_kernel/caml_unix/caml_unix.cmxa /home/opam/.opam/4.14/lib/core_kernel/flags/flags.cmxa /home/opam/.opam/4.14/lib/core_kernel/version_util/version_util.cmxa -I /home/opam/.opam/4.14/lib/core_kernel/version_util /home/opam/.opam/4.14/lib/sexplib/unix/sexplib_unix.cmxa /home/opam/.opam/4.14/lib/spawn/spawn.cmxa -I /home/opam/.opam/4.14/lib/spawn /home/opam/.opam/4.14/lib/timezone/timezone.cmxa /home/opam/.opam/4.14/lib/core/core.cmxa -I /home/opam/.opam/4.14/lib/core /home/opam/.opam/4.14/lib/core/bigstring_unix/bigstring_unix.cmxa -I /home/opam/.opam/4.14/lib/core/bigstring_unix /home/opam/.opam/4.14/lib/core_kernel/bounded_int_table/bounded_int_table.cmxa /home/opam/.opam/4.14/lib/core_kernel/iobuf/iobuf.cmxa /home/opam/.opam/4.14/lib/core/iobuf_unix/iobuf_unix.cmxa -I /home/opam/.opam/4.14/lib/core/iobuf_unix /home/opam/.opam/4.14/lib/core/nano_mutex/nano_mutex.cmxa /home/opam/.opam/4.14/lib/core/squeue/squeue.cmxa /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.cmxa -I /home/opam/.opam/4.14/lib/core/linux_ext /home/opam/.opam/4.14/lib/async_unix/thread_safe_ivar/thread_safe_ivar.cmxa /home/opam/.opam/4.14/lib/async_unix/thread_pool/thread_pool.cmxa /home/opam/.opam/4.14/lib/core/time_stamp_counter/time_stamp_counter.cmxa -I /home/opam/.opam/4.14/lib/core/time_stamp_counter /home/opam/.opam/4.14/lib/core_kernel/uuid/uuid.cmxa /home/opam/.opam/4.14/lib/core/uuid/uuid_unix.cmxa /home/opam/.opam/4.14/lib/async_unix/async_unix.cmxa -I /home/opam/.opam/4.14/lib/async_unix /home/opam/.opam/4.14/lib/alcotest-async/alcotest_async.cmxa /home/opam/.opam/4.14/lib/freetds/freetds.cmxa -I /home/opam/.opam/4.14/lib/freetds /home/opam/.opam/4.14/lib/iter/iter.cmxa /home/opam/.opam/4.14/lib/num/nums.cmxa -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/num /home/opam/.opam/4.14/lib/zarith/zarith.cmxa -I /home/opam/.opam/4.14/lib/zarith /home/opam/.opam/4.14/lib/zarith_stubs_js/zarith_stubs_js.cmxa /home/opam/.opam/4.14/lib/bignum/bigint/bigint.cmxa /home/opam/.opam/4.14/lib/bignum/bignum.cmxa /home/opam/.opam/4.14/lib/logs/logs.cmxa /home/opam/.opam/4.14/lib/text/text.cmxa -I /home/opam/.opam/4.14/lib/text src/mssql.cmxa test/.test_mssql.eobjs/native/test_mssql.cmx)
# /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__sched_setaffinity_this_thread_34496':
# /home/opam/.opam/4.14/.opam-switch/build/core.v0.14.1/_build/default/linux_ext/src/linux_ext.ml:697:(.text+0x4600): undefined reference to `core_unix_gettid'
# /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__1':
# :(.data+0x3b58): undefined reference to `core_unix_gettid'
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking (exit code 1)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mssql 2.2.0
+- 
+- The following changes have been performed
| - remove    mssql              2.2.0
| - recompile logs               0.10.0
| - install   alcotest           1.5.0
| - install   alcotest-async     1.5.0
| - install   astring            0.8.5
| - install   cmdliner           1.3.0
| - install   fmt                0.11.0
| - install   ocaml-syntax-shims 1.0.0
| - install   uutf               1.0.4
+- 
# 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-20260303021332.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-03-03 02:13.48 ---> saved as "f1430cf3b32375c201a1048f0f14d426d8054177591d23e51d7a854d421d7898"

/home/opam: (run (shell  "opam reinstall --with-test --verbose mssql.2.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\" != 'mssql.2.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"))
mssql.2.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install mssql 2.2.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [mssql.2.2.0: extract]
-> retrieved mssql.2.2.0  (cached)
Processing  2/3: [mssql: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mssql" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mssql.2.2.0)
- File "test/dune", line 2, characters 8-18:
- 2 |  (names test_mssql)
-             ^^^^^^^^^^
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -o test/test_mssql.exe /home/opam/.opam/4.14/lib/astring/astring.cmxa /home/opam/.opam/4.14/lib/cmdliner/cmdliner.cmxa /home/opam/.opam/4.14/lib/uutf/uutf.cmxa /home/opam/.opam/4.14/lib/alcotest/stdlib_ext/alcotest_stdlib_ext.cmxa /home/opam/.opam/4.14/lib/fmt/fmt.cmxa /home/opam/.opam/4.14/lib/fmt/cli/fmt_cli.cmxa /home/opam/.opam/4.14/lib/re/re.cmxa /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/alcotest/engine/alcotest_engine.cmxa /home/opam/.opam/4.14/lib/ocaml/unix.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/fmt/tty/fmt_tty.cmxa /home/opam/.opam/4.14/lib/alcotest/alcotest.cmxa -I /home/opam/.opam/4.14/lib/alcotest /home/opam/.opam/4.14/lib/base/base_internalhash_types/base_internalhash_types.cmxa -I /home/opam/.opam/4.14/lib/base/base_internalhash_types /home/opam/.opam/4.14/lib/base/caml/caml.cmxa /home/opam/.opam/4.14/lib/sexplib0/sexplib0.cmxa /home/opam/.opam/4.14/lib/base/shadow_stdlib/shadow_stdlib.cmxa /home/opam/.opam/4.14/lib/base/base.cmxa -I /home/opam/.opam/4.14/lib/base /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cmxa /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib/ppx_compare_lib.cmxa /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib/ppx_enumerate_lib.cmxa /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib/ppx_hash_lib.cmxa /home/opam/.opam/4.14/lib/ppx_here/runtime-lib/ppx_here_lib.cmxa /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib/ppx_assert_lib.cmxa /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib/ppx_bench_lib.cmxa /home/opam/.opam/4.14/lib/base/md5/md5_lib.cmxa /home/opam/.opam/4.14/lib/fieldslib/fieldslib.cmxa /home/opam/.opam/4.14/lib/variantslib/variantslib.cmxa /home/opam/.opam/4.14/lib/bin_prot/shape/bin_shape_lib.cmxa /home/opam/.opam/4.14/lib/bin_prot/bin_prot.cmxa -I /home/opam/.opam/4.14/lib/bin_prot /home/opam/.opam/4.14/lib/ppx_inline_test/config/inline_test_config.cmxa /home/opam/.opam/4.14/lib/jane-street-headers/jane_street_headers.cmxa /home/opam/.opam/4.14/lib/time_now/time_now.cmxa -I /home/opam/.opam/4.14/lib/time_now /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.cmxa /home/opam/.opam/4.14/lib/stdio/stdio.cmxa /home/opam/.opam/4.14/lib/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxa /home/opam/.opam/4.14/lib/typerep/typerep_lib.cmxa /home/opam/.opam/4.14/lib/ppx_expect/common/expect_test_common.cmxa /home/opam/.opam/4.14/lib/ppx_expect/config_types/expect_test_config_types.cmxa /home/opam/.opam/4.14/lib/ppx_expect/collector/expect_test_collector.cmxa -I /home/opam/.opam/4.14/lib/ppx_expect/collector /home/opam/.opam/4.14/lib/ppx_expect/config/expect_test_config.cmxa /home/opam/.opam/4.14/lib/splittable_random/splittable_random.cmxa /home/opam/.opam/4.14/lib/base_quickcheck/base_quickcheck.cmxa /home/opam/.opam/4.14/lib/base_bigstring/base_bigstring.cmxa -I /home/opam/.opam/4.14/lib/base_bigstring /home/opam/.opam/4.14/lib/core_kernel/base_for_tests/base_for_tests.cmxa /home/opam/.opam/4.14/lib/ocaml/bigarray.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/parsexp/parsexp.cmxa /home/opam/.opam/4.14/lib/sexplib/sexplib.cmxa /home/opam/.opam/4.14/lib/core_kernel/core_kernel.cmxa -I /home/opam/.opam/4.14/lib/core_kernel /home/opam/.opam/4.14/lib/core_kernel/moption/moption.cmxa /home/opam/.opam/4.14/lib/core_kernel/tuple_pool/tuple_pool.cmxa /home/opam/.opam/4.14/lib/core_kernel/pairing_heap/pairing_heap.cmxa /home/opam/.opam/4.14/lib/core_kernel/sexp_hidden_in_test/sexp_hidden_in_test.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_pool_cpu_affinity/thread_pool_cpu_affinity.cmxa /home/opam/.opam/4.14/lib/core_kernel/uopt/uopt.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_safe_queue/thread_safe_queue.cmxa /home/opam/.opam/4.14/lib/core_kernel/timing_wheel/timing_wheel.cmxa /home/opam/.opam/4.14/lib/async_kernel/async_kernel.cmxa /home/opam/.opam/4.14/lib/ocaml/threads/threads.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/core/error_checking_mutex/error_checking_mutex.cmxa -I /home/opam/.opam/4.14/lib/core/error_checking_mutex /home/opam/.opam/4.14/lib/core_kernel/caml_unix/caml_unix.cmxa /home/opam/.opam/4.14/lib/core_kernel/flags/flags.cmxa /home/opam/.opam/4.14/lib/core_kernel/version_util/version_util.cmxa -I /home/opam/.opam/4.14/lib/core_kernel/version_util /home/opam/.opam/4.14/lib/sexplib/unix/sexplib_unix.cmxa /home/opam/.opam/4.14/lib/spawn/spawn.cmxa -I /home/opam/.opam/4.14/lib/spawn /home/opam/.opam/4.14/lib/timezone/timezone.cmxa /home/opam/.opam/4.14/lib/core/core.cmxa -I /home/opam/.opam/4.14/lib/core /home/opam/.opam/4.14/lib/core/bigstring_unix/bigstring_unix.cmxa -I /home/opam/.opam/4.14/lib/core/bigstring_unix /home/opam/.opam/4.14/lib/core_kernel/bounded_int_table/bounded_int_table.cmxa /home/opam/.opam/4.14/lib/core_kernel/iobuf/iobuf.cmxa /home/opam/.opam/4.14/lib/core/iobuf_unix/iobuf_unix.cmxa -I /home/opam/.opam/4.14/lib/core/iobuf_unix /home/opam/.opam/4.14/lib/core/nano_mutex/nano_mutex.cmxa /home/opam/.opam/4.14/lib/core/squeue/squeue.cmxa /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.cmxa -I /home/opam/.opam/4.14/lib/core/linux_ext /home/opam/.opam/4.14/lib/async_unix/thread_safe_ivar/thread_safe_ivar.cmxa /home/opam/.opam/4.14/lib/async_unix/thread_pool/thread_pool.cmxa /home/opam/.opam/4.14/lib/core/time_stamp_counter/time_stamp_counter.cmxa -I /home/opam/.opam/4.14/lib/core/time_stamp_counter /home/opam/.opam/4.14/lib/core_kernel/uuid/uuid.cmxa /home/opam/.opam/4.14/lib/core/uuid/uuid_unix.cmxa /home/opam/.opam/4.14/lib/async_unix/async_unix.cmxa -I /home/opam/.opam/4.14/lib/async_unix /home/opam/.opam/4.14/lib/alcotest-async/alcotest_async.cmxa /home/opam/.opam/4.14/lib/freetds/freetds.cmxa -I /home/opam/.opam/4.14/lib/freetds /home/opam/.opam/4.14/lib/iter/iter.cmxa /home/opam/.opam/4.14/lib/num/nums.cmxa -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/num /home/opam/.opam/4.14/lib/zarith/zarith.cmxa -I /home/opam/.opam/4.14/lib/zarith /home/opam/.opam/4.14/lib/zarith_stubs_js/zarith_stubs_js.cmxa /home/opam/.opam/4.14/lib/bignum/bigint/bigint.cmxa /home/opam/.opam/4.14/lib/bignum/bignum.cmxa /home/opam/.opam/4.14/lib/logs/logs.cmxa /home/opam/.opam/4.14/lib/text/text.cmxa -I /home/opam/.opam/4.14/lib/text src/mssql.cmxa test/.test_mssql.eobjs/native/test_mssql.cmx)
- /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__sched_setaffinity_this_thread_34496':
- /home/opam/.opam/4.14/.opam-switch/build/core.v0.14.1/_build/default/linux_ext/src/linux_ext.ml:697:(.text+0x4600): undefined reference to `core_unix_gettid'
- /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__1':
- :(.data+0x3b58): undefined reference to `core_unix_gettid'
- collect2: error: ld returned 1 exit status
- File "caml_startup", line 1:
- Error: Error during linking (exit code 1)
[ERROR] The compilation of mssql.2.2.0 failed at "dune build -p mssql -j 255 @install @runtest".

#=== ERROR while compiling mssql.2.2.0 ========================================#
# 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/mssql.2.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mssql -j 255 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/mssql-7-298fb7.env
# output-file          ~/.opam/log/mssql-7-298fb7.out
### output ###
# File "test/dune", line 2, characters 8-18:
# 2 |  (names test_mssql)
#             ^^^^^^^^^^
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -o test/test_mssql.exe /home/opam/.opam/4.14/lib/astring/astring.cmxa /home/opam/.opam/4.14/lib/cmdliner/cmdliner.cmxa /home/opam/.opam/4.14/lib/uutf/uutf.cmxa /home/opam/.opam/4.14/lib/alcotest/stdlib_ext/alcotest_stdlib_ext.cmxa /home/opam/.opam/4.14/lib/fmt/fmt.cmxa /home/opam/.opam/4.14/lib/fmt/cli/fmt_cli.cmxa /home/opam/.opam/4.14/lib/re/re.cmxa /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/alcotest/engine/alcotest_engine.cmxa /home/opam/.opam/4.14/lib/ocaml/unix.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/fmt/tty/fmt_tty.cmxa /home/opam/.opam/4.14/lib/alcotest/alcotest.cmxa -I /home/opam/.opam/4.14/lib/alcotest /home/opam/.opam/4.14/lib/base/base_internalhash_types/base_internalhash_types.cmxa -I /home/opam/.opam/4.14/lib/base/base_internalhash_types /home/opam/.opam/4.14/lib/base/caml/caml.cmxa /home/opam/.opam/4.14/lib/sexplib0/sexplib0.cmxa /home/opam/.opam/4.14/lib/base/shadow_stdlib/shadow_stdlib.cmxa /home/opam/.opam/4.14/lib/base/base.cmxa -I /home/opam/.opam/4.14/lib/base /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cmxa /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib/ppx_compare_lib.cmxa /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib/ppx_enumerate_lib.cmxa /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib/ppx_hash_lib.cmxa /home/opam/.opam/4.14/lib/ppx_here/runtime-lib/ppx_here_lib.cmxa /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib/ppx_assert_lib.cmxa /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib/ppx_bench_lib.cmxa /home/opam/.opam/4.14/lib/base/md5/md5_lib.cmxa /home/opam/.opam/4.14/lib/fieldslib/fieldslib.cmxa /home/opam/.opam/4.14/lib/variantslib/variantslib.cmxa /home/opam/.opam/4.14/lib/bin_prot/shape/bin_shape_lib.cmxa /home/opam/.opam/4.14/lib/bin_prot/bin_prot.cmxa -I /home/opam/.opam/4.14/lib/bin_prot /home/opam/.opam/4.14/lib/ppx_inline_test/config/inline_test_config.cmxa /home/opam/.opam/4.14/lib/jane-street-headers/jane_street_headers.cmxa /home/opam/.opam/4.14/lib/time_now/time_now.cmxa -I /home/opam/.opam/4.14/lib/time_now /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.cmxa /home/opam/.opam/4.14/lib/stdio/stdio.cmxa /home/opam/.opam/4.14/lib/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxa /home/opam/.opam/4.14/lib/typerep/typerep_lib.cmxa /home/opam/.opam/4.14/lib/ppx_expect/common/expect_test_common.cmxa /home/opam/.opam/4.14/lib/ppx_expect/config_types/expect_test_config_types.cmxa /home/opam/.opam/4.14/lib/ppx_expect/collector/expect_test_collector.cmxa -I /home/opam/.opam/4.14/lib/ppx_expect/collector /home/opam/.opam/4.14/lib/ppx_expect/config/expect_test_config.cmxa /home/opam/.opam/4.14/lib/splittable_random/splittable_random.cmxa /home/opam/.opam/4.14/lib/base_quickcheck/base_quickcheck.cmxa /home/opam/.opam/4.14/lib/base_bigstring/base_bigstring.cmxa -I /home/opam/.opam/4.14/lib/base_bigstring /home/opam/.opam/4.14/lib/core_kernel/base_for_tests/base_for_tests.cmxa /home/opam/.opam/4.14/lib/ocaml/bigarray.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/parsexp/parsexp.cmxa /home/opam/.opam/4.14/lib/sexplib/sexplib.cmxa /home/opam/.opam/4.14/lib/core_kernel/core_kernel.cmxa -I /home/opam/.opam/4.14/lib/core_kernel /home/opam/.opam/4.14/lib/core_kernel/moption/moption.cmxa /home/opam/.opam/4.14/lib/core_kernel/tuple_pool/tuple_pool.cmxa /home/opam/.opam/4.14/lib/core_kernel/pairing_heap/pairing_heap.cmxa /home/opam/.opam/4.14/lib/core_kernel/sexp_hidden_in_test/sexp_hidden_in_test.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_pool_cpu_affinity/thread_pool_cpu_affinity.cmxa /home/opam/.opam/4.14/lib/core_kernel/uopt/uopt.cmxa /home/opam/.opam/4.14/lib/core_kernel/thread_safe_queue/thread_safe_queue.cmxa /home/opam/.opam/4.14/lib/core_kernel/timing_wheel/timing_wheel.cmxa /home/opam/.opam/4.14/lib/async_kernel/async_kernel.cmxa /home/opam/.opam/4.14/lib/ocaml/threads/threads.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/core/error_checking_mutex/error_checking_mutex.cmxa -I /home/opam/.opam/4.14/lib/core/error_checking_mutex /home/opam/.opam/4.14/lib/core_kernel/caml_unix/caml_unix.cmxa /home/opam/.opam/4.14/lib/core_kernel/flags/flags.cmxa /home/opam/.opam/4.14/lib/core_kernel/version_util/version_util.cmxa -I /home/opam/.opam/4.14/lib/core_kernel/version_util /home/opam/.opam/4.14/lib/sexplib/unix/sexplib_unix.cmxa /home/opam/.opam/4.14/lib/spawn/spawn.cmxa -I /home/opam/.opam/4.14/lib/spawn /home/opam/.opam/4.14/lib/timezone/timezone.cmxa /home/opam/.opam/4.14/lib/core/core.cmxa -I /home/opam/.opam/4.14/lib/core /home/opam/.opam/4.14/lib/core/bigstring_unix/bigstring_unix.cmxa -I /home/opam/.opam/4.14/lib/core/bigstring_unix /home/opam/.opam/4.14/lib/core_kernel/bounded_int_table/bounded_int_table.cmxa /home/opam/.opam/4.14/lib/core_kernel/iobuf/iobuf.cmxa /home/opam/.opam/4.14/lib/core/iobuf_unix/iobuf_unix.cmxa -I /home/opam/.opam/4.14/lib/core/iobuf_unix /home/opam/.opam/4.14/lib/core/nano_mutex/nano_mutex.cmxa /home/opam/.opam/4.14/lib/core/squeue/squeue.cmxa /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.cmxa -I /home/opam/.opam/4.14/lib/core/linux_ext /home/opam/.opam/4.14/lib/async_unix/thread_safe_ivar/thread_safe_ivar.cmxa /home/opam/.opam/4.14/lib/async_unix/thread_pool/thread_pool.cmxa /home/opam/.opam/4.14/lib/core/time_stamp_counter/time_stamp_counter.cmxa -I /home/opam/.opam/4.14/lib/core/time_stamp_counter /home/opam/.opam/4.14/lib/core_kernel/uuid/uuid.cmxa /home/opam/.opam/4.14/lib/core/uuid/uuid_unix.cmxa /home/opam/.opam/4.14/lib/async_unix/async_unix.cmxa -I /home/opam/.opam/4.14/lib/async_unix /home/opam/.opam/4.14/lib/alcotest-async/alcotest_async.cmxa /home/opam/.opam/4.14/lib/freetds/freetds.cmxa -I /home/opam/.opam/4.14/lib/freetds /home/opam/.opam/4.14/lib/iter/iter.cmxa /home/opam/.opam/4.14/lib/num/nums.cmxa -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/num /home/opam/.opam/4.14/lib/zarith/zarith.cmxa -I /home/opam/.opam/4.14/lib/zarith /home/opam/.opam/4.14/lib/zarith_stubs_js/zarith_stubs_js.cmxa /home/opam/.opam/4.14/lib/bignum/bigint/bigint.cmxa /home/opam/.opam/4.14/lib/bignum/bignum.cmxa /home/opam/.opam/4.14/lib/logs/logs.cmxa /home/opam/.opam/4.14/lib/text/text.cmxa -I /home/opam/.opam/4.14/lib/text src/mssql.cmxa test/.test_mssql.eobjs/native/test_mssql.cmx)
# /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__sched_setaffinity_this_thread_34496':
# /home/opam/.opam/4.14/.opam-switch/build/core.v0.14.1/_build/default/linux_ext/src/linux_ext.ml:697:(.text+0x4600): undefined reference to `core_unix_gettid'
# /usr/bin/ld: /home/opam/.opam/4.14/lib/core/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__1':
# :(.data+0x3b58): undefined reference to `core_unix_gettid'
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking (exit code 1)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mssql 2.2.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose mssql.2.2.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose mssql.2.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" != 'mssql.2.2.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-03-03 02:14.02: Job failed: Failed: Build failed
2026-03-03 02:14.02: Log analysis:
2026-03-03 02:14.02: >>> 
[ERROR] The compilation of mssql.2.2.0 failed at "dune build -p mssql -j 255 @install @runtest".
 (score = 20)
2026-03-03 02:14.02: >>> 
# collect2: error: ld returned 1 exit status
 (score = 30)
2026-03-03 02:14.02: >>> 
# Error: Error during linking (exit code 1)
 (score = 48)
2026-03-03 02:14.02: >>> 
[ERROR] The compilation of mssql.2.2.0 failed at "dune build -p mssql -j 255 @install @runtest".
 (score = 20)
2026-03-03 02:14.02: >>> 
# collect2: error: ld returned 1 exit status
 (score = 30)
2026-03-03 02:14.02: >>> 
# Error: Error during linking (exit code 1)
 (score = 48)
2026-03-03 02:14.02: Error during linking (exit code 1)