Building on odawa
(from windows-server-2022-amd64-ocaml-5.3)
2025-02-20 02:55.13 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" 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 "ln -f /usr/bin/opam-dev.exe /usr/bin/opam.exe"))
2025-02-20 02:55.13 ---> using "75bf3fbea1cbc65a9803f40104651d67c546cddf5606f6a4af6db8fca92eb5c0" 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 3f0fbcdd62029a20e3cefc8ce578e605f3bf22f8"))
2025-02-20 02:55.13 ---> using "b628775080d1f0555d8129fd745da3cd0c6292160860d0a433253f1a04061e8d" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
User configuration:
Updating ~\.bash_profile.
[NOTE] Make sure that ~\.bash_profile is well sourced in your ~/.bashrc.
Added 9 lines after line 1 in ~\.bash_profile.
2025-02-20 02:55.13 ---> using "65b39dd6d3c272a23eb430545065d0229598b51d6d95b242a7edf8e2ee2c3b3a" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed arch-x86_64.1
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-mingw.1
-> retrieved flexdll.0.43 (cached)
-> retrieved ocaml-config.3 (cached)
-> installed flexdll.0.43
-> installed ocaml-options-vanilla.1
-> retrieved mingw-w64-shims.0.2.0 (cached)
-> installed conf-mingw-w64-gcc-x86_64.1
-> installed ocaml-env-mingw64.1
-> installed system-mingw.1
-> retrieved ocaml-compiler.5.3.0 (cached)
-> installed mingw-w64-shims.0.2.0
-> 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-20 02:55.13 ---> using "f101825e0af37ba61d52191bcafc7a9444e4b582332ab8bab8a287b5ecf3c810" from cache
/: (run (network host)
(shell "opam update --depexts"))
2025-02-20 02:55.13 ---> using "88496990939eb491a0eb4f61cbd78eabaed79203af420196dde58306264f4871" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "\
\nopam remove -y \"merlin.5.3~5.3preview\"\
\nopam install -vy \"merlin.5.3~5.3preview\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"merlin.5.3~5.3preview\" | grep -q '\"windows-server-2022-amd64-ocaml-5.3\"'; 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] merlin.5.3~5.3preview is not installed.
The following actions will be performed:
=== install 9 packages
- install csexp 1.5.2 [required by merlin-lib]
- install dot-merlin-reader 5.3~5.3preview [required by merlin]
- install dune 3.17.1 [required by merlin]
- install merlin 5.3~5.3preview
- install merlin-lib 5.3~5.3preview [required by merlin]
- install ocaml-index 1.1
- install ocamlfind 1.9.5 [required by dot-merlin-reader]
- install seq base [required by yojson]
- install yojson 2.2.2 [required by merlin]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/25: [csexp.1.5.2: extract]
Processing 2/25: [csexp.1.5.2: extract] [dot-merlin-reader.5.3~5.3preview, merlin.5.3~5.3preview, merlin-lib.5.3~5.3preview: http]
Processing 3/25: [csexp.1.5.2: extract] [dot-merlin-reader.5.3~5.3preview, merlin.5.3~5.3preview, merlin-lib.5.3~5.3preview: http] [dune.3.17.1: extract]
-> retrieved csexp.1.5.2 (cached)
Processing 3/25: [dot-merlin-reader.5.3~5.3preview, merlin.5.3~5.3preview, merlin-lib.5.3~5.3preview: http] [dune.3.17.1: extract]
Processing 4/25: [dot-merlin-reader.5.3~5.3preview, merlin.5.3~5.3preview, merlin-lib.5.3~5.3preview: http] [dune.3.17.1: extract] [ocaml-index.1.1: extract]
Processing 4/25: [dot-merlin-reader.5.3~5.3preview + 2 others: extract] [dune.3.17.1: extract] [ocaml-index.1.1: extract]
-> retrieved ocaml-index.1.1 (cached)
Processing 4/25: [dot-merlin-reader.5.3~5.3preview + 2 others: extract] [dune.3.17.1: extract]
Processing 5/25: [dot-merlin-reader.5.3~5.3preview + 2 others: extract] [dune.3.17.1: extract] [ocamlfind.1.9.5: extract]
-> retrieved dot-merlin-reader.5.3~5.3preview, merlin.5.3~5.3preview, merlin-lib.5.3~5.3preview (https://github.com/xvw/merlin/archive/3438e34a77bd1c3c7a10bffa0c45c419ff91286f.tar.gz)
Processing 5/25: [dune.3.17.1: extract] [ocamlfind.1.9.5: extract]
-> retrieved seq.base (cached)
Processing 6/25: [dune.3.17.1: extract] [ocamlfind.1.9.5: extract]
Processing 7/25: [dune.3.17.1: extract] [ocamlfind.1.9.5: extract] [yojson.2.2.2: extract]
Processing 8/25: [dune.3.17.1: extract] [ocamlfind.1.9.5: extract] [yojson.2.2.2: extract]
-> installed seq.base
Processing 9/25: [dune.3.17.1: extract] [ocamlfind.1.9.5: extract] [yojson.2.2.2: extract]
-> retrieved dune.3.17.1 (cached)
Processing 9/25: [ocamlfind.1.9.5: extract] [yojson.2.2.2: extract]
Processing 10/25: [ocamlfind.1.9.5: extract] [yojson.2.2.2: extract] [dune: ocaml 15]
-> retrieved ocamlfind.1.9.5 (cached)
Processing 10/25: [yojson.2.2.2: extract] [dune: ocaml 15]
[ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch
Processing 11/25: [yojson.2.2.2: extract] [dune: ocaml 15] [ocamlfind: patch]
-> retrieved yojson.2.2.2 (cached)
Processing 11/25: [dune: ocaml 15] [ocamlfind: patch]
Processing 11/25: [dune: ocaml 15] [ocamlfind: ./configure C:\Users\opam\AppData\Local\opam\5.3\bin]
+ C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5\./configure "-bindir" "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\bin" "-sitelib" "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\lib" "-mandir" "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\man" "-config" "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5)
- Welcome to findlib version 1.9.5
- Configuring core...
- Cygwin build environment found; using .exe as suffix for binaries
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found (in +unix)
- dynlink: found (in +dynlink)
- bigarray: not present (possible since 4.08)
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- runtime_events: found (in +runtime_events)
- str: found (in +str)
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for ocamldoc written to site-lib-src/ocamldoc/META
- Configuration for threads written to site-lib-src/threads/META
- Configuration for runtime_events written to site-lib-src/runtime_events/META
- Configuration for str written to site-lib-src/str/META
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
-
- About the OCAML core installation:
- Standard library: /cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml
- Binaries: /cygdrive/c/Users/opam/AppData/Local/opam/5.3/bin
- Manual pages: /usr/local/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: C:\Users\opam\AppData\Local\opam\5.3\lib
- The configuration file is written to:
- findlib config file: C:\Users\opam\AppData\Local\opam\5.3\lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: C:\Users\opam\AppData\Local\opam\5.3\bin
- Manual pages: C:\Users\opam\AppData\Local\opam\5.3\man
- topfind script: /cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml
- Topfind ppxopt support: yes
- Toolbox: no
- Link custom runtime: no
- Need bytes compatibility: no
-
- Configuration has been written to Makefile.config
-
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 11/25: [dune: ocaml 15] [ocamlfind: make all]
+ C:\cygwin64\bin\make.exe "all" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5)
- for p in findlib; do ( cd src/$p; /usr/bin/make all ) || exit; done
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="1"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' 'C:\Users\opam\AppData\Local\opam\5.3\lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;mingw64;g' \
- >findlib_config.ml
- if [ "true" = "true" ]; then \
- cp topfind.ml.in topfind.ml; \
- else \
- sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \
- > topfind.ml ; \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -o ocamlfind.exe -g findlib.cma unix.cma \
- -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 256, characters 4-27:
- 256 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 266, characters 4-27:
- 266 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 278, characters 4-27:
- 278 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 291, characters 4-27:
- 291 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 305, characters 4-27:
- 305 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 317, characters 4-27:
- 317 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- USE_CYGPATH="1"; \
- export USE_CYGPATH; \
- cat topfind_rd1.p | \
- ../../tools/patch '@SITELIB@' 'C:\Users\opam\AppData\Local\opam\5.3\lib' \
- >topfind
- ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- /usr/bin/make all-config
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- USE_CYGPATH="1"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
- tools/patch '@SITELIB@' 'C:\Users\opam\AppData\Local\opam\5.3\lib' >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
Processing 11/25: [dune: ocaml 15] [ocamlfind: make opt]
+ C:\cygwin64\bin\make.exe "opt" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5)
- for p in findlib; do ( cd src/$p; /usr/bin/make opt ) || exit; done
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
-
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt.exe findlib.cmxa unix.cmxa \
- -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 126, characters 40-63:
- 126 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 256, characters 4-27:
- 256 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 266, characters 4-27:
- 266 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 278, characters 4-27:
- 278 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 291, characters 4-27:
- 291 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 305, characters 4-27:
- 305 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 317, characters 4-27:
- 317 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_dynload.ml
- ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
-> compiled ocamlfind.1.9.5
Processing 11/25: [dune: ocaml 15]
Processing 12/25: [dune: ocaml 15] [ocamlfind: make install]
+ C:\cygwin64\bin\make.exe "install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5)
- if [ "1" -eq 1 ]; then \
- for x in camlp4 dbm graphics labltk num ocamlbuild; do \
- if [ -f "C:\Users\opam\AppData\Local\opam\5.3\lib/$x/META" ]; then \
- if ! grep -Fq '[distributed with Ocaml]' "/C:\Users\opam\AppData\Local\opam\5.3\lib/$x/META"; then \
- rm -f site-lib-src/$x/META; \
- fi; \
- fi; \
- done; \
- test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \
- fi
- echo 'SITELIB_META =' > Makefile.packages.in
- for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done
- tr '\n' ' ' < Makefile.packages.in > Makefile.packages
- rm Makefile.packages.in
- install -d "C:\Users\opam\AppData\Local\opam\5.3\bin"
- install -d "C:\Users\opam\AppData\Local\opam\5.3\man"
- /usr/bin/make install-config
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- install -d "`dirname \"C:\Users\opam\AppData\Local\opam\5.3\lib/findlib.conf\"`"
- test -f "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib.conf" || install -c findlib.conf "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib.conf"
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- for p in findlib; do ( cd src/$p; /usr/bin/make install ); done
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- install -d "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib"
- install -d "C:\Users\opam\AppData\Local\opam\5.3\bin"
- test 1 -eq 0 || install -d "/cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml/"
- files=` ../../tools/collect_files ../../Makefile.config \
- findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \
- findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
- fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \
- fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \
- fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \
- findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \
- META` && \
- install -c $files "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib/"
- f="ocamlfind.exe"; { test -f ocamlfind_opt.exe && f="ocamlfind_opt.exe"; }; \
- install -c $f "C:\Users\opam\AppData\Local\opam\5.3\bin/ocamlfind.exe"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
- cd "/cygdrive/c/Users/opam/AppData/Local/opam/5.3/lib/ocaml/compiler-libs/"; \
- install -c topdirs.cmi toploop.cmi "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib/"; \
- fi
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5/src/findlib'
- /usr/bin/make install-meta
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- for x in bytes compiler-libs dynlink ocamldoc runtime_events stdlib str threads unix ; do install -d "C:\Users\opam\AppData\Local\opam\5.3\lib/$x"; install -c site-lib-src/$x/META "C:\Users\opam\AppData\Local\opam\5.3\lib/$x/META.tmp" && mv "C:\Users\opam\AppData\Local\opam\5.3\lib/$x/META.tmp" "C:\Users\opam\AppData\Local\opam\5.3\lib/$x/META"; done
- install -d "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib"; install -c Makefile.packages "C:\Users\opam\AppData\Local\opam\5.3\lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; /usr/bin/make install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "C:\Users\opam\AppData\Local\opam\5.3\bin"
- /usr/bin/make install-doc
- make[1]: Entering directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
- install -d "C:\Users\opam\AppData\Local\opam\5.3\man/man1" "C:\Users\opam\AppData\Local\opam\5.3\man/man3" "C:\Users\opam\AppData\Local\opam\5.3\man/man5"
- install -c doc/ref-man/ocamlfind.1 "C:\Users\opam\AppData\Local\opam\5.3\man/man1"
- install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "C:\Users\opam\AppData\Local\opam\5.3\man/man5"
- make[1]: Leaving directory '/cygdrive/c/Users/opam/AppData/Local/opam/5.3/.opam-switch/build/ocamlfind.1.9.5'
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.5
Processing 12/25: [dune: ocaml 15]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\ocaml.exe "boot/bootstrap.ml" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.17.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- .\.duneboot.exe -j 15
- cd _boot && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads ocamlc_loc.mli
- File "otherlibs/ocamlc-loc/src\\ocamlc_loc.mli", line 1, characters 4-9:
- Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context
- cd _boot && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads dune_action_plugin.mli
- File "otherlibs/dune-action-plugin/src\\dune_action_plugin.mli", line 1, characters 4-9:
- Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context
-
Processing 12/25: [dune: ./_boot/dune.exe build]
+ C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.17.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dune.3.17.1)
-> compiled dune.3.17.1
-> installed dune.3.17.1
Processing 14/25: [csexp: dune build]
Processing 15/25: [csexp: dune build] [yojson: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "csexp" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\csexp.1.5.2)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
-> compiled csexp.1.5.2
Processing 15/25: [yojson: dune build]
-> installed csexp.1.5.2
Processing 16/25: [yojson: dune build]
Processing 17/25: [merlin-lib: dune build] [yojson: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "yojson" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\yojson.2.2.2)
-> compiled yojson.2.2.2
Processing 17/25: [merlin-lib: dune build]
-> installed yojson.2.2.2
Processing 18/25: [merlin-lib: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "merlin-lib" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\merlin-lib.5.3~5.3preview)
-> compiled merlin-lib.5.3~5.3preview
-> installed merlin-lib.5.3~5.3preview
Processing 20/25: [dot-merlin-reader: dune build]
Processing 21/25: [dot-merlin-reader: dune build] [ocaml-index: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "dot-merlin-reader" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\dot-merlin-reader.5.3~5.3preview)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I src/dot-merlin/.dot_merlin_reader.eobjs/byte -I src/dot-merlin/.dot_merlin_reader.eobjs/native -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\str -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3\lib\findlib -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\dot_protocol -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\utils -intf-suffix .ml -no-alias-deps -o src/dot-merlin/.dot_merlin_reader.eobjs/native/dune__exe__Dot_merlin_reader.cmx -c -impl src/dot-merlin/dot_merlin_reader.ml)
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
-> compiled dot-merlin-reader.5.3~5.3preview
Processing 21/25: [ocaml-index: dune build]
-> installed dot-merlin-reader.5.3~5.3preview
Processing 22/25: [ocaml-index: dune build]
Processing 23/25: [merlin: dune build] [ocaml-index: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "ocaml-index" "-j" "15" "--promote-install-files=false" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocaml-index.1.1)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -bin-annot -bin-annot-occurrences -I src/ocaml-index/lib/.lib.objs/byte -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\analysis -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\index_format -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_parsing -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_typing -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_utils -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\utils -no-alias-deps -open Lib -o src/ocaml-index/lib/.lib.objs/byte/lib__Index.cmo -c -impl src/ocaml-index/lib/index.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 && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -I src/ocaml-index/lib/.lib.objs/byte -I src/ocaml-index/lib/.lib.objs/native -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\analysis -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\index_format -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_parsing -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_typing -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\ocaml_utils -I C:\Users\opam\AppData\Local\opam\5.3\lib\merlin-lib\utils -intf-suffix .ml -no-alias-deps -open Lib -o src/ocaml-index/lib/.lib.objs/native/lib__Index.cmx -c -impl src/ocaml-index/lib/index.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).
Processing 23/25: [merlin: dune build] [ocaml-index: dune install]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "install" "-p" "ocaml-index" "--create-install-files" "ocaml-index" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocaml-index.1.1)
-> compiled ocaml-index.1.1
Processing 23/25: [merlin: dune build]
-> installed ocaml-index.1.1
Processing 24/25: [merlin: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "merlin" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\merlin.5.3~5.3preview)
- (cd _build/default/src/frontend/ocamlmerlin && C:\Users\opam\AppData\Local\opam\5.3\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -fdiagnostics-color=always -oocamlmerlin.exe ocamlmerlin.c)
- ocamlmerlin.c: In function 'main':
- ocamlmerlin.c:666:5: warning: 'compute_socketname' accessing 261 bytes in a region of size 102 [-Wstringop-overflow=]
- 666 | compute_socketname(socketname, eventname, merlin_path);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ocamlmerlin.c:666:5: note: referencing argument 1 of type 'char[261]'
- ocamlmerlin.c:666:5: note: referencing argument 2 of type 'char[261]'
- ocamlmerlin.c:666:5: note: referencing argument 3 of type 'const char[261]'
- ocamlmerlin.c:576:13: note: in a call to function 'compute_socketname'
- 576 | static void compute_socketname(char socketname[PATHSZ], char eventname[PATHSZ], const char merlin_path[PATHSZ])
- | ^~~~~~~~~~~~~~~~~~
-> compiled merlin.5.3~5.3preview
-> installed merlin.5.3~5.3preview
Done.
<><> merlin.5.3~5.3preview installed successfully <><><><><><><><><><><><><><><>
=> merlin installed.
Quick setup for VIM
-------------------
Append this to your .vimrc to add merlin to vim's runtime-path:
let g:opamshare = substitute(system('opam var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
Also run the following line in vim to index the documentation:
:execute "helptags " . g:opamshare . "/merlin/vim/doc"
Quick setup for EMACS
-------------------
Add opam emacs directory to your load-path by appending this to your .emacs:
(let ((opam-share (ignore-errors (car (process-lines "opam" "var" "share")))))
(when (and opam-share (file-directory-p opam-share))
;; Register Merlin
(add-to-list 'load-path (expand-file-name "emacs/site-lisp" opam-share))
(autoload 'merlin-mode "merlin" nil t nil)
;; Automatically start it in OCaml buffers
(add-hook 'tuareg-mode-hook 'merlin-mode t)
(add-hook 'caml-mode-hook 'merlin-mode t)
;; Use opam switch to lookup ocamlmerlin binary
(setq merlin-command 'opam)
;; To easily change opam switches within a given Emacs session, you can
;; install the minor mode https://github.com/ProofGeneral/opam-switch-mode
;; and use one of its "OPSW" menus.
))
Take a look at https://github.com/ocaml/merlin for more information
Quick setup with opam-user-setup
--------------------------------
Opam-user-setup support Merlin.
$ opam user-setup install
should take care of basic setup.
See https://github.com/OCamlPro/opam-user-setup
# To update the current shell environment, run: eval $(opam env)
2025-02-20 02:57.17 ---> saved as "48d18db7ebf89e93bf5b4402bd3a45969f1afd1c46523a2d8ca0b17c48293071"
Job succeeded