Building on x86-bm-c9.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 6d8fcbb41e13: Pulling fs layer 940f12701cd0: Pulling fs layer 1c01f7c02e6a: Pulling fs layer d5c8821fa125: Pulling fs layer 48881f7bc51c: Pulling fs layer adffbea7aa7f: Pulling fs layer 2b56648f5ebb: Pulling fs layer a35c3ba44777: Pulling fs layer 94d175db2ba1: Pulling fs layer adffbea7aa7f: Waiting 2b56648f5ebb: Waiting 48881f7bc51c: Waiting d5c8821fa125: Waiting a35c3ba44777: Waiting 1c01f7c02e6a: Verifying Checksum 1c01f7c02e6a: Download complete 940f12701cd0: Verifying Checksum 940f12701cd0: Download complete d5c8821fa125: Verifying Checksum d5c8821fa125: Download complete 48881f7bc51c: Verifying Checksum 48881f7bc51c: Download complete 2b56648f5ebb: Verifying Checksum 2b56648f5ebb: Download complete a35c3ba44777: Verifying Checksum 94d175db2ba1: Verifying Checksum 94d175db2ba1: Download complete adffbea7aa7f: Verifying Checksum adffbea7aa7f: Download complete 6d8fcbb41e13: Verifying Checksum 6d8fcbb41e13: Download complete 6d8fcbb41e13: Pull complete 940f12701cd0: Pull complete 1c01f7c02e6a: Pull complete d5c8821fa125: Pull complete 48881f7bc51c: Pull complete adffbea7aa7f: Pull complete 2b56648f5ebb: Pull complete a35c3ba44777: Pull complete 94d175db2ba1: Pull complete Digest: sha256:d566aebdbe5296cf14b3f26a3c52fbcf1f1c4ebf5a986e6a1c6c95da3fd3bf7c Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-03-07 13:12.47 ---> 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-03-07 13:12.47 ---> 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 862a7640b194b6ef60dc2d24341920e48dd021fe")) 2025-03-07 13:12.47 ---> using "60bf8bf619037178d11c43c4668d6e1d6a66962e4c98cafc7e1e44b72e1ca096" 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-03-07 13:12.47 ---> using "0e7bfb73d90f64fc5165c1534214ae6122f677bcbc093f353664b69acd373307" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> 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) 2025-03-07 13:12.47 ---> using "44b5594daa67dac5f4fc296d885aea2d7af4ab990a63cb1978768b7a517b0f35" 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-03-07-0807.56-F-2025-03-02-1408.49.pdiff [424 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-03-07-0807.56-F-2025-03-02-1408.49.pdiff [424 kB] - Fetched 692 kB in 3s (247 kB/s) - Reading package lists... - 2025-03-07 13:12.47 ---> using "3ef1e55ec7f8782c317ae797c6470318ace127bb749f8aa58c737eadb996d34d" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.17.2 The following actions will be performed: === install 1 package - install dune 3.17.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.17.2 (cached) -> installed dune.3.17.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-03-07 13:12.47 ---> using "8d66610464de6d4fa5a84855f55403cc052d6fa491cfea5e375527669790a80c" from cache /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "curl -fsSL https://get.dune.build/install | sh")) #=#=# ##O#-# ##O=# # 0.1% 1.2% ## 3.1% ######### 12.7% ################### 26.6% ################################################################### 93.3% ######################################################################## 100.0% dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell) export PATH="/home/opam/.local/bin:$PATH" To get started, run: dune --help 2025-03-07 13:12.47 ---> using "c02e58fe297321b6d95e1895b94ae5d442201572a70bcd10877952081e58a9e4" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "sudo apt-get install -y python3-sexpdata && echo 'import sexpdata\ \nwith open(\"dune-project\", \"r\") as f:\ \n content = [i for i in sexpdata.loads(\"(\" + f.read() + \")\") if not i[0] == sexpdata.Symbol(\"package\")]\ \n print(sexpdata.dumps(content[0]))\ \n for i in content[1:]:\ \n print(sexpdata.dumps(i))' > /tmp/opam-health-check-remove-package.py")) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types python3 python3-minimal python3.13 python3.13-minimal Suggested packages: python3-doc python3-tk python3-venv python3.13-venv python3.13-doc binfmt-support The following NEW packages will be installed: libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types python3 python3-minimal python3-sexpdata python3.13 python3.13-minimal 0 upgraded, 9 newly installed, 0 to remove and 31 not upgraded. Need to get 5893 kB of archives. After this operation, 23.1 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian unstable/main amd64 libpython3.13-minimal amd64 3.13.2-1 [859 kB] Get:2 http://deb.debian.org/debian unstable/main amd64 python3.13-minimal amd64 3.13.2-1 [2205 kB] Get:3 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.13.2-2 [27.1 kB] Get:4 http://deb.debian.org/debian unstable/main amd64 media-types all 12.0.0 [28.9 kB] Get:5 http://deb.debian.org/debian unstable/main amd64 libpython3.13-stdlib amd64 3.13.2-1 [1979 kB] Get:6 http://deb.debian.org/debian unstable/main amd64 python3.13 amd64 3.13.2-1 [745 kB] Get:7 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.13.2-2 [10.1 kB] Get:8 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.13.2-2 [28.1 kB] Get:9 http://deb.debian.org/debian unstable/main amd64 python3-sexpdata all 1.0.2-1 [9940 B] Fetched 5893 kB in 0s (70.1 MB/s) 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 ... 19688 files and directories currently installed.) Preparing to unpack .../libpython3.13-minimal_3.13.2-1_amd64.deb ... Unpacking libpython3.13-minimal:amd64 (3.13.2-1) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../python3.13-minimal_3.13.2-1_amd64.deb ... Unpacking python3.13-minimal (3.13.2-1) ... Setting up libpython3.13-minimal:amd64 (3.13.2-1) ... Setting up python3.13-minimal (3.13.2-1) ... 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 ... 20013 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.13.2-2_amd64.deb ... Unpacking python3-minimal (3.13.2-2) ... Selecting previously unselected package media-types. Preparing to unpack .../media-types_12.0.0_all.deb ... Unpacking media-types (12.0.0) ... Selecting previously unselected package libpython3.13-stdlib:amd64. Preparing to unpack .../libpython3.13-stdlib_3.13.2-1_amd64.deb ... Unpacking libpython3.13-stdlib:amd64 (3.13.2-1) ... Selecting previously unselected package python3.13. Preparing to unpack .../python3.13_3.13.2-1_amd64.deb ... Unpacking python3.13 (3.13.2-1) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../libpython3-stdlib_3.13.2-2_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.13.2-2) ... Setting up python3-minimal (3.13.2-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 ... 20463 files and directories currently installed.) Preparing to unpack .../python3_3.13.2-2_amd64.deb ... Unpacking python3 (3.13.2-2) ... Selecting previously unselected package python3-sexpdata. Preparing to unpack .../python3-sexpdata_1.0.2-1_all.deb ... Unpacking python3-sexpdata (1.0.2-1) ... Setting up media-types (12.0.0) ... Setting up libpython3.13-stdlib:amd64 (3.13.2-1) ... Setting up libpython3-stdlib:amd64 (3.13.2-2) ... Setting up python3.13 (3.13.2-1) ... Setting up python3 (3.13.2-2) ... running python rtupdate hooks for python3.13... running python post-rtupdate hooks for python3.13... Setting up python3-sexpdata (1.0.2-1) ... 2025-03-07 13:12.47 ---> using "641693f986079688faa547bc6a553fcfe2db9e7b91353eac819c1bc20a34652b" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\ \n(package\ \n (name dummy)\ \n (allow_empty true)\ \n (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Solution for dune.lock: - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-config.3 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 2025-03-07 13:12.47 ---> using "5eff19f0250fc3da06e7081e5169d1710bb61a7b32b955ce187f4bce1879693f" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "cd $HOME && opam source extunix.0.4.3 && cd extunix.0.4.3 && if [ -f opam ]; then mv opam extunix.opam; fi && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && opam install ./ --depext-only --with-test --with-doc && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw extunix.0.4.3 > extunix.opam && python3 /tmp/opam-health-check-remove-package.py > dune-project-new && mv dune-project-new dune-project && sudo apt-get remove -y python3-sexpdata && sudo apt-get autoremove -y && echo '(lang dune 3.17)\ \n(lock_dir\ \n (repositories overlay default))\ \n\ \n(repository\ \n (name default)\ \n (url \"file:///home/opam/opam-repository\"))\ \n\ \n\ \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock &> /tmp/packages-wanted || true && echo extunix >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-wanted ; then echo $package >> /tmp/packages-to-build ; fi ; done < /tmp/packages-locally-available && while read package ; do opam show --raw $package > $package.opam; done < /tmp/packages-to-build && while read package ; do if [ ! -f ${package}.opam ]; then echo \"opam-version: \\\"2.0\\\"\" > ${package}.opam; fi; done < /tmp/packages-locally-available && paste -s -d , /tmp/packages-to-build > /tmp/packages-for-dune && PATH=$HOME/.local/bin:$PATH dune pkg lock && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && PATH=$HOME/.local/bin:$PATH dune build --profile=release --only-packages $(cat /tmp/packages-for-dune) || (echo \"opam-health-check: Build failed\" && exit 1)")) Successfully extracted to /home/opam/extunix.0.4.3 Traceback (most recent call last): File "/tmp/opam-health-check-remove-package.py", line 3, in <module> content = [i for i in sexpdata.loads("(" + f.read() + ")") if not i[0] == sexpdata.Symbol("package")] ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 199, in loads obj = parse(string, **kwds) File "/usr/lib/python3/dist-packages/sexpdata.py", line 802, in parse return Parser(string, **kwds).parse() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 781, in parse (i, sexp) = self.parse_sexp(0) ~~~~~~~~~~~~~~~^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 752, in parse_sexp (i, subsexp) = self.parse_sexp(i + 1) ~~~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 752, in parse_sexp (i, subsexp) = self.parse_sexp(i + 1) ~~~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 752, in parse_sexp (i, subsexp) = self.parse_sexp(i + 1) ~~~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 745, in parse_sexp (i, subsexp) = self.parse_str(i) ~~~~~~~~~~~~~~^^^ File "/usr/lib/python3/dist-packages/sexpdata.py", line 682, in parse_str end = match.start() ^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'start' grep: /tmp/packages-wanted: No such file or directory Solution for dune.lock: - base-bigarray.base - base-bytes.base - base-unix.base - csexp.1.5.2 - dune-configurator.3.17.2 - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-compiler-libs.v0.17.0 - ocaml-config.3 - ocamlfind.1.9.8+dune - ounit2.2.2.7 - ppx_derivers.1.2.1 - ppxlib.0.36.0 - seq.base - sexplib0.v0.17.0 - stdlib-shims.0.3.0 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building ocaml-config.3 Building ocaml.5.3.0 Downloading ppx_derivers.1.2.1 Building ppx_derivers.1.2.1 Downloading sexplib0.v0.17.0 Building sexplib0.v0.17.0 Downloading ocaml-compiler-libs.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading stdlib-shims.0.3.0 Building stdlib-shims.0.3.0 Downloading ppxlib.0.36.0 Building ppxlib.0.36.0 Building base-unix.base Building seq.base Downloading ounit2.2.2.7 Building ounit2.2.2.7 Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading dune-configurator.3.17.2 Building dune-configurator.3.17.2 Downloading ocamlfind.1.9.8+dune Building ocamlfind.1.9.8+dune Building base-bytes.base Building base-bigarray.base (cd _build/default/src && ../discover/discover.exe) checking EVENTFD.............ok checking ATFILE..............ok checking RENAMEAT2...........ok checking RENAME_WHITEOUT.....ok checking DIRFD...............ok checking STATVFS.............ok checking FSTATVFS............ok checking SIOCGIFCONF.........ok checking IFADDRS.............ok checking INET_NTOA...........ok checking INET_NTOP...........ok checking UNAME...............ok checking FADVISE.............ok checking FALLOCATE...........ok checking TTY_IOCTL...........ok checking TTYNAME.............ok checking CTERMID.............ok checking GETTID..............ok checking PGID................ok checking SETREUID............ok checking FSYNC...............ok checking FDATASYNC...........ok checking SYNC................ok checking SYNCFS..............ok checking REALPATH............ok checking SIGNALFD............ok checking PTRACE..............ok checking RESOURCE............ok checking MLOCKALL............ok checking STRPTIME............ok checking STRTIME.............ok checking TIMEZONE............ok checking TIMEGM..............ok checking PTS.................ok checking FCNTL...............ok checking TCPGRP..............ok checking EXECINFO............ok checking SETENV..............ok checking CLEARENV............ok checking MKDTEMP.............ok checking MALLOC_INFO.........ok checking MALLOC_STATS........ok checking MEMALIGN............ok checking ENDIAN..............ok checking READ_CREDENTIALS....ok checking FEXECVE.............ok checking SENDMSG.............ok checking PREAD...............ok checking PWRITE..............ok checking READ................ok checking WRITE...............ok checking MKSTEMPS............ok checking MKOSTEMPS...........ok checking SETRESUID...........ok checking SYSCONF.............ok checking SPLICE..............ok checking TEE.................ok checking VMSPLICE............ok checking SOCKOPT.............ok checking TCP_KEEPIDLE........ok checking TCP_KEEPCNT.........ok checking TCP_KEEPINTVL.......ok checking SO_REUSEPORT........ok checking POLL................ok checking SYSINFO.............ok checking MCHECK..............ok checking MOUNT...............ok checking UNSHARE.............ok checking CHROOT..............ok checking SYSLOG..............ok (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/unix -I ../../_private/default/.pkg/ocamlfind/target/lib/bytes -o rename.o -c rename.c) rename.c: In function 'caml_extunix_renameat2': rename.c:40:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | caml_stat_free(oldname); | ^~~~~~~ In file included from config.h:26, from rename.c:2: /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *' 117 | CAMLextern void caml_stat_free(caml_stat_block); | ^~~~~~~~~~~~~~~ rename.c:41:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | caml_stat_free(newname); | ^~~~~~~ /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *' 117 | CAMLextern void caml_stat_free(caml_stat_block); | ^~~~~~~~~~~~~~~ (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I ppx_have/.ppx_have.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/ocaml-compiler-libs/target/lib/ocaml-compiler-libs/common -I ../_private/default/.pkg/ocaml-compiler-libs/target/lib/ocaml-compiler-libs/shadow -I ../_private/default/.pkg/ppx_derivers/target/lib/ppx_derivers -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib/ast -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib/astlib -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib/print_diff -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib/stdppx -I ../_private/default/.pkg/ppxlib/target/lib/ppxlib/traverse_builtins -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -no-alias-deps -open Ppx_have__ -o ppx_have/.ppx_have.objs/byte/ppx_have.cmo -c -impl ppx_have/ppx_have.pp.ml) File "ppx_have/ppx_have.ml", line 157, characters 34-48: 157 | let expr = pexp_function ~loc (make_have ()) in ^^^^^^^^^^^^^^ Error: This expression has type "Ppxlib__.Import.case list" but an expression was expected of type "Ppxlib__.Import.function_param list" Type "Ppxlib__.Import.case" = "Astlib.Ast_502.Parsetree.case" is not compatible with type "Ppxlib__.Import.function_param" = "Astlib.Ast_502.Parsetree.function_param" opam-health-check: Build failed "/usr/bin/env" "bash" "-c" "cd $HOME && opam source extunix.0.4.3 && cd extunix.0.4.3 && if [ -f opam ]; then mv opam extunix.opam; fi && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && opam install ./ --depext-only --with-test --with-doc && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw extunix.0.4.3 > extunix.opam && python3 /tmp/opam-health-check-remove-package.py > dune-project-new && mv dune-project-new dune-project && sudo apt-get remove -y python3-sexpdata && sudo apt-get autoremove -y && echo '(lang dune 3.17) (lock_dir (repositories overlay default)) (repository (name default) (url "file:///home/opam/opam-repository")) ' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock &> /tmp/packages-wanted || true && echo extunix >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-wanted ; then echo $package >> /tmp/packages-to-build ; fi ; done < /tmp/packages-locally-available && while read package ; do opam show --raw $package > $package.opam; done < /tmp/packages-to-build && while read package ; do if [ ! -f ${package}.opam ]; then echo "opam-version: \"2.0\"" > ${package}.opam; fi; done < /tmp/packages-locally-available && paste -s -d , /tmp/packages-to-build > /tmp/packages-for-dune && PATH=$HOME/.local/bin:$PATH dune pkg lock && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && PATH=$HOME/.local/bin:$PATH dune build --profile=release --only-packages $(cat /tmp/packages-for-dune) || (echo "opam-health-check: Build failed" && exit 1)" failed with exit status 1 Failed: Build failed