Building on x86-bm-c9.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 63563b31af74: Pulling fs layer 63563b31af74: Verifying Checksum 63563b31af74: Download complete 63563b31af74: Pull complete Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-21 14:59.54 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-21 14:59.54 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 4022a684b64be8161a05cf897f492f8680792469")) 2025-02-21 14:59.54 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-02-21 14:59.54 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-compiler.5.3.0 (cached) -> installed ocaml-compiler.5.3.0 -> installed ocaml-base-compiler.5.3.0 -> installed ocaml-config.3 -> installed ocaml.5.3.0 -> installed base-domains.base -> installed base-effects.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.3) 2025-02-21 14:59.54 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Fetched 654 kB in 3s (260 kB/s) - Reading package lists... - 2025-02-21 14:59.54 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.17.2 The following actions will be performed: === install 1 package - install dune 3.17.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.17.2 (cached) -> installed dune.3.17.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-21 14:59.54 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" from cache /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "curl -fsSL https://get.dune.build/install | sh")) #=#=# ##O#-# 0.1% 1.2% ## 3.1% ######### 12.7% ################## 26.1% ################################################################## 92.4% ######################################################################## 100.0% dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell) export PATH="/home/opam/.local/bin:$PATH" To get started, run: dune --help 2025-02-21 14:59.54 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\ \n(package\ \n (name dummy)\ \n (allow_empty true)\ \n (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Solution for dune.lock: - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-config.3 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 2025-02-21 14:59.54 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "cd $HOME && opam source azure-cosmos-db.0.2.4 && cd azure-cosmos-db.0.2.4 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\ \n(lock_dir\ \n (repositories overlay default ))\ \n\ \n(repository\ \n (name default)\ \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\ \n\ \n\ \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Successfully extracted to /home/opam/azure-cosmos-db.0.2.4 The following system packages will first need to be installed: libgmp-dev libssl-dev pkg-config zlib1g-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libssl-dev" "pkg-config" "zlib1g-dev" - Selecting previously unselected package libgmpxx4ldbl:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19826 files and directories currently installed.) - Preparing to unpack .../0-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 .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package libssl-dev:amd64. - Preparing to unpack .../3-libssl-dev_3.4.1-1_amd64.deb ... - Unpacking libssl-dev:amd64 (3.4.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../7-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ... - Setting up libssl-dev:amd64 (3.4.1-1) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ... - Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.40-7) ... Solution for dune.lock: - alcotest.1.8.0 - alcotest-lwt.1.8.0 - angstrom.0.16.1 - asn1-combinators.0.3.2 - astring.0.8.5 - atd.2.16.0 - atdgen.2.16.0 - atdgen-runtime.2.16.0 - base.v0.17.1 - base-bytes.base - base-threads.base - base-unix.base - base64.3.5.1 - bigstringaf.0.10.0 - biniou.1.2.2 - bisect_ppx.2.8.3 - bos.0.2.1 - ca-certs.1.0.0 - camlp-streams.5.0.1 - cmdliner.1.3.0 - cohttp.6.0.0 - cohttp-lwt.6.0.0 - cohttp-lwt-unix.6.0.0 - conduit.7.1.0 - conduit-lwt.7.1.0 - conduit-lwt-unix.7.1.0 - conf-gmp.4 - conf-gmp-powm-sec.3 - conf-libssl.4 - conf-pkg-config.4 - conf-zlib.1 - cppo.1.8.0 - cryptokit.1.20 - csexp.1.5.2 - digestif.1.2.0 - domain-name.0.4.1 - dune-configurator.3.17.2 - duration.0.2.1 - easy-format.1.3.4 - eqaf.0.10 - fmt.0.9.0 - fpath.0.7.3 - gmap.0.3.0 - http.6.0.0 - ipaddr.5.6.0 - ipaddr-sexp.5.6.0 - kdf.1.0.0 - logs.0.7.0 - lwt.5.9.0 - lwt_ppx.5.8.0 - lwt_ssl.1.2.0 - macaddr.5.6.0 - magic-mime.1.3.1 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - mirage-crypto.2.0.0 - mirage-crypto-ec.2.0.0 - mirage-crypto-pk.2.0.0 - mirage-crypto-rng.2.0.0 - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-compiler-libs.v0.17.0 - ocaml-config.3 - ocaml-syntax-shims.1.0.0 - ocaml_intrinsics_kernel.v0.17.1 - ocamlbuild.0.15.0+dune - ocamlfind.1.9.8+dune - ocplib-endian.1.2 - ohex.0.2.0 - ppx_derivers.1.2.1 - ppx_sexp_conv.v0.17.0 - ppxlib.0.35.0 - ppxlib_jane.v0.17.2 - ptime.1.2.0 - re.1.12.0 - rresult.0.7.0 - seq.base - sexplib0.v0.17.0 - ssl.0.7.0 - stdlib-shims.0.3.0 - stringext.1.6.0 - topkg.1.0.7 - uri.4.4.0 - uri-sexp.4.4.0 - uutf.1.0.3 - x509.1.0.5 - yojson.2.2.2 - zarith.1.14 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building base-unix.base Building base-threads.base Building ocaml-config.3 Building ocaml.5.3.0 Downloading ocamlfind.1.9.8+dune Building ocamlfind.1.9.8+dune Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading cppo.1.8.0 Downloading sexplib0.v0.17.0 Building cppo.1.8.0 Building sexplib0.v0.17.0 Downloading ocaml-compiler-libs.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading ppx_derivers.1.2.1 Building ppx_derivers.1.2.1 Downloading stdlib-shims.0.3.0 Building stdlib-shims.0.3.0 Downloading dune-configurator.3.17.2 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Building dune-configurator.3.17.2 Building base-bytes.base Downloading ocplib-endian.1.2 Building ocplib-endian.1.2 Downloading lwt.5.9.0 Building lwt.5.9.0 Downloading lwt_ppx.5.8.0 Building lwt_ppx.5.8.0 Building conf-pkg-config.4 Building conf-zlib.1 Building conf-gmp.4 Building conf-gmp-powm-sec.3 Downloading zarith.1.14 Building zarith.1.14 Downloading cryptokit.1.20 Building cryptokit.1.20 Downloading cmdliner.1.3.0 Building seq.base Building cmdliner.1.3.0 Building conf-libssl.4 Downloading stringext.1.6.0 Building stringext.1.6.0 Downloading bigstringaf.0.10.0 Building bigstringaf.0.10.0 Downloading ocaml_intrinsics_kernel.v0.17.1 Building ocaml_intrinsics_kernel.v0.17.1 Downloading ocamlbuild.0.15.0+dune Downloading ppxlib_jane.v0.17.2 Building ocamlbuild.0.15.0+dune Downloading eqaf.0.10 Building eqaf.0.10 Downloading base64.3.5.1 Building ppxlib_jane.v0.17.2 Downloading ocaml-syntax-shims.1.0.0 Building base64.3.5.1 Building ocaml-syntax-shims.1.0.0 Downloading ohex.0.2.0 Downloading magic-mime.1.3.1 Building ohex.0.2.0 Building magic-mime.1.3.1 Downloading http.6.0.0 Downloading domain-name.0.4.1 Building domain-name.0.4.1 Downloading macaddr.5.6.0 Building http.6.0.0 Building macaddr.5.6.0 Downloading duration.0.2.1 Building duration.0.2.1 Downloading gmap.0.3.0 Building gmap.0.3.0 Downloading re.1.12.0 Building re.1.12.0 Downloading ssl.0.7.0 Building ssl.0.7.0 Downloading ipaddr.5.6.0 Building ipaddr.5.6.0 Downloading base.v0.17.1 Building base.v0.17.1 Downloading digestif.1.2.0 Building digestif.1.2.0 Downloading angstrom.0.16.1 Building angstrom.0.16.1 Downloading mirage-crypto.2.0.0 Building mirage-crypto.2.0.0 Downloading lwt_ssl.1.2.0 Building lwt_ssl.1.2.0 Downloading uri.4.4.0 Building uri.4.4.0 Downloading kdf.1.0.0 Building kdf.1.0.0 Downloading topkg.1.0.7 Building topkg.1.0.7 Downloading ppx_sexp_conv.v0.17.0 Building ppx_sexp_conv.v0.17.0 Downloading rresult.0.7.0 Downloading astring.0.8.5 Building rresult.0.7.0 Downloading fmt.0.9.0 Downloading ptime.1.2.0 Building astring.0.8.5 Building fmt.0.9.0 Building ptime.1.2.0 Downloading uri-sexp.4.4.0 Downloading ipaddr-sexp.5.6.0 Building ipaddr-sexp.5.6.0 Building uri-sexp.4.4.0 Downloading logs.0.7.0 Building logs.0.7.0 Downloading fpath.0.7.3 Downloading asn1-combinators.0.3.2 Building fpath.0.7.3 Building asn1-combinators.0.3.2 Downloading cohttp.6.0.0 Downloading mirage-crypto-rng.2.0.0 Building mirage-crypto-rng.2.0.0 Downloading bos.0.2.1 Building bos.0.2.1 Building cohttp.6.0.0 Downloading conduit.7.1.0 Building conduit.7.1.0 Downloading mirage-crypto-pk.2.0.0 Downloading mirage-crypto-ec.2.0.0 Building mirage-crypto-pk.2.0.0 Building mirage-crypto-ec.2.0.0 Downloading conduit-lwt.7.1.0 Building conduit-lwt.7.1.0 Downloading cohttp-lwt.6.0.0 Building cohttp-lwt.6.0.0 Downloading x509.1.0.5 Building x509.1.0.5 Downloading ca-certs.1.0.0 Building ca-certs.1.0.0 Downloading conduit-lwt-unix.7.1.0 Building conduit-lwt-unix.7.1.0 Downloading cohttp-lwt-unix.6.0.0 Building cohttp-lwt-unix.6.0.0 Downloading bisect_ppx.2.8.3 Building bisect_ppx.2.8.3 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building menhirLib.20240715 Building menhirSdk.20240715 Downloading camlp-streams.5.0.1 Building camlp-streams.5.0.1 Building menhirCST.20240715 Downloading yojson.2.2.2 Building yojson.2.2.2 Downloading easy-format.1.3.4 Building easy-format.1.3.4 Downloading menhir.20240715 Building menhir.20240715 Downloading biniou.1.2.2 Building biniou.1.2.2 Downloading atdgen-runtime.2.16.0 Building atdgen-runtime.2.16.0 Downloading atd.2.16.0 Building atd.2.16.0 Downloading atdgen.2.16.0 Building atdgen.2.16.0 Downloading uutf.1.0.3 Building uutf.1.0.3 Downloading alcotest.1.8.0 Building alcotest.1.8.0 Downloading alcotest-lwt.1.8.0 Building alcotest-lwt.1.8.0 File "src/cosmos/dune", line 9, characters 2-8: 9 | atdgen ^^^^^^ Error: Library "atdgen" not found. -> required by library "azure-cosmos-db" in _build/default/src/cosmos -> required by _build/default/META.azure-cosmos-db -> required by alias all -> required by alias default File "src/app_config/dune", line 8, characters 2-8: 8 | atdgen ^^^^^^ Error: Library "atdgen" not found. -> required by library "azure-cosmos-db.app-config" in _build/default/src/app_config -> required by _build/default/META.azure-cosmos-db -> required by alias all -> required by alias default (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/utilities/.utilities.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Utilities__ -o src/utilities/.utilities.objs/byte/utilities.cmo -c -impl src/utilities/utilities.ml) File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/utilities/.utilities.objs/byte -I src/utilities/.utilities.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Utilities__ -o src/utilities/.utilities.objs/native/utilities.cmx -c -impl src/utilities/utilities.ml) File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). "/usr/bin/env" "bash" "-c" "cd $HOME && opam source azure-cosmos-db.0.2.4 && cd azure-cosmos-db.0.2.4 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17) (lock_dir (repositories overlay default )) (repository (name default) (url "git+https://github.com/ocaml/opam-repository.git")) ' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1 Failed: Build failed