Building on rosemary
(from freebsd)
2025-11-30 00:38.25 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" 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/local/bin/opam-dev /usr/local/bin/opam"))
2025-11-30 00:38.25 ---> using "7afea9128a2830beedf345f0b46af5484579ebada7710165f445c6c5b18563a9" 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 2e72379851a4769911b11b7f85be197919fe4b82"))
2025-11-30 00:38.26 ---> using "99fd47a8e9810e580a9c46782c85519e91b775c342bd37698b0342edb50ae992" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
No configuration file found, using 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-11-30 00:38.26 ---> using "ed08d3d79ca91825b05a2e51635296dbd16988657e3420373914371409f77f09" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '5.3.0' 'ocaml-base-compiler.5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "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.0)
2025-11-30 00:38.26 ---> using "b56902dc27da90e62aba6d812121319566813a84b2d55c37595e556d763bf2d5" from cache
/: (run (network host)
(shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2025-11-30 00:38.27 ---> using "5122f2fde050998e841d465986605b8a6c57754b7b1900e005016cceb5d99f93" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y lua-ml.0.9.4\
\nopam install -vy lua-ml.0.9.4\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: lua-ml.0.9.4 | grep -q 'freebsd'; 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"))
[NOTE] lua-ml.0.9.4 is not installed.
Nothing to do.
The following actions will be performed:
=== install 2 packages
- install dune 3.20.2 [required by lua-ml]
- install lua-ml 0.9.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/6: [dune.3.20.2: extract]
Processing 2/6: [dune.3.20.2: extract] [lua-ml.0.9.4: http]
Processing 2/6: [dune.3.20.2: extract] [lua-ml.0.9.4: extract]
-> retrieved lua-ml.0.9.4 (https://github.com/lindig/lua-ml/archive/refs/tags/0.9.4.tar.gz)
Processing 2/6: [dune.3.20.2: extract]
-> retrieved dune.3.20.2 (cached)
Processing 3/6: [dune: ocaml 39]
+ /home/opam/.opam/5.3.0/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2)
- ocamlc -output-complete-exe -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 39
-
Processing 3/6: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2)
-> compiled dune.3.20.2
-> installed dune.3.20.2
Processing 5/6: [lua-ml: dune build]
+ /home/opam/.opam/5.3.0/bin/dune "build" "-p" "lua-ml" "-j" "39" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/lua-ml.0.9.4)
- (cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.lua.objs/byte -I /home/opam/.opam/5.3.0/lib/ocaml/unix -cmi-file src/.lua.objs/byte/luainterp.cmi -no-alias-deps -o src/.lua.objs/byte/luainterp.cmo -c -impl src/luainterp.ml)
- File "src/luainterp.ml", line 521, characters 9-23:
- 521 | | _ -> Printf.kprintf failwith "Global variable '%s' is already set" (V.to_string k)
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
-
- File "src/luainterp.ml", line 536, characters 6-20:
- 536 | Printf.kprintf failwith "Duplicate '%s' registered in module '%s'" k tabname in
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlopt.opt -w -40 -g -I src/.lua.objs/byte -I src/.lua.objs/native -I /home/opam/.opam/5.3.0/lib/ocaml/unix -cmi-file src/.lua.objs/byte/luainterp.cmi -no-alias-deps -o src/.lua.objs/native/luainterp.cmx -c -impl src/luainterp.ml)
- File "src/luainterp.ml", line 521, characters 9-23:
- 521 | | _ -> Printf.kprintf failwith "Global variable '%s' is already set" (V.to_string k)
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
-
- File "src/luainterp.ml", line 536, characters 6-20:
- 536 | Printf.kprintf failwith "Duplicate '%s' registered in module '%s'" k tabname in
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
Processing 5/6: [lua-ml: dune install]
+ /home/opam/.opam/5.3.0/bin/dune "install" "-p" "lua-ml" "--create-install-files" "lua-ml" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/lua-ml.0.9.4)
-> compiled lua-ml.0.9.4
-> installed lua-ml.0.9.4
Done.
<><> lua-ml.0.9.4 installed successfully ><><><><><><><><><><><><><><><><><><><>
=> Lua-ML does build with OCaml 5.0.0, however, it only works with it as long as the code is single-threaded: trying to execute Lua code in more than one domain may incur in confusing, unpredictable failures.
2025-11-30 00:39.29 ---> saved as "d7273759af03da16c8ac85e57cb769f2f97b36f46045e1c8842dc13092320920"
Job succeeded