Building on odawa
(from windows-server-2022-amd64-ocaml-5.3)
2025-05-01 10:45.20 ---> 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-05-01 10:45.20 ---> 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 335860ac6bdab55d9d7376c827d68c361a4a30f9"))
2025-05-01 10:45.20 ---> using "4c08247e55523e2965b5c1c12b593a71d88f319e918916847a986a1974cd6111" 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-05-01 10:45.20 ---> using "565762775dc0a0ff6aeb7961efc045ff197cec10dc84918148fd35366f0893de" 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-05-01 10:45.20 ---> using "25c3108f8daddb18ef806bae561f9096f1609015992655d24ea338087e169cc7" from cache
/: (run (network host)
(shell "opam update --depexts"))
2025-05-01 10:45.20 ---> using "2650c0f015d0019d22b18d1bed16206d52df7471fb1c6560a430dfcebb08af0f" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\Local\\opam\\download-cache")))
(network host)
(shell "opam remove -y boltzgen.0.9.3\
\nopam install -vy boltzgen.0.9.3\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: boltzgen.0.9.3 | 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"))
Nothing to do.
[NOTE] boltzgen.0.9.3 is not installed.
The following actions will be performed:
=== install 4 packages
- install boltzgen 0.9.3
- install cmdliner 1.3.0 [required by boltzgen]
- install dune 3.17.1 [required by boltzgen]
- install ocaml-compiler-libs v0.17.0 [required by boltzgen]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/12: [boltzgen.0.9.3: http]
Processing 2/12: [boltzgen.0.9.3: http] [cmdliner.1.3.0: extract]
Processing 3/12: [boltzgen.0.9.3: http] [cmdliner.1.3.0: extract] [dune.3.17.1: extract]
-> retrieved cmdliner.1.3.0 (cached)
Processing 3/12: [boltzgen.0.9.3: http] [dune.3.17.1: extract]
Processing 4/12: [boltzgen.0.9.3: http] [dune.3.17.1: extract] [ocaml-compiler-libs.v0.17.0: extract]
Processing 5/12: [boltzgen.0.9.3: http] [dune.3.17.1: extract] [ocaml-compiler-libs.v0.17.0: extract] [cmdliner: make all]
Processing 5/12: [boltzgen.0.9.3: extract] [dune.3.17.1: extract] [ocaml-compiler-libs.v0.17.0: extract] [cmdliner: make all]
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
Processing 5/12: [boltzgen.0.9.3: extract] [dune.3.17.1: extract] [cmdliner: make all]
-> retrieved boltzgen.0.9.3 (https://git.lacl.fr/barbot/boltzgen/-/archive/release-0.9.3/boltzgen-release-0.9.3.tar.gz)
Processing 5/12: [dune.3.17.1: extract] [cmdliner: make all]
-> retrieved dune.3.17.1 (cached)
Processing 5/12: [cmdliner: make all]
Processing 6/12: [cmdliner: make all] [dune: ocaml 15]
+ C:\cygwin64\bin\make.exe "all" "PREFIX=C:\\Users\\opam\\AppData\\Local\\opam\\5.3" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\cmdliner.1.3.0)
- ocaml build.ml cma
- ocaml build.ml cmxa
- ocaml build.ml cmxs
-> compiled cmdliner.1.3.0
Processing 6/12: [dune: ocaml 15]
Processing 7/12: [dune: ocaml 15] [cmdliner: make install]
+ C:\cygwin64\bin\make.exe "install" "LIBDIR=C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\lib\\cmdliner" "DOCDIR=C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\doc\\cmdliner" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\cmdliner.1.3.0)
- install -d "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner"
- install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner"
- install cmdliner.opam "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner/opam"
- install _build/cmdliner.cma "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner"
- install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \
- "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner"
- install _build/cmdliner.cmxs "C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner"
Processing 7/12: [dune: ocaml 15] [cmdliner: make install-doc]
+ C:\cygwin64\bin\make.exe "install-doc" "LIBDIR=C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\lib\\cmdliner" "DOCDIR=C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\doc\\cmdliner" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\cmdliner.1.3.0)
- install -d "C:\Users\opam\AppData\Local\opam\5.3\doc\cmdliner/odoc-pages"
- install CHANGES.md LICENSE.md README.md "C:\Users\opam\AppData\Local\opam\5.3\doc\cmdliner"
- install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \
- doc/tool_man.mld "C:\Users\opam\AppData\Local\opam\5.3\doc\cmdliner/odoc-pages"
-> installed cmdliner.1.3.0
Processing 7/12: [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 7/12: [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 9/12: [ocaml-compiler-libs: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "ocaml-compiler-libs" "-j" "15" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\ocaml-compiler-libs.v0.17.0)
-> compiled ocaml-compiler-libs.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
Processing 11/12: [boltzgen: dune build]
+ C:\Users\opam\AppData\Local\opam\5.3\bin\dune.exe "build" "-p" "boltzgen" "-j" "15" "@install" (CWD=C:\Users\opam\AppData\Local\opam\5.3\.opam-switch\build\boltzgen.0.9.3)
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I .boltzgen_runtime.objs/byte -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\compiler-libs -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3\lib\ocaml-compiler-libs\common -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/byte/boltzgen_runtime__Parse_from_compiler.cmo -c -impl parse_from_compiler.ml)
- File "parse_from_compiler.ml", line 32, characters 8-23:
- 32 | Pprintast.tyvar var var
- ^^^^^^^^^^^^^^^
- Error: The value "Pprintast.tyvar" has type "Format.formatter -> string -> unit"
- but an expression was expected of type
- "Format_doc.formatter -> 'a -> unit"
- Type "Format.formatter" is not compatible with type "Format_doc.formatter"
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlopt.opt.exe -w -40 -g -I .boltzgen_runtime.objs/byte -I .boltzgen_runtime.objs/native -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\compiler-libs -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3\lib\ocaml-compiler-libs\common -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/native/boltzgen_runtime__Parse_from_compiler.cmx -c -impl parse_from_compiler.ml)
- File "parse_from_compiler.ml", line 32, characters 8-23:
- 32 | Pprintast.tyvar var var
- ^^^^^^^^^^^^^^^
- Error: The value "Pprintast.tyvar" has type "Format.formatter -> string -> unit"
- but an expression was expected of type
- "Format_doc.formatter -> 'a -> unit"
- Type "Format.formatter" is not compatible with type "Format_doc.formatter"
- (cd _build/default && C:\Users\opam\AppData\Local\opam\5.3\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I .gen_test.eobjs/byte -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\compiler-libs -I C:/Users/opam/AppData/Local/opam/5.3/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3\lib\cmdliner -I C:\Users\opam\AppData\Local\opam\5.3\lib\ocaml-compiler-libs\common -I .boltzgen_runtime.objs/byte -no-alias-deps -o .gen_test.eobjs/byte/dune__exe__Gen_test.cmo -c -impl gen_test.ml)
- File "gen_test.ml", line 141, characters 4-13:
- 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man
- ^^^^^^^^^
- Alert deprecated: Cmdliner.Term.info
- Use Cmd.info instead.
-
- File "gen_test.ml", line 141, characters 55-73:
- 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: Cmdliner.Term.default_exits
- Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead.
-
- File "gen_test.ml", line 144, characters 15-19:
- 144 | let () = Term.(exit @@ eval cmd)
- ^^^^
- Alert deprecated: Cmdliner.Term.exit
- Use Stdlib.exit and Cmd.eval instead.
-
- File "gen_test.ml", line 144, characters 23-27:
- 144 | let () = Term.(exit @@ eval cmd)
- ^^^^
- Alert deprecated: Cmdliner.Term.eval
- Use Cmd.v and one of Cmd.eval* instead.
[ERROR] The compilation of boltzgen.0.9.3 failed at "dune build -p boltzgen -j 15 @install".
#=== ERROR while compiling boltzgen.0.9.3 =====================================#
# context 2.3.0~beta1 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path ~\AppData\Local\opam\5.3\.opam-switch\build\boltzgen.0.9.3
# command ~\AppData\Local\opam\5.3\bin\dune.exe build -p boltzgen -j 15 @install
# exit-code 1
# env-file ~\AppData\Local\opam\log\boltzgen-2432-e22051.env
# output-file ~\AppData\Local\opam\log\boltzgen-2432-e22051.out
### output ###
# Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead.
# [...]
# File "gen_test.ml", line 144, characters 15-19:
# 144 | let () = Term.(exit @@ eval cmd)
# ^^^^
# Alert deprecated: Cmdliner.Term.exit
# Use Stdlib.exit and Cmd.eval instead.
#
# File "gen_test.ml", line 144, characters 23-27:
# 144 | let () = Term.(exit @@ eval cmd)
# ^^^^
# Alert deprecated: Cmdliner.Term.eval
# Use Cmd.v and one of Cmd.eval* instead.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build boltzgen 0.9.3
+-
+- The following changes have been performed
| - install cmdliner 1.3.0
| - install dune 3.17.1
| - install ocaml-compiler-libs v0.17.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.3\\.opam-switch\\backup\\state-20250501104546.export"
'C:\cygwin64\bin\opam.exe install -vy boltzgen.0.9.3' failed.
"opam remove -y boltzgen.0.9.3
opam install -vy boltzgen.0.9.3
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: boltzgen.0.9.3 | grep -q 'windows-server-2022-amd64-ocaml-5.3'; then
echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
exit 69
fi
fi
exit $res" failed with exit status 31
Failed: Build failed