2025-09-29 11:33.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:debian-11-5.3_opam-2.4) Base: ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59 Opam project build To reproduce locally: git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard 042080ab cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59 # debian-11-5.3_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 mongoc.opam ./ RUN opam pin add -yn mongoc.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-09-29 11:33.29: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59-debian-11-5.3_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38" 2025-09-29 11:33.29: Using OBuilder spec: ((from ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59) (comment debian-11-5.3_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src mongoc.opam) (dst ./)) (run (network host) (shell "opam pin add -yn mongoc.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-09-29 11:33.29: Waiting for resource in pool OCluster 2025-09-29 12:03.53: Waiting for worker… 2025-09-29 12:06.39: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached HEAD is now at 042080a Merge pull request #2 from tarides/ci (from ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59) Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59' locally docker.io/ocaml/opam@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59: Pulling from ocaml/opam 2c9e44539430: Pulling fs layer 2c9e44539430: Verifying Checksum 2c9e44539430: Download complete 2c9e44539430: Pull complete Digest: sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59 Status: Downloaded newer image for ocaml/opam@sha256:2c3cc5332e0b6ff6d22748d5edb1ed50642e2a9afd3a22a3645bfb6420dcfc59 2025-09-29 12:06.39 ---> using "95fd9c8d298b084446e7fa98aad24b0467f972d0d7fc1b344d90cf07cc9b1dd5" from cache /: (comment debian-11-5.3_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) 2025-09-29 12:06.39 ---> using "f4b7ff632ef3e2f17b84c2f94c38b9732a45953ef3bf93fb0f456912a2bdbf2d" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then 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. Continue? [Y/n] y 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. [NOTE] The 'jobs' option was reset, its value was 255 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=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-09-29 12:06.39 ---> using "2085d12349566e802e7a9a256146242a2f2bda7d25ca6a814cbd17dd2c8eac07" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 5.3.0 2.4.1 2025-09-29 12:06.39 ---> using "ace289977fe450b6b78891a22eaf60d9752c756860d979a1eacdacf8e4d19089" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-09-29 12:06.39 ---> using "9b45b352fe1101087da571b67c1540c0885cade37240dfe5ebf71d6ad1fbd93a" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD bcac5d1731..5ea7156510 master -> origin/master dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Already up-to-date. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2025-09-29 12:06.39 ---> using "4b8df9a9358c91525d2741dadab1794a94c4ac6d8dbbbe31f1c230fceebd7c7a" from cache /src: (copy (src mongoc.opam) (dst ./)) 2025-09-29 12:06.40 ---> saved as "527674b25722394f76040c83a31e4d6fe14ada2a25420247b8682f1c4b50c1f3" /src: (run (network host) (shell "opam pin add -yn mongoc.dev './'")) [NOTE] Package mongoc does not exist in opam repositories registered in the current switch. [mongoc.dev] synchronised (file:///src) mongoc is now pinned to file:///src (version dev) 2025-09-29 12:06.42 ---> saved as "7148424354749ff8388023c03846c839752ea0ab4d121a3d4fdef97b6f6a4970" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-09-29 12:06.43 ---> saved as "30ba8e106efd62f78837abe0ea59f5b29b60e3f3926edc8e0f3181819faaab62" /src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bullseye InRelease - Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB] - Hit:3 http://deb.debian.org/debian bullseye-updates InRelease - Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [410 kB] - Fetched 437 kB in 1s (344 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [mongoc.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following system packages will first need to be installed: libbson-dev libmongoc-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libbson-dev" "libmongoc-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libbson-1.0-0. - (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 ... 18367 files and directories currently installed.) - Preparing to unpack .../00-libbson-1.0-0_1.17.6-1+deb11u1_amd64.deb ... - Unpacking libbson-1.0-0 (1.17.6-1+deb11u1) ... - Selecting previously unselected package libbson-dev. - Preparing to unpack .../01-libbson-dev_1.17.6-1+deb11u1_amd64.deb ... - Unpacking libbson-dev (1.17.6-1+deb11u1) ... - Selecting previously unselected package libglib2.0-0:amd64. - Preparing to unpack .../02-libglib2.0-0_2.66.8-1+deb11u6_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u6) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../03-libglib2.0-data_2.66.8-1+deb11u6_all.deb ... - Unpacking libglib2.0-data (2.66.8-1+deb11u6) ... - Selecting previously unselected package libicu67:amd64. - Preparing to unpack .../04-libicu67_67.1-7+deb11u1_amd64.deb ... - Unpacking libicu67:amd64 (67.1-7+deb11u1) ... - Selecting previously unselected package libmongocrypt0:amd64. - Preparing to unpack .../05-libmongocrypt0_1.1.0-1_amd64.deb ... - Unpacking libmongocrypt0:amd64 (1.1.0-1) ... - Selecting previously unselected package libsnappy1v5:amd64. - Preparing to unpack .../06-libsnappy1v5_1.1.8-1_amd64.deb ... - Unpacking libsnappy1v5:amd64 (1.1.8-1) ... - Selecting previously unselected package libmongoc-1.0-0. - Preparing to unpack .../07-libmongoc-1.0-0_1.17.6-1+deb11u1_amd64.deb ... - Unpacking libmongoc-1.0-0 (1.17.6-1+deb11u1) ... - Selecting previously unselected package libmongocrypt-dev:amd64. - Preparing to unpack .../08-libmongocrypt-dev_1.1.0-1_amd64.deb ... - Unpacking libmongocrypt-dev:amd64 (1.1.0-1) ... - Selecting previously unselected package libssl-dev:amd64. - Preparing to unpack .../09-libssl-dev_1.1.1w-0+deb11u3_amd64.deb ... - Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u3) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../10-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ... - Selecting previously unselected package libsnappy-dev:amd64. - Preparing to unpack .../11-libsnappy-dev_1.1.8-1_amd64.deb ... - Unpacking libsnappy-dev:amd64 (1.1.8-1) ... - Selecting previously unselected package libsasl2-dev. - Preparing to unpack .../12-libsasl2-dev_2.1.27+dfsg-2.1+deb11u1_amd64.deb ... - Unpacking libsasl2-dev (2.1.27+dfsg-2.1+deb11u1) ... - Selecting previously unselected package libmongoc-dev. - Preparing to unpack .../13-libmongoc-dev_1.17.6-1+deb11u1_amd64.deb ... - Unpacking libmongoc-dev (1.17.6-1+deb11u1) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../14-libxml2_2.9.10+dfsg-6.7+deb11u8_amd64.deb ... - Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u8) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../15-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../16-shared-mime-info_2.0-1_amd64.deb ... - Unpacking shared-mime-info (2.0-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../17-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu67:amd64 (67.1-7+deb11u1) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u6) ... - No schema files found: doing nothing. - Setting up libsnappy1v5:amd64 (1.1.8-1) ... - Setting up libsasl2-dev (2.1.27+dfsg-2.1+deb11u1) ... - Setting up libglib2.0-data (2.66.8-1+deb11u6) ... - Setting up libbson-1.0-0 (1.17.6-1+deb11u1) ... - Setting up libssl-dev:amd64 (1.1.1w-0+deb11u3) ... - Setting up pkg-config (0.29.2-1) ... - Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ... - Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u8) ... - Setting up libmongocrypt0:amd64 (1.1.0-1) ... - Setting up libbson-dev (1.17.6-1+deb11u1) ... - Setting up libsnappy-dev:amd64 (1.1.8-1) ... - Setting up libmongocrypt-dev:amd64 (1.1.0-1) ... - Setting up libmongoc-1.0-0 (1.17.6-1+deb11u1) ... - Setting up shared-mime-info (2.0-1) ... - Setting up libmongoc-dev (1.17.6-1+deb11u1) ... - Processing triggers for libc-bin (2.31-13+deb11u13) ... 2025-09-29 12:07.13 ---> saved as "d79e0b9cd50ff7bff43ad92875525e9cb0eb023c9a85a44f4f3dcd53466a73ad" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 9 packages - install bigarray-compat 1.1.0 - install cmdliner 2.0.0 - install conf-pkg-config 4 - install csexp 1.5.2 - install ctypes 0.23.0 - install dune 3.20.2 - install dune-configurator 3.20.2 - install integers 0.7.0 - install stdlib-shims 0.3.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved cmdliner.2.0.0 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-pkg-config.4 -> retrieved ctypes.0.23.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> installed cmdliner.2.0.0 -> installed dune.3.20.2 -> installed csexp.1.5.2 -> installed bigarray-compat.1.1.0 -> installed stdlib-shims.0.3.0 -> installed integers.0.7.0 -> installed dune-configurator.3.20.2 -> installed ctypes.0.23.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-09-29 12:09.10 ---> saved as "e4c727741a7c655a11482693bdb19f08468808d545f19316a8157df66c209321" /src: (copy (src .) (dst /src)) 2025-09-29 12:09.10 ---> saved as "e8cb3513f95fdd2c60051e4aed8b042b2231d24bd6de701ada28b1ced9efb256" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -I /home/opam/.opam/5.3/lib/ocaml -I /home/opam/.opam/5.3/lib/bigarray-compat -I /home/opam/.opam/5.3/lib/ctypes -I /home/opam/.opam/5.3/lib/ctypes/stubs -I /home/opam/.opam/5.3/lib/integers -I /home/opam/.opam/5.3/lib/ocaml/str -I /home/opam/.opam/5.3/lib/stdlib-shims -I bson -o libmongoc-1.0__c_cout_generated_functions__Function_description__Functions.o -c libmongoc-1.0__c_cout_generated_functions__Function_description__Functions.c) libmongoc-1.0__c_cout_generated_functions__Function_description__Functions.c: In function 'libmongoc_1_0_stubs_16_mongoc_client_new_from_uri_with_error': libmongoc-1.0__c_cout_generated_functions__Function_description__Functions.c:100:27: warning: implicit declaration of function 'mongoc_client_new_from_uri_with_error'; did you mean 'mongoc_client_new_from_uri'? [-Wimplicit-function-declaration] 100 | mongoc_client_t* x54 = mongoc_client_new_from_uri_with_error(x52, x53); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mongoc_client_new_from_uri libmongoc-1.0__c_cout_generated_functions__Function_description__Functions.c:100:27: warning: initialization of 'mongoc_client_t *' {aka 'struct _mongoc_client_t *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2025-09-29 12:09.16 ---> saved as "868d5c6cc3e6fe8a2cf732a0964e3091a0d3ef2722a1961465672e1473b495eb" Job succeeded 2025-09-29 12:09.16: Job succeeded