Building on doris.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 0edddaa103ac: Pulling fs layer 0edddaa103ac: Verifying Checksum 0edddaa103ac: Download complete 0edddaa103ac: Pull complete Digest: sha256:97e6d73dd518b0e2c0d4d9e4c6acfe110be57a8c0518b1067c0698bfc6ddc0d6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-08 09:10.37 ---> 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-08 09:10.37 ---> 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 d87296a7b656d47b7042e7e608a5fa863b3a51f9")) 2025-02-08 09:10.37 ---> using "cc1ed69ecb833da04281a4f8a25977e86e869debb3dd684deaa27a7c3be1d0d2" 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-08 09:10.37 ---> using "f5e09d6e59ffa701af535e5d56b82c13bc5405c8613f86e4fe31b897c2a2fd97" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.13' '4.13.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.13.1"} | "ocaml-system" {= "4.13.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.13.1 (cached) -> installed ocaml-base-compiler.4.13.1 -> installed ocaml-config.2 -> installed ocaml.4.13.1 Done. # To update the current shell environment, run: eval $(opam env --switch=4.13) 2025-02-08 09:10.37 ---> using "f8a8654c645a6a70b1fcfab88dc4d9b3a899fc6fe3dda5670b932c74785e5b43" 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-07-2039.17-F-2025-02-07-1431.11.pdiff [51.0 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-07-2039.17-F-2025-02-07-1431.11.pdiff [51.0 kB] - Fetched 320 kB in 2s (208 kB/s) - Reading package lists... - 2025-02-08 09:10.37 ---> using "a14d34f2db900ba2c3594dc0e8f6f5f9361a35fa5ef8dbcebb15367de051c18b" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"gdal.0.10.0\"\ \nopam install -vy \"gdal.0.10.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"gdal.0.10.0\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) Nothing to do. [NOTE] gdal.0.10.0 is not installed. The following actions will be performed: === install 12 packages - install bigarray-compat 1.1.0 [required by ctypes] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install conf-pkg-config 4 [required by ctypes-foreign] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by gdal] - install ctypes-foreign 0.23.0 [required by gdal] - install dune 3.17.2 [required by ctypes, ctypes-foreign] - install dune-configurator 3.17.2 [required by ctypes, ctypes-foreign] - install gdal 0.10.0 - install integers 0.7.0 [required by ctypes] - install jbuilder 1.0+beta20.2 (deprecated) [required by gdal] - install stdlib-shims 0.3.0 [required by integers] The following system packages will first need to be installed: libffi-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - Selecting previously unselected package libffi-dev:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19829 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.6-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.6-1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up libffi-dev:amd64 (3.4.6-1) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.40-6) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/34: [bigarray-compat.1.1.0: extract] Processing 2/34: [bigarray-compat.1.1.0: extract] Processing 3/34: [bigarray-compat.1.1.0: extract] Processing 4/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 5/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] Processing 6/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 6/34: [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [conf-pkg-config: pkg-config] Processing 7/34: [csexp.1.5.2: extract] [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.2 (cached) Processing 7/34: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [conf-pkg-config: pkg-config] Processing 8/34: [ctypes.0.23.0, ctypes-foreign.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [conf-pkg-config: pkg-config] -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) Processing 8/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [conf-pkg-config: pkg-config] Processing 9/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [integers.0.7.0: extract] [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.13/.opam-switch/build/conf-pkg-config.4) - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.4 Processing 9/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [integers.0.7.0: extract] -> installed conf-pkg-config.4 Processing 10/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [integers.0.7.0: extract] Processing 11/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [gdal.0.10.0: extract] [integers.0.7.0: extract] [conf-libffi: pkg-config libffi] -> retrieved gdal.0.10.0 (cached) Processing 11/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [conf-libffi: pkg-config libffi] Processing 12/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [jbuilder.1.0+beta20.2: extract] [conf-libffi: pkg-config libffi] -> retrieved integers.0.7.0 (cached) Processing 12/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder.1.0+beta20.2: extract] [conf-libffi: pkg-config libffi] Processing 13/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder.1.0+beta20.2: extract] [stdlib-shims.0.3.0: extract] [conf-libffi: pkg-config libffi] -> retrieved stdlib-shims.0.3.0 (cached) Processing 13/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder.1.0+beta20.2: extract] [conf-libffi: pkg-config libffi] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "libffi" (CWD=/home/opam/.opam/4.13/.opam-switch/build/conf-libffi.2.0.0) -> compiled conf-libffi.2.0.0 Processing 13/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder.1.0+beta20.2: extract] -> installed conf-libffi.2.0.0 Processing 14/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder.1.0+beta20.2: extract] -> retrieved jbuilder.1.0+beta20.2 (cached) Processing 14/34: [dune.3.17.2, dune-configurator.3.17.2: extract] Processing 15/34: [dune.3.17.2, dune-configurator.3.17.2: extract] [jbuilder: ocaml configure.ml] -> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached) Processing 15/34: [jbuilder: ocaml configure.ml] Processing 16/34: [dune: ocaml 255] [jbuilder: ocaml configure.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "configure.ml" "--libdir" "/home/opam/.opam/4.13/lib" (CWD=/home/opam/.opam/4.13/.opam-switch/build/jbuilder.1.0+beta20.2) Processing 16/34: [dune: ocaml 255] [jbuilder: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" (CWD=/home/opam/.opam/4.13/.opam-switch/build/jbuilder.1.0+beta20.2) - File "./bootstrap.ml", line 185, characters 29-41: - 185 | let base, ext = String.break base i in - ^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label pos was omitted in the application of this function. - File "./bootstrap.ml", line 190, characters 28-40: - 190 | let a, b = String.break ext i in - ^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label pos was omitted in the application of this function. - '/home/opam/.opam/4.13/bin/ocamllex.opt' -q src/meta_lexer.mll - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/config.ml src/context.ml src/dep_path.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/interned.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/per_item.ml src/preprocessing.ml src/print_diff.ml src/process.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/sexp.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/variant.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/hashtbl.ml src/stdune/import.ml src/stdune/int.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/staged.ml src/stdune/string.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt - '/home/opam/.opam/4.13/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml - File "src/stdune/caml/result.ml", line 4, characters 7-17: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "src/stdune/caml/result.mli", line 6, characters 7-17: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "src/stdune/pp.ml", line 98, characters 7-18: - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/stdune/io.ml", line 1, characters 11-21: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "src/usexp/usexp.ml", line 209, characters 15-52: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/colors.ml", line 105, characters 18-48: - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - File "src/super_context.ml", line 72, characters 7-11: - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. Processing 16/34: [dune: ocaml 255] [jbuilder: ./boot.exe 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./boot.exe" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/jbuilder.1.0+beta20.2) - ocamlc src/stdune/caml/.caml.objs/caml__Result.{cmi,cmti} - File "src/stdune/caml/result.mli", line 6, characters 7-17: - 6 | open Pervasives - ^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - ocamlopt src/stdune/caml/.caml.objs/caml__Result.{cmx,o} - File "src/stdune/caml/result.ml", line 4, characters 7-17: - 4 | open Pervasives - ^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - ocamlopt src/stdune/.stdune.objs/stdune__Io.{cmx,o} - File "src/stdune/io.ml", line 1, characters 11-21: - 1 | module P = Pervasives - ^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - ocamlopt src/stdune/.stdune.objs/stdune__Pp.{cmx,o} - File "src/stdune/pp.ml", line 98, characters 7-18: - 98 | pp_open_tag ppf (embed_tag ~opening ~closing); - ^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_open_tag - Use Format.pp_open_stag. - File "src/stdune/pp.ml", line 100, characters 7-19: - 100 | pp_close_tag ppf () - ^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_close_tag - Use Format.pp_close_stag. - File "src/stdune/pp.ml", line 103, characters 18-48: - 103 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/stdune/pp.ml", line 105, characters 6-36: - 105 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/usexp/.usexp.objs/usexp.{cmx,o} - File "src/usexp/usexp.ml", line 209, characters 15-52: - 209 | let tfuncs = Format.pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/usexp/usexp.ml", line 210, characters 2-39: - 210 | Format.pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Colors.{cmx,o} - File "src/colors.ml", line 105, characters 18-48: - 105 | let funcs = pp_get_formatter_tag_functions ppf () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions - Use Format.pp_get_formatter_stag_functions. - File "src/colors.ml", line 107, characters 6-36: - 107 | pp_set_formatter_tag_functions ppf - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions - This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. - ocamlopt src/.jbuilder.objs/jbuilder__Super_context.{cmx,o} - File "src/super_context.ml", line 72, characters 7-11: - 72 | ?host - ^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. -> compiled jbuilder.1.0+beta20.2 Processing 16/34: [dune: ocaml 255] -> installed jbuilder.1.0+beta20.2 Processing 17/34: [dune: ocaml 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.17.2) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 255 - Processing 17/34: [dune: ./_boot/dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.17.2) -> compiled dune.3.17.2 -> installed dune.3.17.2 Processing 19/34: [bigarray-compat: dune build] Processing 20/34: [bigarray-compat: dune build] [csexp: dune build] Processing 21/34: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 21/34: [bigarray-compat: dune build] [csexp: dune build] -> installed stdlib-shims.0.3.0 Processing 22/34: [bigarray-compat: dune build] [csexp: dune build] Processing 23/34: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 23/34: [bigarray-compat: dune build] [integers: dune build] -> installed csexp.1.5.2 Processing 24/34: [bigarray-compat: dune build] [integers: dune build] Processing 25/34: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 25/34: [dune-configurator: rm] [integers: dune build] -> installed bigarray-compat.1.1.0 Processing 26/34: [dune-configurator: rm] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 26/34: [dune-configurator: rm] -> installed integers.0.7.0 Processing 27/34: [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune-configurator.3.17.2) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune-configurator.3.17.2) Processing 27/34: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune-configurator.3.17.2) -> compiled dune-configurator.3.17.2 -> installed dune-configurator.3.17.2 Processing 29/34: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ctypes.0.23.0) - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -g -I src/ctypes-top/.ctypes_top.objs/byte -I src/ctypes-top/.ctypes_top.objs/native -I /home/opam/.opam/4.13/lib/bigarray-compat -I /home/opam/.opam/4.13/lib/integers -I /home/opam/.opam/4.13/lib/ocaml/compiler-libs -I /home/opam/.opam/4.13/lib/stdlib-shims -I src/ctypes/.ctypes.objs/byte -I src/ctypes/.ctypes.objs/native -intf-suffix .ml -no-alias-deps -open Ctypes_top -o src/ctypes-top/.ctypes_top.objs/native/ctypes_top__Install_ctypes_printers.cmx -c -impl src/ctypes-top/install_ctypes_printers.ml) - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque Processing 29/34: [ctypes: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 31/34: [ctypes-foreign: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes-foreign" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ctypes-foreign.0.23.0) Processing 31/34: [ctypes-foreign: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes-foreign" "--create-install-files" "ctypes-foreign" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ctypes-foreign.0.23.0) -> compiled ctypes-foreign.0.23.0 -> installed ctypes-foreign.0.23.0 Processing 33/34: [gdal: jbuilder build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "jbuilder" "build" "-p" "gdal" "-j" "255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/gdal.0.10.0) - ocamlc src/.gdal.objs/gdal__Lib.{cmo,cmt} - File "src/lib.ml", line 68, characters 19-25: - 68 | let check_version ?caller ~major ~minor = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlopt src/.gdal.objs/gdal__Lib.{cmx,o} - File "src/lib.ml", line 68, characters 19-25: - 68 | let check_version ?caller ~major ~minor = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlc src/.gdal.objs/gdal__Band.{cmo,cmt} - File "src/band.ml", line 211, characters 11-23: - 211 | let copy ?(options = []) ~src:(s, _) ~dst:(d, _) = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlc src/.gdal.objs/gdal__Data_set.{cmo,cmt} - File "src/data_set.ml", line 152, characters 11-23: - 152 | let copy ?(options = []) ~src ~dst = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlc src/.gdal.objs/gdal__Alg.{cmo,cmt} - File "src/alg.ml", line 11, characters 16-28: - 11 | let proximity ?(options = []) ~src:(sc, _) ~test:(tc, _) = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlopt src/.gdal.objs/gdal__Band.{cmx,o} - File "src/band.ml", line 211, characters 11-23: - 211 | let copy ?(options = []) ~src:(s, _) ~dst:(d, _) = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlopt src/.gdal.objs/gdal__Data_set.{cmx,o} - File "src/data_set.ml", line 152, characters 11-23: - 152 | let copy ?(options = []) ~src ~dst = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - ocamlopt src/.gdal.objs/gdal__Alg.{cmx,o} - File "src/alg.ml", line 11, characters 16-28: - 11 | let proximity ?(options = []) ~src:(sc, _) ~test:(tc, _) = - ^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. -> compiled gdal.0.10.0 -> installed gdal.0.10.0 Done. <><> jbuilder.1.0+beta20.2 installed successfully <><><><><><><><><><><><><><><> => Note: This package is deprecated. # To update the current shell environment, run: eval $(opam env) 2025-02-08 09:11.22 ---> saved as "aa8589e4fbb34c963715ea59d6803309a304fd909f34487f5b96a29265a70559" Job succeeded