Building on x86-bm-c5.sw.ocaml.org (from ocaml/opam:debian-unstable) 2025-02-01 21:16.49 ---> 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")) 2025-02-01 21:16.49 ---> 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 2c9566f0b0de5ab6dad7ce8d22b68a2999a1861f")) 2025-02-01 21:16.49 ---> using "0c7267bf23a887335579114f1251ada4a6f0c6637384ec859f736271ff55a634" 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. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-02-01 21:16.49 ---> using "8ed9426e16eeeae63bf1ab08589286842be93b3d087716df938c26af61ce22e9" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.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-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> 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) 2025-02-01 21:16.49 ---> using "69ec53818efd1adbd5d48e58e5cc4b1b307626bc4e014941d3284db9d1d4727e" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-02-01-0205.24-F-2025-01-30-1408.05.pdiff [120 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-01-0205.24-F-2025-01-30-1408.05.pdiff [120 kB] - Fetched 388 kB in 3s (150 kB/s) - Reading package lists... - 2025-02-01 21:16.49 ---> using "6a203459b9446ba2368cf521deb4cf1e5eef94f49ed0a17262d57079fd655cbb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"luv.0.5.0\"\ \nopam install -vy \"luv.0.5.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"luv.0.5.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\ \n")) [NOTE] luv.0.5.0 is not installed. Nothing to do. The following actions will be performed: === install 10 packages - install bigarray-compat 1.1.0 [required by ctypes] - install conf-python-3 9.0.0 [required by luv] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by luv] - install dune 3.17.2 [required by luv] - install dune-configurator 3.17.2 [required by ctypes] - install integers 0.7.0 [required by ctypes] - install luv 0.5.0 - install result 1.5 [required by luv] - install stdlib-shims 0.3.0 [required by integers] The following system packages will first need to be installed: python3 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "python3" - Selecting previously unselected package libpython3.13-minimal:amd64. - (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 ... 19865 files and directories currently installed.) - Preparing to unpack .../libpython3.13-minimal_3.13.1-3_amd64.deb ... - Unpacking libpython3.13-minimal:amd64 (3.13.1-3) ... - Selecting previously unselected package python3.13-minimal. - Preparing to unpack .../python3.13-minimal_3.13.1-3_amd64.deb ... - Unpacking python3.13-minimal (3.13.1-3) ... - Setting up libpython3.13-minimal:amd64 (3.13.1-3) ... - Setting up python3.13-minimal (3.13.1-3) ... - Selecting previously unselected package python3-minimal. - (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 ... 20190 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.13.1-2_amd64.deb ... - Unpacking python3-minimal (3.13.1-2) ... - Selecting previously unselected package media-types. - Preparing to unpack .../media-types_10.1.0_all.deb ... - Unpacking media-types (10.1.0) ... - Selecting previously unselected package libpython3.13-stdlib:amd64. - Preparing to unpack .../libpython3.13-stdlib_3.13.1-3_amd64.deb ... - Unpacking libpython3.13-stdlib:amd64 (3.13.1-3) ... - Selecting previously unselected package python3.13. - Preparing to unpack .../python3.13_3.13.1-3_amd64.deb ... - Unpacking python3.13 (3.13.1-3) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../libpython3-stdlib_3.13.1-2_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.13.1-2) ... - Setting up python3-minimal (3.13.1-2) ... - Selecting previously unselected package python3. - (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 ... 20640 files and directories currently installed.) - Preparing to unpack .../python3_3.13.1-2_amd64.deb ... - Unpacking python3 (3.13.1-2) ... - Setting up media-types (10.1.0) ... - Setting up libpython3.13-stdlib:amd64 (3.13.1-3) ... - Setting up libpython3-stdlib:amd64 (3.13.1-2) ... - Setting up python3.13 (3.13.1-3) ... - Setting up python3 (3.13.1-2) ... - running python rtupdate hooks for python3.13... - running python post-rtupdate hooks for python3.13... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/29: [bigarray-compat.1.1.0: extract] -> retrieved conf-python-3.9.0.0 (cached) Processing 2/29: [bigarray-compat.1.1.0: extract] Processing 3/29: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 4/29: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 5/29: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [conf-python-3: python3 test.py] -> retrieved bigarray-compat.1.1.0 (cached) Processing 5/29: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [conf-python-3: python3 test.py] Processing 6/29: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [conf-python-3: python3 test.py] -> retrieved csexp.1.5.2 (cached) Processing 6/29: [ctypes.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [conf-python-3: python3 test.py] Processing 7/29: [ctypes.0.23.0: extract] [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [conf-python-3: python3 test.py] -> retrieved ctypes.0.23.0 (cached) Processing 7/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [conf-python-3: python3 test.py] Processing 8/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [luv.0.5.0: extract] [conf-python-3: python3 test.py] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "python3" "test.py" (CWD=/home/opam/.opam/5.2/.opam-switch/build/conf-python-3.9.0.0) - python-3 OK -> compiled conf-python-3.9.0.0 Processing 8/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [luv.0.5.0: extract] -> installed conf-python-3.9.0.0 Processing 9/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [integers.0.7.0: extract] [luv.0.5.0: extract] -> retrieved integers.0.7.0 (cached) Processing 9/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [luv.0.5.0: extract] Processing 10/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [luv.0.5.0: extract] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 10/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [luv.0.5.0: extract] Processing 11/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [luv.0.5.0: extract] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 11/29: [dune.3.17.2, dune-configurator.3.17.2: extract] [luv.0.5.0: extract] -> retrieved luv.0.5.0 (cached) Processing 11/29: [dune.3.17.2, dune-configurator.3.17.2: extract] -> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached) Processing 12/29: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.2) - 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 31 - Processing 12/29: [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" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.2) -> compiled dune.3.17.2 -> installed dune.3.17.2 Processing 14/29: [bigarray-compat: dune build] Processing 15/29: [bigarray-compat: dune build] [csexp: dune build] Processing 16/29: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 17/29: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/csexp.1.5.2) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -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 && /home/opam/.opam/5.2/bin/ocamlopt.opt -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 17/29: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 18/29: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build] Processing 19/29: [bigarray-compat: dune build] [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 19/29: [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 20/29: [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 20/29: [dune-configurator: rm] [stdlib-shims: dune build] -> installed result.1.5 Processing 21/29: [dune-configurator: rm] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 21/29: [dune-configurator: rm] -> installed stdlib-shims.0.3.0 Processing 22/29: [dune-configurator: rm] Processing 23/29: [dune-configurator: rm] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.2) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.2) Processing 23/29: [dune-configurator: dune build] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 23/29: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 24/29: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.2) -> compiled dune-configurator.3.17.2 -> installed dune-configurator.3.17.2 Processing 26/29: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "31" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes.0.23.0) Processing 26/29: [ctypes: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 28/29: [luv: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "luv" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0) - (cd _build/default/src/c && /home/opam/.opam/5.2/bin/ocaml link-gyp.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). - File "src/c/dune", lines 17-33, characters 0-569: - 17 | (rule - 18 | (targets libuv.a dlluv.so) - 19 | (deps (source_tree vendor) link-gyp.ml copy-so.ml) - .... - 31 | (setenv BUILDTYPE Release - 32 | (run make -C vendor/libuv/out libuv))) - 33 | (run ocaml copy-so.ml)))) - (cd _build/default/src/c/vendor/libuv && /usr/bin/python3 gyp_uv.py -f make -Duv_library=static_library) - /home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py:1186: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? - if the_dict_key is 'variables' and variable_name in the_dict: - Traceback (most recent call last): - File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/gyp_uv.py", line 21, in <module> - import gyp - File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/__init__.py", line 10, in <module> - import gyp.input - File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py", line 8, in <module> - import gyp.common - File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/common.py", line 497, in <module> - class OrderedSet(collections.MutableSet): - ^^^^^^^^^^^^^^^^^^^^^^ - AttributeError: module 'collections' has no attribute 'MutableSet' - File "src/c/dune", line 10, characters 9-30: - 10 | (names c_generated_functions helpers) - ^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.opam/5.2/lib/ocaml -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/stdlib-shims -I . -I vendor/libuv/include -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'luv_stub_134_luv_spawn': - c_generated_functions.c:962:38: error: passing argument 5 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] - 962 | luv_spawn(x734, x735, x736, x737, x738, x739, x742, x743, x746, x749, - | ^~~~ - | | - | const char ** - In file included from c_generated_functions.c:6: - helpers.h:184:12: note: expected 'char **' but argument is of type 'const char **' - 184 | char **args, - | ~~~~~~~^~~~ - c_generated_functions.c:962:50: error: passing argument 7 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] - 962 | luv_spawn(x734, x735, x736, x737, x738, x739, x742, x743, x746, x749, - | ^~~~ - | | - | const char ** - helpers.h:186:12: note: expected 'char **' but argument is of type 'const char **' - 186 | char **env, - | ~~~~~~~^~~ - c_generated_functions.c: In function 'luv_stub_149_luv_get_getnameinfo_trampoline': - c_generated_functions.c:1107:4: error: initialization of 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} from incompatible pointer type 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} [-Wincompatible-pointer-types] - 1107 | luv_get_getnameinfo_trampoline(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'luv_stub_150_luv_getnameinfo': - c_generated_functions.c:1119:43: error: passing argument 3 of 'luv_getnameinfo' from incompatible pointer type [-Wincompatible-pointer-types] - 1119 | int x882 = luv_getnameinfo(x875, x876, x877, x878, x879); - | ^~~~ - | | - | void (*)(uv_getnameinfo_t *, int, const char *, const char *) {aka void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)} - helpers.h:157:64: note: expected 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} but argument is of type 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} - 157 | uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [ERROR] The compilation of luv.0.5.0 failed at "dune build -p luv -j 31". #=== ERROR while compiling luv.0.5.0 ==========================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository # path ~/.opam/5.2/.opam-switch/build/luv.0.5.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p luv -j 31 # exit-code 1 # env-file ~/.opam/log/luv-8-9cb117.env # output-file ~/.opam/log/luv-8-9cb117.out ### output ### # (cd _build/default/src/c && /home/opam/.opam/5.2/bin/ocaml link-gyp.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). # File "src/c/dune", lines 17-33, characters 0-569: # 17 | (rule # 18 | (targets libuv.a dlluv.so) # 19 | (deps (source_tree vendor) link-gyp.ml copy-so.ml) # .... # 31 | (setenv BUILDTYPE Release # 32 | (run make -C vendor/libuv/out libuv))) # 33 | (run ocaml copy-so.ml)))) # (cd _build/default/src/c/vendor/libuv && /usr/bin/python3 gyp_uv.py -f make -Duv_library=static_library) # /home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py:1186: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? # if the_dict_key is 'variables' and variable_name in the_dict: # Traceback (most recent call last): # File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/gyp_uv.py", line 21, in <module> # import gyp # File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/__init__.py", line 10, in <module> # import gyp.input # File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/input.py", line 8, in <module> # import gyp.common # File "/home/opam/.opam/5.2/.opam-switch/build/luv.0.5.0/_build/default/src/c/vendor/libuv/build/gyp/pylib/gyp/common.py", line 497, in <module> # class OrderedSet(collections.MutableSet): # ^^^^^^^^^^^^^^^^^^^^^^ # AttributeError: module 'collections' has no attribute 'MutableSet' # File "src/c/dune", line 10, characters 9-30: # 10 | (names c_generated_functions helpers) # ^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.opam/5.2/lib/ocaml -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/stdlib-shims -I . -I vendor/libuv/include -o c_generated_functions.o -c c_generated_functions.c) # c_generated_functions.c: In function 'luv_stub_134_luv_spawn': # c_generated_functions.c:962:38: error: passing argument 5 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] # 962 | luv_spawn(x734, x735, x736, x737, x738, x739, x742, x743, x746, x749, # | ^~~~ # | | # | const char ** # In file included from c_generated_functions.c:6: # helpers.h:184:12: note: expected 'char **' but argument is of type 'const char **' # 184 | char **args, # | ~~~~~~~^~~~ # c_generated_functions.c:962:50: error: passing argument 7 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] # 962 | luv_spawn(x734, x735, x736, x737, x738, x739, x742, x743, x746, x749, # | ^~~~ # | | # | const char ** # helpers.h:186:12: note: expected 'char **' but argument is of type 'const char **' # 186 | char **env, # | ~~~~~~~^~~ # c_generated_functions.c: In function 'luv_stub_149_luv_get_getnameinfo_trampoline': # c_generated_functions.c:1107:4: error: initialization of 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} from incompatible pointer type 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} [-Wincompatible-pointer-types] # 1107 | luv_get_getnameinfo_trampoline(); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'luv_stub_150_luv_getnameinfo': # c_generated_functions.c:1119:43: error: passing argument 3 of 'luv_getnameinfo' from incompatible pointer type [-Wincompatible-pointer-types] # 1119 | int x882 = luv_getnameinfo(x875, x876, x877, x878, x879); # | ^~~~ # | | # | void (*)(uv_getnameinfo_t *, int, const char *, const char *) {aka void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)} # helpers.h:157:64: note: expected 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} but argument is of type 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} # 157 | uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, # | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build luv 0.5.0 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install conf-python-3 9.0.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install dune 3.17.2 | - install dune-configurator 3.17.2 | - install integers 0.7.0 | - install result 1.5 | - 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/.opam-switch/backup/state-20250201211652.export" 'opam install -vy luv.0.5.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "luv.0.5.0" opam install -vy "luv.0.5.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "luv.0.5.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