Building on odawa.caelum.ci.dev
(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
Digest: sha256:75da64e0a79592579a874efe1cabf91a3a62bcde64f7b643dd374f1913e5a96b
Status: Downloaded newer image for ocaml/opam:debian-unstable
2026-04-01 09:35.07 ---> 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-04-01 09:35.07 ---> 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 4b07b3403ca6031c1a5af00d48d6aa90de102e54"))
2026-04-01 09:35.07 ---> using "a1e7bc0c040cc018de885422d43734657f50491b2b6f19af3c166690126816cd" 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-04-01 09:35.07 ---> using "534ec631cbc3e509d0d261c9ef2627ba1ac412d1d106d27dbd9c544d0da8e6ab" 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-04-01-0800.35-F-2026-03-28-0800.33.pdiff [400 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-04-01-0800.35-F-2026-03-28-0800.33.pdiff [400 kB]
Fetched 650 kB in 1s (480 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
6 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...
The following packages were automatically installed and are no longer required:
libproc2-0 procps psmisc
Use 'sudo apt autoremove' to remove them.
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: 6
Download size: 1763 kB
Space needed: 5356 kB / 143 GB available
Get:1 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.21-1 [332 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-6 [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-4 [877 kB]
Fetched 1763 kB in 0s (25.9 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 ... 22112 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.21-1_amd64.deb ...
Unpacking m4 (1.4.21-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.72-6_all.deb ...
Unpacking autoconf (2.72-6) ...
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-4_all.deb ...
Unpacking automake (1:1.18.1-4) ...
Setting up m4 (1.4.21-1) ...
Setting up autotools-dev (20240727.1) ...
Setting up autoconf (2.72-6) ...
Setting up automake (1:1.18.1-4) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
2026-04-01 09:35.07 ---> using "786b4d20d4e41506c48fdee2d643c656a887d3c15a92e52bdded13e6f8057b48" from cache
/: (run (network host)
(shell "git clone -q 'https://github.com/oxcaml/opam-repository' ~/'oxcaml' && git -C ~/'oxcaml' checkout -q dde24fbc07390ada8c41508871d4741e06069241"))
2026-04-01 09:35.07 ---> using "c89deb80be9cd21e8794570ebf2bcbbe746333327b90fd6e79241d7cdad9a2ab" from cache
/: (run (shell "opam repository add --dont-select 'oxcaml' ~/'oxcaml'"))
[oxcaml] Initialised
2026-04-01 09:35.07 ---> using "464f4736676353abc80160646c5d6159e0eba9cb3f27c4f3410c312bfd0c87ee" 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-04-01 09:35.07 ---> using "270b00d3b80a3bbafc42a02ec313b62116b195465706442a3e2ff51bce951dc5" 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-04-01 09:35.07 ---> using "fba65304007c7ca110b3b0b63f07480abc11c92aa5c8c6998f0e41ecbbdba338" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y earley.3.0.0\
\nopam install -vy earley.3.0.0\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: earley.3.0.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"))
Nothing to do.
[NOTE] earley.3.0.0 is not installed.
The following actions will be performed:
=== install 3 packages
- install dune 3.22.0 [required by earley]
- install earley 3.0.0
- install stdlib-shims 0.3.0 [required by earley]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/9: [dune.3.22.0: extract]
Processing 2/9: [dune.3.22.0: extract] [earley.3.0.0: extract]
Processing 3/9: [dune.3.22.0: extract] [earley.3.0.0: extract] [stdlib-shims.0.3.0: extract]
-> retrieved earley.3.0.0 (cached)
Processing 3/9: [dune.3.22.0: extract] [stdlib-shims.0.3.0: extract]
-> retrieved stdlib-shims.0.3.0 (cached)
Processing 3/9: [dune.3.22.0: extract]
-> retrieved dune.3.22.0 (cached)
Processing 4/9: [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/dune.3.22.0)
- 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 255
- 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 58, characters 2-27:
- 58 | 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_scheduler__Shutdown.ml
- File "dune_scheduler__Shutdown.ml", line 37, characters 2-27:
- 37 | 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__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 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 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 159, characters 6-31:
- 159 | 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__Version_error.ml
- File "dune_rpc_private__Version_error.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 memo.ml
- File "memo.ml", line 416, characters 2-27:
- 416 | 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__Client.ml
- File "dune_rpc_private__Client.ml", line 101, characters 2-27:
- 101 | 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_scheduler__Thread0.ml
- File "dune_scheduler__Thread0.ml", line 28, characters 11-25:
- 28 | Sys.set_signal (Signal.to_int signal) (Signal_handle (fun _ -> ())))
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdune.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 dune_scheduler__Signal_watcher.ml
- File "dune_scheduler__Signal_watcher.ml", line 23, characters 4-18:
- 23 | Sys.set_signal Sys.sigint (Signal_handle (fun _ -> assert (Unix.write w buf 0 1 = 1)));
- ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdune.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 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_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].
- 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].
Processing 4/9: [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/5.2.0+flambda2/.opam-switch/build/dune.3.22.0)
-> compiled dune.3.22.0
-> installed dune.3.22.0
Processing 6/9: [stdlib-shims: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled stdlib-shims.0.3.0
-> installed stdlib-shims.0.3.0
Processing 8/9: [earley: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "earley" "-j" "255" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/earley.3.0.0)
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -w -9-20 -g -I ocaml_ast/src/.ocaml_ast.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -cmi-file ocaml_ast/src/.ocaml_ast.objs/byte/build_path_prefix_map.cmi -no-alias-deps -o ocaml_ast/src/.ocaml_ast.objs/native/build_path_prefix_map.cmx -c -impl ocaml_ast/src/build_path_prefix_map.ml)
- File "ocaml_ast/src/build_path_prefix_map.ml", line 20, characters 17-31:
- 20 | let errorf fmt = Printf.kprintf (fun err -> Error err) fmt
- ^^^^^^^^^^^^^^
- 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 -bin-annot-cms -I boot/.pa_default.eobjs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/byte -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/byte/dune__exe__Pa_main.cmo -c -impl boot/pa_main.ml)
- File "boot/pa_main.ml", line 80, characters 12-23:
- 80 | (Unix.putenv macro_name value; (st, name, lnum, false))
- ^^^^^^^^^^^
- Alert unsafe_multidomain: Unix.putenv
- Mutating the environment makes reading the environment unsafe.
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -bin-annot-cms -I boot/.pa_default.eobjs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/byte -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/byte/dune__exe__Pa_default.cmo -c -impl boot/pa_default.ml)
- File "boot/pa_default.ml", line 2, characters 17-43:
- 2 | module Default = (Pa_ocaml.Make)(ParserExt)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- Error: Modules do not match:
- sig
- val debug_attach : bool ref @@ stateless
- val spec : (Arg.key * Arg.spec * Arg.doc) list
- val before_parse_hook : unit -> unit @@ stateless
- type expression_prio =
- Dune__exe.Pa_ocaml_prelude.Initial.expression_prio =
- Seq
- | If
- | Aff
- | Tupl
- | Disj
- | Conj
- | Eq
- | Append
- | Cons
- | Sum
- | Prod
- | Pow
- | Opp
- | App
- | Dash
- | Dot
- | Prefix
- | Atom
- val expression_prios : expression_prio list @@ stateless
- val next_exp : expression_prio -> expression_prio @@ stateless
- type alm =
- Dune__exe.Pa_ocaml_prelude.Initial.alm =
- NoMatch
- | Match
- | Let
- val allow_match : alm -> bool @@ stateless
- val allow_let : alm -> bool @@ stateless
- val string_exp : alm * expression_prio -> string @@ portable
- val expression_lvl :
- alm * expression_prio ->
- Parsetree.expression Earley_core.Earley.grammar
- val set_expression_lvl :
- (alm * expression_prio ->
- Parsetree.expression Earley_core.Earley.grammar) ->
- unit
- val expression : Parsetree.expression Earley_core.Earley.grammar
- val structure_item :
- Parsetree.structure_item list Earley_core.Earley.grammar
- val signature_item :
- Parsetree.signature_item list Earley_core.Earley.grammar
- val parameter :
- bool ->
- [ `Arg of
- Asttypes.arg_label * Parsetree.expression option *
- Parsetree.pattern
- | `Type of string Location.loc ] Earley_core.Earley.grammar
- ...
- end @ stateful
- is not included in Dune__exe__Pa_ocaml.Extension @ stateful
- Values do not match:
- val extra_prefix_expressions :
- Parsetree.expression Earley_core.Earley.grammar list (* in a structure at stateful *)
- is not included in
- val extra_prefix_expressions :
- Parsetree.expression Earley_core.Earley.grammar list @@ stateless (* in a structure at stateful *)
- The left-hand side is "stateful"
- but the right-hand side is "stateless".
- File "boot/pa_ocaml_prelude.ml", line 228, characters 8-32:
- Expected declaration
- File "boot/pa_parser.ml", line 1296, characters 8-32: Actual declaration
- (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I boot/.pa_default.eobjs/byte -I boot/.pa_default.eobjs/native -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/native -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I lib/.earley_str.objs/native -I ocaml_ast/src/.ocaml_ast.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/native -cmi-file boot/.pa_default.eobjs/byte/dune__exe__Pa_main.cmi -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/native/dune__exe__Pa_main.cmx -c -impl boot/pa_main.ml)
- File "boot/pa_main.ml", line 80, characters 12-23:
- 80 | (Unix.putenv macro_name value; (st, name, lnum, false))
- ^^^^^^^^^^^
- Alert unsafe_multidomain: Unix.putenv
- Mutating the environment makes reading the environment unsafe.
[ERROR] The compilation of earley.3.0.0 failed at "dune build -p earley -j 255".
#=== ERROR while compiling earley.3.0.0 =======================================#
# context 2.5.0 | linux/x86_64 | ocaml-variants.5.2.0+ox | file:///home/opam/opam-repository
# path ~/.opam/5.2.0+flambda2/.opam-switch/build/earley.3.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p earley -j 255
# exit-code 1
# env-file ~/.opam/log/earley-8-d2379a.env
# output-file ~/.opam/log/earley-8-d2379a.out
### output ###
# (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -w -9-20 -g -I ocaml_ast/src/.ocaml_ast.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/native -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -cmi-file ocaml_ast/src/.ocaml_ast.objs/byte/build_path_prefix_map.cmi -no-alias-deps -o ocaml_ast/src/.ocaml_ast.objs/native/build_path_prefix_map.cmx -c -impl ocaml_ast/src/build_path_prefix_map.ml)
# File "ocaml_ast/src/build_path_prefix_map.ml", line 20, characters 17-31:
# 20 | let errorf fmt = Printf.kprintf (fun err -> Error err) fmt
# ^^^^^^^^^^^^^^
# 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 -bin-annot-cms -I boot/.pa_default.eobjs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/byte -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/byte/dune__exe__Pa_main.cmo -c -impl boot/pa_main.ml)
# File "boot/pa_main.ml", line 80, characters 12-23:
# 80 | (Unix.putenv macro_name value; (st, name, lnum, false))
# ^^^^^^^^^^^
# Alert unsafe_multidomain: Unix.putenv
# Mutating the environment makes reading the environment unsafe.
# (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -bin-annot-cms -I boot/.pa_default.eobjs/byte -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/byte -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/byte/dune__exe__Pa_default.cmo -c -impl boot/pa_default.ml)
# File "boot/pa_default.ml", line 2, characters 17-43:
# 2 | module Default = (Pa_ocaml.Make)(ParserExt)
# ^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Modules do not match:
# sig
# val debug_attach : bool ref @@ stateless
# val spec : (Arg.key * Arg.spec * Arg.doc) list
# val before_parse_hook : unit -> unit @@ stateless
# type expression_prio =
# Dune__exe.Pa_ocaml_prelude.Initial.expression_prio =
# Seq
# | If
# | Aff
# | Tupl
# | Disj
# | Conj
# | Eq
# | Append
# | Cons
# | Sum
# | Prod
# | Pow
# | Opp
# | App
# | Dash
# | Dot
# | Prefix
# | Atom
# val expression_prios : expression_prio list @@ stateless
# val next_exp : expression_prio -> expression_prio @@ stateless
# type alm =
# Dune__exe.Pa_ocaml_prelude.Initial.alm =
# NoMatch
# | Match
# | Let
# val allow_match : alm -> bool @@ stateless
# val allow_let : alm -> bool @@ stateless
# val string_exp : alm * expression_prio -> string @@ portable
# val expression_lvl :
# alm * expression_prio ->
# Parsetree.expression Earley_core.Earley.grammar
# val set_expression_lvl :
# (alm * expression_prio ->
# Parsetree.expression Earley_core.Earley.grammar) ->
# unit
# val expression : Parsetree.expression Earley_core.Earley.grammar
# val structure_item :
# Parsetree.structure_item list Earley_core.Earley.grammar
# val signature_item :
# Parsetree.signature_item list Earley_core.Earley.grammar
# val parameter :
# bool ->
# [ `Arg of
# Asttypes.arg_label * Parsetree.expression option *
# Parsetree.pattern
# | `Type of string Location.loc ] Earley_core.Earley.grammar
# ...
# end @ stateful
# is not included in Dune__exe__Pa_ocaml.Extension @ stateful
# Values do not match:
# val extra_prefix_expressions :
# Parsetree.expression Earley_core.Earley.grammar list (* in a structure at stateful *)
# is not included in
# val extra_prefix_expressions :
# Parsetree.expression Earley_core.Earley.grammar list @@ stateless (* in a structure at stateful *)
# The left-hand side is "stateful"
# but the right-hand side is "stateless".
# File "boot/pa_ocaml_prelude.ml", line 228, characters 8-32:
# Expected declaration
# File "boot/pa_parser.ml", line 1296, characters 8-32: Actual declaration
# (cd _build/default && /home/opam/.opam/5.2.0+flambda2/bin/ocamlopt.opt -w -40 -g -I boot/.pa_default.eobjs/byte -I boot/.pa_default.eobjs/native -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/str -I /home/opam/.opam/5.2.0+flambda2/lib/ocaml/unix -I /home/opam/.opam/5.2.0+flambda2/lib/stdlib-shims -H lib/.earley_core.objs/byte -I lib/.earley_core.objs/native -I lib/.earley_core.objs/public_cmi -I lib/.earley_str.objs/byte -I lib/.earley_str.objs/native -I ocaml_ast/src/.ocaml_ast.objs/byte -I ocaml_ast/src/.ocaml_ast.objs/native -cmi-file boot/.pa_default.eobjs/byte/dune__exe__Pa_main.cmi -no-alias-deps -open Dune__exe -o boot/.pa_default.eobjs/native/dune__exe__Pa_main.cmx -c -impl boot/pa_main.ml)
# File "boot/pa_main.ml", line 80, characters 12-23:
# 80 | (Unix.putenv macro_name value; (st, name, lnum, false))
# ^^^^^^^^^^^
# Alert unsafe_multidomain: Unix.putenv
# Mutating the environment makes reading the environment unsafe.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build earley 3.0.0
+-
+- The following changes have been performed
| - install dune 3.22.0
| - install stdlib-shims 0.3.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.2.0+flambda2/.opam-switch/backup/state-20260401093508.export"
'opam install -vy earley.3.0.0' failed.
"/usr/bin/env" "bash" "-c" "opam remove -y earley.3.0.0
opam install -vy earley.3.0.0
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: earley.3.0.0 | grep -q 'debian-unstable'; 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