(for PR #28222)
2025-08-21 14:28.35: New job: test caqti-lwt.2.0.1 with lwt.6.0.0~alpha01, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0) on debian-12-ocaml-5.3/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/28222/head" && git reset --hard a14b2680 git fetch origin master git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.3 /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 lwt.6.0.0~alpha01 6.0.0~alpha01 RUN opam reinstall lwt.6.0.0~alpha01; \ 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-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'lwt.6.0.0~alpha01' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 RUN opam reinstall caqti-lwt.2.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-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'caqti-lwt.2.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 caqti-lwt.2.0.1) || true RUN opam reinstall --with-test --verbose caqti-lwt.2.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-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'caqti-lwt.2.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 . 2025-08-21 14:28.35: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da-lwt.6.0.0~alpha01-caqti-lwt.2.0.1-a14b2680809606d7e55ae7ed410b73438cb77bd0" 2025-08-21 14:28.35: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 lwt.6.0.0~alpha01 6.0.0~alpha01")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall lwt.6.0.0~alpha01;\ \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-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'lwt.6.0.0~alpha01' && 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 caqti-lwt.2.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-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'caqti-lwt.2.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 caqti-lwt.2.0.1) || true")) (run (shell "opam reinstall --with-test --verbose caqti-lwt.2.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-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'caqti-lwt.2.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")) ) 2025-08-21 14:28.35: Waiting for resource in pool OCluster 2025-08-21 14:44.21: Waiting for worker… 2025-08-21 14:46.21: Got resource from pool OCluster Building on phoebe All commits already cached Updating files: 94% (17045/18065) Updating files: 95% (17162/18065) Updating files: 96% (17343/18065) Updating files: 97% (17524/18065) Updating files: 98% (17704/18065) Updating files: 99% (17885/18065) Updating files: 100% (18065/18065) Updating files: 100% (18065/18065), done. HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds Merge made by the 'ort' strategy. packages/curl_lwt/curl_lwt.0.10.0/opam | 2 +- packages/lwt/lwt.6.0.0~alpha01/opam | 69 +++++++++++++++++++++++ packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++ packages/lwt_glib/lwt_glib.1.0.1/opam | 2 +- packages/lwt_glib/lwt_glib.1.1.0/opam | 2 +- packages/lwt_glib/lwt_glib.1.1.1/opam | 2 +- packages/lwt_log/lwt_log.1.1.0/opam | 2 +- packages/lwt_log/lwt_log.1.1.1/opam | 2 +- packages/lwt_log/lwt_log.1.1.2/opam | 2 +- packages/ocurl/ocurl.0.7.6/opam | 1 + packages/ocurl/ocurl.0.7.7/opam | 1 + packages/ocurl/ocurl.0.7.8/opam | 1 + packages/ocurl/ocurl.0.7.9/opam | 1 + packages/ocurl/ocurl.0.8.1/opam | 1 + packages/ocurl/ocurl.0.8.2/opam | 1 + packages/ocurl/ocurl.0.9.0/opam | 1 + packages/ocurl/ocurl.0.9.1/opam | 1 + packages/ocurl/ocurl.0.9.2/opam | 1 + 18 files changed, 129 insertions(+), 7 deletions(-) create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam (from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da) Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da' locally docker.io/ocaml/opam@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da: Pulling from ocaml/opam b31a88391c64: Already exists Digest: sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da Status: Downloaded newer image for ocaml/opam@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da 2025-08-21 14:46.35 ---> using "7b3e7b3709bbd37e599e66041e6848f5fe2736f92dc6c0cdd0ce7e7e3b68a5fe" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-08-21 14:46.35 ---> using "fdb2f3150c6149944c5fb21481d03894b2a1eb858b0e57dd2c9a75abe976a37d" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-08-21 14:46.35 ---> using "17e4912cc343bf9d6e06e48e9e9351b5dc4e90574d8d51e624e13d87c1256c34" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724) # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=12 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-08-21 14:46.35 ---> using "6706a07cda0f456729fd8ea317c1b2e469be2575c65745711a34e940deb30914" 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/")) 2025-08-21 14:46.35 ---> using "446e092e760c930913d6e325d53ad558bf56968ae9672a6e786f97fb5382a4a2" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-08-21 14:46.37 ---> using "e2d8033e36d0fb3ddcd7c5ffe7ca15b94d06ebe44acbaee74a0996ef8753f31d" from cache /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-08-21 14:46.37 ---> using "102a3119b01dda2f8e376fe34bff237f44bca320d513614a9a351f4b25965402" 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 bookworm InRelease - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB] - Fetched 378 kB in 0s (905 kB/s) - Reading package lists... - 2025-08-21 14:46.37 ---> using "24d874fb0411c6b2f2d4776fdc89242207712820407a8f30cf172d2fdb697872" from cache /home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01")) lwt is now pinned to version 6.0.0~alpha01 2025-08-21 14:46.37 ---> using "6ab5442de9272c0f0db61129d10e60bfa1be8d0f95173d943f2d541603c9d186" from cache /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall lwt.6.0.0~alpha01;\ \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-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'lwt.6.0.0~alpha01' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) lwt.6.0.0~alpha01 is not installed. Install it? [y/n] y The following actions will be performed: === install 9 packages - install base-bytes base [required by ocplib-endian] - install cppo 1.8.0 [required by lwt] - install csexp 1.5.2 [required by dune-configurator] - install domain_shims 0.1.0 [required by lwt] - install dune 3.20.0 [required by lwt] - install dune-configurator 3.20.0 [required by lwt] - install lwt 6.0.0~alpha01 (pinned) - install ocamlfind 1.9.8 [required by base-bytes] - install ocplib-endian 1.2 [required by lwt] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved domain_shims.0.1.0 (cached) -> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached) -> retrieved lwt.6.0.0~alpha01 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed dune.3.20.0 -> installed domain_shims.0.1.0 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed ocplib-endian.1.2 -> installed dune-configurator.3.20.0 -> installed lwt.6.0.0~alpha01 Done. # To update the current shell environment, run: eval $(opam env) 2025-08-21 14:46.37 ---> using "934ae348bdb4eb1a3fa9f44645715c7fa3377f89d2dc4f3d2bd34a7121234837" from cache /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall caqti-lwt.2.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-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'caqti-lwt.2.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")) caqti-lwt.2.0.1 is not installed. Install it? [y/n] y The following actions will be performed: === install 16 packages - install angstrom 0.16.1 [required by caqti] - install bigstringaf 0.10.0 [required by caqti] - install caqti 2.0.1 [required by caqti-lwt] - install caqti-lwt 2.0.1 - install domain-name 0.4.1 [required by caqti] - install ipaddr 5.6.1 [required by caqti] - install logs 0.9.0 [required by caqti-lwt] - install lwt-dllist 1.1.0 [required by caqti] - install macaddr 5.6.1 [required by ipaddr] - install mtime 2.1.0 [required by caqti-lwt] - install ocaml-syntax-shims 1.0.0 [required by angstrom] - install ocamlbuild 0.16.1 [required by mtime, logs, ptime] - install ptime 1.2.0 [required by caqti] - install stringext 1.6.0 [required by uri] - install topkg 1.1.0 [required by mtime, logs, ptime] - install uri 4.4.0 [required by caqti] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved angstrom.0.16.1 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved caqti.2.0.1, caqti-lwt.2.0.1 (cached) -> retrieved domain-name.0.4.1 (cached) -> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached) -> retrieved logs.0.9.0 (cached) -> retrieved lwt-dllist.1.1.0 (cached) -> retrieved mtime.2.1.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ptime.1.2.0 (cached) -> retrieved stringext.1.6.0 (cached) -> retrieved topkg.1.1.0 (cached) -> installed lwt-dllist.1.1.0 -> installed domain-name.0.4.1 -> retrieved uri.4.4.0 (cached) -> installed bigstringaf.0.10.0 -> installed macaddr.5.6.1 -> installed stringext.1.6.0 -> installed ipaddr.5.6.1 -> installed ocaml-syntax-shims.1.0.0 -> installed angstrom.0.16.1 -> installed uri.4.4.0 -> installed ocamlbuild.0.16.1 -> installed topkg.1.1.0 -> installed logs.0.9.0 -> installed mtime.2.1.0 -> installed ptime.1.2.0 -> installed caqti.2.0.1 [ERROR] The compilation of caqti-lwt.2.0.1 failed at "dune build -p caqti-lwt -j 71". #=== ERROR while compiling caqti-lwt.2.0.1 ====================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository # path ~/.opam/5.3/.opam-switch/build/caqti-lwt.2.0.1 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p caqti-lwt -j 71 # exit-code 1 # env-file ~/.opam/log/caqti-lwt-7-e2e246.env # output-file ~/.opam/log/caqti-lwt-7-e2e246.out ### output ### # (cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte -I /home/opam/.opam/5.3/lib/angstrom -I /home/opam/.opam/5.3/lib/bigstringaf -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/caqti -I /home/opam/.opam/5.3/lib/caqti/platform -I /home/opam/.opam/5.3/lib/caqti/platform/unix -I /home/opam/.opam/5.3/lib/domain-name -I /home/opam/.opam/5.3/lib/domain_shims -I /home/opam/.opam/5.3/lib/ipaddr -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/lwt -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt-dllist -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/macaddr -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ocplib-endian -I /home/opam/.opam/5.3/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.3/lib/ptime -I /home/opam/.opam/5.3/lib/stringext -I /home/opam/.opam/5.3/lib/uri -I caqti-lwt/lib/.caqti_lwt.objs/byte -cmi-file caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmi -no-alias-deps -open Caqti_lwt_unix__ -o caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmo -c -impl caqti-lwt/lib-unix/caqti_lwt_unix.ml) # File "caqti-lwt/lib-unix/caqti_lwt_unix.ml", line 23, characters 16-77: # 23 | module Loader = Caqti_platform_unix.Driver_loader.Make (System) (System_unix) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed. # These arguments: # System Caqti_lwt_unix__.System_unix # do not match these parameters: # (System : Caqti_platform.System_sig.S) (System_unix : $T2) -> ... # 1. Module System matches the expected module type Caqti_platform.System_sig.S # 2. Modules do not match: # Caqti_lwt_unix__.System_unix : # sig # module Preemptive = Lwt_preemptive # module Unix = Caqti_lwt_unix__System_unix.Unix # end # is not included in # $T2 = # sig # module Unix : # sig # type file_descr # val wrap_fd : # (file_descr -> 'a System.Fiber.t) -> # Unix.file_descr -> 'a System.Fiber.t # val poll : # stdenv:System.stdenv -> # ?read:bool -> # ?write:bool -> # ?timeout:float -> # file_descr -> (bool * bool * bool) System.Fiber.t # end # module Preemptive : # sig # val detach : ('a -> 'b) -> 'a -> 'b System.Fiber.t # val run_in_main : (unit -> 'a System.Fiber.t) -> 'a # end # end # ... In module "Preemptive": # The value "run_in_main" is required but not provided # File "caqti/lib-platform-unix/driver_loader.mli", lines 43-45, characters 19-39: # Expected declaration # (cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -40 -g -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte -I caqti-lwt/lib-unix/.caqti_lwt_unix.objs/native -I /home/opam/.opam/5.3/lib/angstrom -I /home/opam/.opam/5.3/lib/bigstringaf -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/caqti -I /home/opam/.opam/5.3/lib/caqti/platform -I /home/opam/.opam/5.3/lib/caqti/platform/unix -I /home/opam/.opam/5.3/lib/domain-name -I /home/opam/.opam/5.3/lib/domain_shims -I /home/opam/.opam/5.3/lib/ipaddr -I /home/opam/.opam/5.3/lib/logs -I /home/opam/.opam/5.3/lib/logs/lwt -I /home/opam/.opam/5.3/lib/lwt -I /home/opam/.opam/5.3/lib/lwt-dllist -I /home/opam/.opam/5.3/lib/lwt/unix -I /home/opam/.opam/5.3/lib/macaddr -I /home/opam/.opam/5.3/lib/mtime -I /home/opam/.opam/5.3/lib/mtime/clock -I /home/opam/.opam/5.3/lib/ocaml/threads -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ocplib-endian -I /home/opam/.opam/5.3/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.3/lib/ptime -I /home/opam/.opam/5.3/lib/stringext -I /home/opam/.opam/5.3/lib/uri -I caqti-lwt/lib/.caqti_lwt.objs/byte -I caqti-lwt/lib/.caqti_lwt.objs/native -cmi-file caqti-lwt/lib-unix/.caqti_lwt_unix.objs/byte/caqti_lwt_unix.cmi -no-alias-deps -open Caqti_lwt_unix__ -o caqti-lwt/lib-unix/.caqti_lwt_unix.objs/native/caqti_lwt_unix.cmx -c -impl caqti-lwt/lib-unix/caqti_lwt_unix.ml) # File "caqti-lwt/lib-unix/caqti_lwt_unix.ml", line 23, characters 16-77: # 23 | module Loader = Caqti_platform_unix.Driver_loader.Make (System) (System_unix) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed. # These arguments: # System Caqti_lwt_unix__.System_unix # do not match these parameters: # (System : Caqti_platform.System_sig.S) (System_unix : $T2) -> ... # 1. Module System matches the expected module type Caqti_platform.System_sig.S # 2. Modules do not match: # Caqti_lwt_unix__.System_unix : # sig # module Preemptive = Lwt_preemptive # module Unix = Caqti_lwt_unix__System_unix.Unix # end # is not included in # $T2 = # sig # module Unix : # sig # type file_descr # val wrap_fd : # (file_descr -> 'a System.Fiber.t) -> # Unix.file_descr -> 'a System.Fiber.t # val poll : # stdenv:System.stdenv -> # ?read:bool -> # ?write:bool -> # ?timeout:float -> # file_descr -> (bool * bool * bool) System.Fiber.t # end # module Preemptive : # sig # val detach : ('a -> 'b) -> 'a -> 'b System.Fiber.t # val run_in_main : (unit -> 'a System.Fiber.t) -> 'a # end # end # ... In module "Preemptive": # The value "run_in_main" is required but not provided # File "caqti/lib-platform-unix/driver_loader.mli", lines 43-45, characters 19-39: # Expected declaration <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build caqti-lwt 2.0.1 +- +- The following changes have been performed | - install angstrom 0.16.1 | - install bigstringaf 0.10.0 | - install caqti 2.0.1 | - install domain-name 0.4.1 | - install ipaddr 5.6.1 | - install logs 0.9.0 | - install lwt-dllist 1.1.0 | - install macaddr 5.6.1 | - install mtime 2.1.0 | - install ocaml-syntax-shims 1.0.0 | - install ocamlbuild 0.16.1 | - install ptime 1.2.0 | - install stringext 1.6.0 | - install topkg 1.1.0 | - install uri 4.4.0 +- # 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/5.3/.opam-switch/backup/state-20250821144637.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 caqti-lwt.2.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-12\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'caqti-lwt.2.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 2025-08-21 14:48.05: Job failed: Failed: Build failed 2025-08-21 14:48.05: Log analysis: 2025-08-21 14:48.05: >>> [ERROR] The compilation of caqti-lwt.2.0.1 failed at "dune build -p caqti-lwt -j 71". (score = 20) 2025-08-21 14:48.05: >>> # Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed. (score = 48) 2025-08-21 14:48.05: >>> # Error: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed. (score = 48) 2025-08-21 14:48.05: This application of the functor "Caqti_platform_unix.Driver_loader.Make" is ill-typed.