OCamllabs icon Home|Differences with the last checks|Previous runs


Building on eumache

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
8e36c1fbb8f9: Already exists
c20c78184d0b: Already exists
0ab87efdff82: Already exists
c7b76e160f19: Already exists
0f33b0437075: Already exists
44cfe50ed87a: Already exists
3d8bc88e8e4c: Already exists
031ad32a4764: Already exists
295120677902: Already exists
cabfd3ab2227: Already exists
3ec86e62252b: Already exists
f2d973a9ea0c: Already exists
e142f6d653d9: Already exists
bfa8af2cae08: Already exists
2fb4252d438b: Already exists
3dc003ec4a15: Already exists
a1c5fc4b0323: Already exists
a1c5fc4b0323: Already exists
27c2974c0836: Already exists
0adec8edeba9: Already exists
1ee2afe62a1f: Already exists
320d8966c06c: Already exists
4f4fb700ef54: Already exists
6f46e7a21dfb: Already exists
75f876a0c9c9: Already exists
7adc49118e74: Already exists
6fa679934aac: Already exists
3c2cea696b77: Already exists
946ea8df89a5: Already exists
ea4ceee206ec: Already exists
af006056acfa: Already exists
f2f172888897: Already exists
b9eb7fecff88: Already exists
4f6f96a895ac: Already exists
37ea2e18a637: Already exists
1973f0a82dbc: Already exists
89bfe5027abd: Already exists
3618e70065f5: Already exists
f559d3f65047: Already exists
9de533cb491e: Already exists
f28ff1d1a83b: Already exists
01594d191918: Already exists
63f5edccddc5: Already exists
57639f805c37: Already exists
c497f5a0273b: Already exists
f8e78355b81e: Already exists
6845ddad7894: Already exists
99ab32625f27: Already exists
Digest: sha256:ddf15bac1fa20047ef1a74f312acfa03eb67216bc7b4dc9eae73336fee957f7c
Status: Downloaded newer image for ocaml/opam:debian-unstable
2026-01-21 10:34.45 ---> 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"))
2026-01-21 10:34.45 ---> 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 10a02a697b08f6d78a6c4c2cb9a76136afc7776d"))
2026-01-21 10:34.45 ---> using "1e900f095b617695cba731f8ea7d4f181f17d5d2c67a45e910b441ea8b4cc395" 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.
2026-01-21 10:34.45 ---> using "dde2ec861d92885e35715529e38f79775c7e8cc633662c811e07abc19e33e887" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "sudo apt update && sudo apt install autoconf -y"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian unstable InRelease [187 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-2026-01-21-0800.23-F-2026-01-16-2009.15.pdiff [881 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-21-0800.23-F-2026-01-16-2009.15.pdiff [881 kB]
Fetched 1131 kB in 3s (407 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
65 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Installing:
  autoconf

Installing dependencies:
  automake  autotools-dev  m4

Suggested packages:
  autoconf-archive  gnu-standards  autoconf-doc  libtool  gettext  m4-doc

Summary:
  Upgrading: 0, Installing: 4, Removing: 0, Not Upgrading: 65
  Download size: 1757 kB
  Space needed: 5333 kB / 130 GB available

Get:1 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.20-2 [325 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.18.1-3 [878 kB]
Fetched 1757 kB in 0s (24.8 MB/s)
Selecting previously unselected package m4.
(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 ... 20859 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.20-2_amd64.deb ...
Unpacking m4 (1.4.20-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.72-3.1_all.deb ...
Unpacking autoconf (2.72-3.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20240727.1_all.deb ...
Unpacking autotools-dev (20240727.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.18.1-3_all.deb ...
Unpacking automake (1:1.18.1-3) ...
Setting up m4 (1.4.20-2) ...
Setting up autotools-dev (20240727.1) ...
Setting up autoconf (2.72-3.1) ...
Setting up automake (1:1.18.1-3) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
2026-01-21 10:34.45 ---> using "1799f973d7e56ed7a0dfa7e98e537e0f6b9380429d423b25c85bd301ff8db70b" from cache

/: (run (network host)
        (shell "git clone -q 'https://github.com/oxcaml/opam-repository' ~/'oxcaml' && git -C ~/'oxcaml' checkout -q d26509af1e9232ddaab223c3cab162ecf81e52b8"))
2026-01-21 10:34.45 ---> using "2814ab43288df8b068af11359de6c2e85949a3d6e2f2218776bc7c1f9c9af05e" from cache

/: (run (shell "opam repository add --dont-select 'oxcaml' ~/'oxcaml'"))
[oxcaml] Initialised
2026-01-21 10:34.45 ---> using "bdd8d3afe8e38fb87653ddbd31aa79956dedc657ba2a251ad8f4ffc25815b952" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=oxcaml,default '5.2.0+flambda2' '5.2.0+ox'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.2.0+ox"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> installed conf-autoconf.0.2
-> installed conf-which.1
-> retrieved ocaml-variants.5.2.0+ox  (https://github.com/oxcaml/oxcaml/archive/refs/tags/5.2.0minus-25.tar.gz)
-> installed ocaml-variants.5.2.0+ox
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.2.0+flambda2)
2026-01-21 10:34.45 ---> using "c4b13ec5d9609bce0206ed1cb5e5f4bc921db329ec3c9213ee27bd3b03bde010" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian unstable InRelease
- Reading package lists...
2026-01-21 10:34.45 ---> using "9beb6678510458dab111501a44a02ca68362c4f008cca5d48cc74c2c94ccf823" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "opam remove -y ocaml-lua.1.8\
               \nopam install -vy ocaml-lua.1.8\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: ocaml-lua.1.8 | 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"))
[NOTE] ocaml-lua.1.8 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install dune      3.21.0+ox [required by ocaml-lua]
  - install ocaml-lua 1.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6: [dune.3.21.0+ox: extract]
Processing  2/6: [dune.3.21.0+ox: extract] [ocaml-lua.1.8: http]
Processing  2/6: [dune.3.21.0+ox: extract] [ocaml-lua.1.8: extract]
-> retrieved ocaml-lua.1.8  (https://github.com/pdonadeo/ocaml-lua/archive/v1.8.tar.gz)
Processing  2/6: [dune.3.21.0+ox: extract]
-> retrieved dune.3.21.0+ox  (cached)
[dune: patch] applying oxcaml-dune.patch
Processing  3/6: [dune: ocaml 71]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune.3.21.0+ox)
- ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot -I +unix unix.cma boot/types.ml boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 71
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads lmdb__Lmdb_bindings.ml
- File "lmdb__Lmdb_bindings.ml", line 64, characters 2-29:
- 64 |   Callback.register_exception "LmdbExists" Exists;
-        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "lmdb__Lmdb_bindings.ml", line 65, characters 2-29:
- 65 |   Callback.register_exception "LmdbError" (Error 0);
-        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "lmdb__Lmdb_bindings.ml", line 66, characters 2-29:
- 66 |   Callback.register_exception "LmdbMapFull" (Map_full);
-        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "lmdb__Lmdb_bindings.ml", line 67, characters 2-27:
- 67 |   Printexc.register_printer @@ begin function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads stdune__Code_error.ml
- File "stdune__Code_error.ml", line 30, characters 2-27:
- 30 |   Printexc.register_printer (function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads notty_unix.ml
- File "notty_unix.ml", line 38, characters 23-29:
- 38 |     let old_hdl = Sys.(signal signum (Signal_handle (fun _ -> f ()))) in
-                             ^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.signal
- Use [Sys.Safe.signal].
- 
- File "notty_unix.ml", line 39, characters 31-45:
- 39 |     `Revert (once @@ fun () -> Sys.set_signal signum old_hdl)
-                                     ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads stdune__User_error.ml
- File "stdune__User_error.ml", line 18, characters 2-27:
- 18 |   Printexc.register_printer (function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamStd.ml
- File "opamStd.ml", line 958, characters 10-24:
- 958 |       try Sys.set_signal 28 (* SIGWINCH *)
-                 ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
- 
- File "opamStd.ml", line 1407, characters 4-15:
- 1407 |     Unix.putenv "HOME" dir;
-            ^^^^^^^^^^^
- Alert unsafe_multidomain: Unix.putenv
- Mutating the environment makes reading the environment unsafe.
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Conv.ml
- File "dune_rpc_private__Conv.ml", line 49, characters 2-27:
- 49 |   Printexc.register_printer (function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Where.ml
- File "dune_rpc_private__Where.ml", line 23, characters 2-27:
- 23 |   Printexc.register_printer (function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Types.ml
- File "dune_rpc_private__Types.ml", line 155, characters 6-31:
- 155 |       Printexc.register_printer (function
-             ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Registry.ml
- File "dune_rpc_private__Registry.ml", line 68, characters 4-29:
- 68 |     Printexc.register_printer (function
-          ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private__Versioned.ml
- File "dune_rpc_private__Versioned.ml", line 24, characters 4-29:
- 24 |     Printexc.register_printer (function
-          ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamSystem.ml
- File "opamSystem.ml", line 1248, characters 2-27:
- 1248 |   Printexc.register_printer (function
-          ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- 
- File "opamSystem.ml", line 1264, characters 6-20:
- 1264 |   try Sys.set_signal Sys.sigpipe (Sys.Signal_handle (fun _ -> ()))
-              ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads memo.ml
- File "memo.ml", line 415, characters 2-27:
- 415 |   Printexc.register_printer (fun exn ->
-         ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_private.ml
- File "dune_rpc_private.ml", line 176, characters 6-31:
- 176 |       Printexc.register_printer (function
-             ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_rpc_server.ml
- File "dune_rpc_server.ml", line 15, characters 2-27:
- 15 |   Printexc.register_printer (function
-        ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_engine__Scheduler.ml
- File "dune_engine__Scheduler.ml", line 55, characters 4-29:
- 55 |     Printexc.register_printer (function
-          ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- 
- File "dune_engine__Scheduler.ml", line 631, characters 6-20:
- 631 |       Sys.set_signal
-             ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Dune_engine__.Import.Sys.set_signal
- Use [Sys.Safe.set_signal].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads opamPp.ml
- File "opamPp.ml", line 64, characters 9-34:
- 64 | let () = Printexc.register_printer @@ function
-               ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Printexc.register_printer
- Use [Printexc.Safe.register_printer].
- cd _boot && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-23-53 -alert -unstable -I +unix -I +threads dune_tui.ml
- File "dune_tui.ml", line 15, characters 7-21:
- 15 |        Sys.set_signal Sys.sigcont
-             ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Dune_tui__.Import.Sys.set_signal
- Use [Sys.Safe.set_signal].
- 
- File "dune_tui.ml", line 23, characters 12-22:
- 23 |            (Sys.signal Sys.sigtstp
-                  ^^^^^^^^^^
- Alert unsafe_multidomain: Dune_tui__.Import.Sys.signal
- Use [Sys.Safe.signal].
Processing  3/6: [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" "71" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune.3.21.0+ox)
-> compiled  dune.3.21.0+ox
-> installed dune.3.21.0+ox
Processing  5/6: [ocaml-lua: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c ; tar xf lua-5.1.5.tar.gz" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c/lua-5.1.5 ; patch -p1 -i ../lua.patch" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8)
- patching file src/Makefile
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c ; mv lua-5.1.5 lua515" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8)
Processing  5/6: [ocaml-lua: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-lua" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8)
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.lua.objs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -cmi-file src/.lua.objs/byte/lua_aux_lib.cmi -no-alias-deps -o src/.lua.objs/byte/lua_aux_lib.cmo -c -impl src/lua_aux_lib.ml)
- File "src/lua_aux_lib.ml", line 96, characters 4-18:
- 96 |     Printf.kprintf k
-          ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.lua.objs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -cmi-file src/.lua.objs/byte/lua_api_lib.cmi -no-alias-deps -o src/.lua.objs/byte/lua_api_lib.cmo -c -impl src/lua_api_lib.ml)
- File "src/lua_api_lib.ml", line 271, characters 4-18:
- 271 |     Printf.kprintf k
-           ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- 
- File "src/lua_api_lib.ml", line 376, characters 4-31:
- 376 |     Callback.register_exception "Lua_type_error" (Type_error "");
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 377, characters 4-31:
- 377 |     Callback.register_exception "Not_a_C_function" Not_a_C_function;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 378, characters 4-31:
- 378 |     Callback.register_exception "Not_a_Lua_thread" Not_a_Lua_thread;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 379, characters 4-31:
- 379 |     Callback.register_exception "Not_a_block_value" Not_a_block_value;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 380, characters 4-21:
- 380 |     Callback.register "default_panic" default_panic;
-           ^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register
- Use [Callback.Safe.register].
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I lua_c -o lua_aux_lib_stubs.o -c lua_aux_lib_stubs.c)
- lua_aux_lib_stubs.c: In function 'default_panic':
- lua_aux_lib_stubs.c:215:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   215 |     value *default_panic_v = caml_named_value("default_panic");
-       |                              ^~~~~~~~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_newstate__stub':
- lua_aux_lib_stubs.c:275:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   275 |     value *default_panic_v = caml_named_value("default_panic");
-       |                              ^~~~~~~~~~~~~~~~
- In file included from lua_aux_lib_stubs.c:9:
- lua_aux_lib_stubs.c: In function 'luaL_gsub__stub':
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:524:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   524 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:382:22: note: in expansion of macro 'String_val'
-   382 |   char *retval_str = String_val(ret_val);
-       |                      ^~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_checkstring__stub':
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:524:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   524 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:411:13: note: in expansion of macro 'String_val'
-   411 |   char *s = String_val(ret_val);
-       |             ^~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_findtable__stub':
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:524:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   524 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:469:28: note: in expansion of macro 'String_val'
-   469 |         char *retval_str = String_val(ret_string);
-       |                            ^~~~~~~~~~
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/.lua.objs/byte -I src/.lua.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -I src/lua_c/.lua_c.objs/native -cmi-file src/.lua.objs/byte/lua_api_lib.cmi -no-alias-deps -o src/.lua.objs/native/lua_api_lib.cmx -c -impl src/lua_api_lib.ml)
- File "src/lua_api_lib.ml", line 271, characters 4-18:
- 271 |     Printf.kprintf k
-           ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- 
- File "src/lua_api_lib.ml", line 376, characters 4-31:
- 376 |     Callback.register_exception "Lua_type_error" (Type_error "");
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 377, characters 4-31:
- 377 |     Callback.register_exception "Not_a_C_function" Not_a_C_function;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 378, characters 4-31:
- 378 |     Callback.register_exception "Not_a_Lua_thread" Not_a_Lua_thread;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 379, characters 4-31:
- 379 |     Callback.register_exception "Not_a_block_value" Not_a_block_value;
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- File "src/lua_api_lib.ml", line 380, characters 4-21:
- 380 |     Callback.register "default_panic" default_panic;
-           ^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register
- Use [Callback.Safe.register].
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I lua_c -o lua_api_lib_stubs.o -c lua_api_lib_stubs.c)
- In file included from lua_api_lib_stubs.c:9:
- lua_api_lib_stubs.c: In function 'writer_function':
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   524 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lua_api_lib_stubs.c:242:12: note: in expansion of macro 'String_val'
-   242 |     memcpy(String_val(buffer), p, sz);
-       |            ^~~~~~~~~~
- In file included from lua_api_lib_stubs.c:1:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- lua_api_lib_stubs.c: In function 'lua_tolstring__stub':
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:524:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   524 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_api_lib_stubs.c:683:15: note: in expansion of macro 'String_val'
-   683 |     char *s = String_val(ret_val);
-       |               ^~~~~~~~~~
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I src/.lua.objs/byte -I src/.lua.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/threads -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -I src/lua_c/.lua_c.objs/native -cmi-file src/.lua.objs/byte/lua_aux_lib.cmi -no-alias-deps -o src/.lua.objs/native/lua_aux_lib.cmx -c -impl src/lua_aux_lib.ml)
- File "src/lua_aux_lib.ml", line 96, characters 4-18:
- 96 |     Printf.kprintf k
-          ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default/src/lua_c/lua515 && /usr/bin/make linux)
- cd src && /usr/bin/make linux
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- /usr/bin/make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
- make[2]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lapi.o lapi.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lcode.o lcode.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldebug.o ldebug.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldo.o ldo.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldump.o ldump.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lfunc.o lfunc.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lgc.o lgc.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o llex.o llex.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lmem.o lmem.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lobject.o lobject.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lopcodes.o lopcodes.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lparser.o lparser.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstate.o lstate.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstring.o lstring.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltable.o ltable.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltm.o ltm.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lundump.o lundump.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lvm.o lvm.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lzio.o lzio.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lauxlib.o lauxlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lbaselib.o lbaselib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldblib.o ldblib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o liolib.o liolib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lmathlib.o lmathlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o loslib.o loslib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltablib.o ltablib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstrlib.o lstrlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o loadlib.o loadlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o linit.o linit.c
- ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o	# DLL needs all object files
- ranlib liblua.a
- gcc -shared -ldl -Wl,-soname,liblua.so -o liblua.so lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o -lm 
- make[2]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- ldump.c: In function 'DumpString':
- ldump.c:63:26: warning: the comparison will always evaluate as 'false' for the pointer operand in 's + 24' must not be NULL [-Waddress]
-    63 |  if (s==NULL || getstr(s)==NULL)
-       |                          ^~
- lauxlib.c: In function 'luaL_loadfile':
- lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
-   577 |    while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
-       |    ^~~~~
- lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
-   578 |     lf.extraline = 0;
-       |     ^~
- ltablib.c: In function 'addfield':
- ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
-   137 |   if (!lua_isstring(L, -1))
-       |   ^~
- ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
-   140 |     luaL_addvalue(b);
-       |     ^~~~~~~~~~~~~
- ar: `u' modifier ignored since `D' is the default (see `U')
-> compiled  ocaml-lua.1.8
-> installed ocaml-lua.1.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 10:38.01 ---> saved as "259dc2ccfa0c78fc6ece3b98606649f7f6429fc5f08f8e15ef85679ba7ed8e26"
Job succeeded