Building on phoebe.caelum.ci.dev (from ocaml/opam:debian-unstable) 2025-04-21 12:44.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")) 2025-04-21 12:44.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 999bff3ed88d26f76ff7eaddbfa7af49ed4737dc")) 2025-04-21 12:44.07 ---> using "826c465c9ef28e6e0f0e6975e12eb0e91d1a070a9820c6e966bf86cdd08156ec" 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-04-21 12:44.07 ---> using "1540013f15d4984bcd7cc6765515a9d8102147bba12b5acc1ee668d894197f46" 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-dune' '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-dune) 2025-04-21 12:44.07 ---> using "5aa6aa6f284c62ed31fe173cd25ee468a2a3d7efe3d0e1db4e67f9c9c5a90ac1" 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-04-21-0804.17-F-2025-04-13-0805.00.pdiff [520 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-04-21-0804.17-F-2025-04-13-0805.00.pdiff [520 kB] - Fetched 788 kB in 5s (163 kB/s) - Reading package lists... - 2025-04-21 12:44.07 ---> using "9d725d2f42fb6bcf24e703700791b18b8428f3c7fe403e895cf209a049e42d24" 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.18.1 The following actions will be performed: === install 1 package - install dune 3.18.1 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.18.1 (cached) -> installed dune.3.18.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-21 12:44.07 ---> using "95dbe56143ae48921c1fe2216428ec18b7809157cb3245ce76f5dac8e77087c3" 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.4% #### 6.0% ######## 12.5% ################################ 45.8% #################################### 51.3% #################################################### 73.1% ########################################################## 80.7% ###################################################################### 98.0% ######################################################################## 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-04-21 12:44.08 ---> using "d0a35612dfed3cce7e9d7dc27bc67697b40f3cde299202894e5f06b1d3b6e2b4" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "mkdir /tmp/sexp && cd /tmp/sexp && opam switch create ./ ocaml-base-compiler.5.2.1 --no-install && opam install -y sexp && cd -")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.1"}] <><> 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.1 (cached) -> installed ocaml-base-compiler.5.2.1 -> installed ocaml-config.3 -> installed ocaml.5.2.1 -> installed base-domains.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env) The following actions will be performed: === install 101 packages - install angstrom 0.16.1 [required by jsonaf] - install async v0.17.0 [required by sexp] - install async_kernel v0.17.0 [required by async] - install async_log v0.17.0 [required by async] - install async_rpc_kernel v0.17.0 [required by async] - install async_unix v0.17.0 [required by async] - install base v0.17.1 [required by jsonaf, sexp_select] - install base_bigstring v0.17.0 [required by core] - install base_quickcheck v0.17.0 [required by core] - install bigstringaf 0.10.0 [required by angstrom, faraday] - install bin_prot v0.17.0 [required by core] - install capitalization v0.17.0 [required by ppx_string_conv] - install conf-g++ 1.0 [required by re2] - install core v0.17.1 [required by sexp] - install core_kernel v0.17.0 [required by sexp] - install core_unix v0.17.1 [required by sexp] - install csexp 1.5.2 [required by dune-configurator] - install cstruct 6.2.0 [required by async_unix] - install csvfields v0.17.0 [required by sexp] - install dune 3.18.1 [required by sexp] - install dune-configurator 3.18.1 [required by bigstringaf] - install expect_test_helpers_core v0.17.0 [required by core_unix] - install faraday 0.8.2 [required by jsonaf] - install fieldslib v0.17.0 [required by core] - install fmt 0.10.0 [required by cstruct] - install gel v0.17.0 [required by async_rpc_kernel] - install int_repr v0.17.0 [required by core_kernel] - install jane-street-headers v0.17.0 [required by core] - install jane_rope v0.17.0 [required by re2] - install jsonaf v0.17.0 [required by sexp] - install jst-config v0.17.0 [required by shell] - install num 1.5-1 [required by csvfields] - install ocaml-compiler-libs v0.17.0 [required by ppxlib] - install ocaml-syntax-shims 1.0.0 [required by angstrom] - install ocaml_intrinsics_kernel v0.17.1 [required by base] - install ocamlbuild 0.16.1 [required by uutf] - install ocamlfind 1.9.8 [required by uutf] - install parsexp v0.17.0 [required by sexplib] - install ppx_assert v0.17.0 [required by core] - install ppx_base v0.17.0 [required by core] - install ppx_bench v0.17.0 [required by ppx_jane] - install ppx_bin_prot v0.17.0 [required by ppx_jane] - install ppx_cold v0.17.0 [required by ppx_base] - install ppx_compare v0.17.0 [required by ppx_diff] - install ppx_custom_printf v0.17.0 [required by ppx_jane] - install ppx_derivers 1.2.1 [required by ppxlib] - install ppx_diff v0.17.0 [required by core] - install ppx_disable_unused_warnings v0.17.0 [required by ppx_jane] - install ppx_enumerate v0.17.0 [required by ppx_diff] - install ppx_expect v0.17.2 [required by ppx_jane] - install ppx_fields_conv v0.17.0 [required by ppx_jane] - install ppx_fixed_literal v0.17.0 [required by ppx_jane] - install ppx_globalize v0.17.0 [required by ppx_base] - install ppx_hash v0.17.0 [required by core] - install ppx_here v0.17.0 [required by ppx_jane] - install ppx_ignore_instrumentation v0.17.0 [required by ppx_jane] - install ppx_inline_test v0.17.0 [required by core] - install ppx_jane v0.17.0 [required by sexp] - install ppx_let v0.17.0 [required by ppx_jane] - install ppx_log v0.17.0 [required by ppx_jane] - install ppx_module_timer v0.17.0 [required by ppx_jane] - install ppx_optcomp v0.17.0 [required by core_kernel, core, async_unix] - install ppx_optional v0.17.0 [required by ppx_jane] - install ppx_pipebang v0.17.0 [required by ppx_jane] - install ppx_sexp_conv v0.17.0 [required by core] - install ppx_sexp_message v0.17.0 [required by core] - install ppx_sexp_value v0.17.0 [required by ppx_jane] - install ppx_stable v0.17.0 [required by ppx_jane] - install ppx_stable_witness v0.17.0 [required by ppx_jane] - install ppx_string v0.17.0 [required by ppx_jane] - install ppx_string_conv v0.17.0 [required by ppx_jane] - install ppx_tydi v0.17.0 [required by ppx_jane] - install ppx_typerep_conv v0.17.0 [required by ppx_jane] - install ppx_variants_conv v0.17.0 [required by ppx_jane] - install ppxlib 0.35.0 [required by ppx_diff] - install ppxlib_jane v0.17.0 [required by ppx_diff] - install protocol_version_header v0.17.0 [required by async_rpc_kernel] - install re 1.12.0 [required by expect_test_helpers_core] - install re2 v0.17.0 [required by sexp] - install regex_parser_intf v0.17.0 [required by re2] - install seq base [required by re] - install sexp v0.17.0 - install sexp_diff v0.17.0 [required by sexp] - install sexp_macro v0.17.0 [required by sexp] - install sexp_pretty v0.17.0 [required by sexp] - install sexp_select v0.17.0 [required by sexp] - install sexplib v0.17.0 [required by sexp] - install sexplib0 v0.17.0 [required by base] - install shell v0.17.0 [required by sexp] - install spawn v0.17.0 [required by shell] - install splittable_random v0.17.0 [required by core] - install stdio v0.17.0 [required by core] - install stdlib-shims 0.3.0 [required by ppxlib] - install textutils v0.17.0 [required by async, shell] - install time_now v0.17.0 [required by core] - install timezone v0.17.0 [required by async_log] - install topkg 1.0.8 [required by uutf] - install typerep v0.17.1 [required by core] - install uopt v0.17.0 [required by core_kernel] - install uutf 1.0.4 [required by textutils] - install variantslib v0.17.0 [required by core] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved async.v0.17.0 (cached) -> retrieved angstrom.0.16.1 (cached) -> retrieved async_kernel.v0.17.0 (cached) -> retrieved async_log.v0.17.0 (cached) -> retrieved async_rpc_kernel.v0.17.0 (cached) -> retrieved async_unix.v0.17.0 (cached) -> retrieved base.v0.17.1 (cached) -> retrieved base_bigstring.v0.17.0 (cached) -> retrieved base_quickcheck.v0.17.0 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved capitalization.v0.17.0 (cached) -> retrieved bin_prot.v0.17.0 (cached) -> retrieved core_kernel.v0.17.0 (cached) -> retrieved core.v0.17.1 (cached) -> installed conf-g++.1.0 -> retrieved core_unix.v0.17.1 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved csvfields.v0.17.0 (cached) -> retrieved expect_test_helpers_core.v0.17.0 (cached) -> retrieved faraday.0.8.2 (cached) -> retrieved fieldslib.v0.17.0 (cached) -> retrieved gel.v0.17.0 (cached) -> retrieved fmt.0.10.0 (cached) -> retrieved int_repr.v0.17.0 (cached) -> retrieved jane-street-headers.v0.17.0 (cached) -> retrieved jane_rope.v0.17.0 (cached) -> retrieved jsonaf.v0.17.0 (cached) -> retrieved jst-config.v0.17.0 (cached) -> retrieved num.1.5-1 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved parsexp.v0.17.0 (cached) -> retrieved ppx_assert.v0.17.0 (cached) -> retrieved ppx_base.v0.17.0 (cached) -> retrieved ppx_bench.v0.17.0 (cached) -> retrieved ppx_bin_prot.v0.17.0 (cached) -> retrieved ppx_cold.v0.17.0 (cached) -> retrieved ppx_compare.v0.17.0 (cached) -> retrieved ppx_custom_printf.v0.17.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_disable_unused_warnings.v0.17.0 (cached) -> retrieved ppx_diff.v0.17.0 (cached) -> retrieved ppx_enumerate.v0.17.0 (cached) -> retrieved ppx_expect.v0.17.2 (cached) -> retrieved ppx_fields_conv.v0.17.0 (cached) -> retrieved ppx_fixed_literal.v0.17.0 (cached) -> retrieved ppx_globalize.v0.17.0 (cached) -> retrieved ppx_hash.v0.17.0 (cached) -> retrieved ppx_here.v0.17.0 (cached) -> retrieved ppx_ignore_instrumentation.v0.17.0 (cached) -> retrieved ppx_inline_test.v0.17.0 (cached) -> retrieved ppx_jane.v0.17.0 (cached) -> retrieved ppx_let.v0.17.0 (cached) -> retrieved ppx_log.v0.17.0 (cached) -> retrieved ppx_module_timer.v0.17.0 (cached) -> retrieved ppx_optcomp.v0.17.0 (cached) -> retrieved ppx_optional.v0.17.0 (cached) -> retrieved ppx_pipebang.v0.17.0 (cached) -> retrieved ppx_sexp_conv.v0.17.0 (cached) -> retrieved ppx_sexp_message.v0.17.0 (cached) -> retrieved ppx_sexp_value.v0.17.0 (cached) -> retrieved ppx_stable.v0.17.0 (cached) -> retrieved ppx_stable_witness.v0.17.0 (cached) -> retrieved ppx_string.v0.17.0 (cached) -> retrieved ppx_string_conv.v0.17.0 (cached) -> retrieved ppx_tydi.v0.17.0 (cached) -> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached) -> installed num.1.5-1 -> retrieved ppx_typerep_conv.v0.17.0 (cached) -> retrieved ppx_variants_conv.v0.17.0 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved ppxlib_jane.v0.17.0 (cached) -> retrieved protocol_version_header.v0.17.0 (cached) -> retrieved regex_parser_intf.v0.17.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexp.v0.17.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved re2.v0.17.0 (cached) -> retrieved sexp_diff.v0.17.0 (cached) -> retrieved sexp_macro.v0.17.0 (cached) -> retrieved sexp_pretty.v0.17.0 (cached) -> retrieved sexp_select.v0.17.0 (cached) -> retrieved sexplib.v0.17.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved shell.v0.17.0 (cached) -> retrieved spawn.v0.17.0 (cached) -> retrieved splittable_random.v0.17.0 (cached) -> retrieved stdio.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved textutils.v0.17.0 (cached) -> retrieved time_now.v0.17.0 (cached) -> retrieved timezone.v0.17.0 (cached) -> retrieved typerep.v0.17.1 (cached) -> retrieved uopt.v0.17.0 (cached) -> retrieved variantslib.v0.17.0 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved topkg.1.0.8 (cached) -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed topkg.1.0.8 -> installed uutf.1.0.4 -> installed fmt.0.10.0 -> installed dune.3.18.1 -> installed jane-street-headers.v0.17.0 -> installed ppx_derivers.1.2.1 -> installed csexp.1.5.2 -> installed cstruct.6.2.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed re.1.12.0 -> installed sexplib0.v0.17.0 -> installed spawn.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed parsexp.v0.17.0 -> installed dune-configurator.3.18.1 -> installed bigstringaf.0.10.0 -> installed sexplib.v0.17.0 -> installed faraday.0.8.2 -> installed angstrom.0.16.1 -> installed base.v0.17.1 -> installed variantslib.v0.17.0 -> installed regex_parser_intf.v0.17.0 -> installed fieldslib.v0.17.0 -> installed stdio.v0.17.0 -> installed typerep.v0.17.1 -> installed ppxlib.0.35.0 -> installed ppxlib_jane.v0.17.0 -> installed ppx_optcomp.v0.17.0 -> installed ppx_tydi.v0.17.0 -> installed ppx_disable_unused_warnings.v0.17.0 -> installed ppx_cold.v0.17.0 -> installed ppx_here.v0.17.0 -> installed ppx_stable_witness.v0.17.0 -> installed ppx_typerep_conv.v0.17.0 -> installed ppx_variants_conv.v0.17.0 -> installed ppx_fields_conv.v0.17.0 -> installed ppx_stable.v0.17.0 -> installed ppx_pipebang.v0.17.0 -> installed ppx_fixed_literal.v0.17.0 -> installed ppx_ignore_instrumentation.v0.17.0 -> installed ppx_enumerate.v0.17.0 -> installed ppx_globalize.v0.17.0 -> installed ppx_compare.v0.17.0 -> installed ppx_optional.v0.17.0 -> installed ppx_sexp_conv.v0.17.0 -> installed ppx_let.v0.17.0 -> installed ppx_hash.v0.17.0 -> installed ppx_assert.v0.17.0 -> installed ppx_sexp_value.v0.17.0 -> installed ppx_sexp_message.v0.17.0 -> installed ppx_custom_printf.v0.17.0 -> installed ppx_base.v0.17.0 -> installed capitalization.v0.17.0 -> installed jst-config.v0.17.0 -> installed sexp_pretty.v0.17.0 -> installed bin_prot.v0.17.0 -> installed ppx_string.v0.17.0 -> installed time_now.v0.17.0 -> installed ppx_bin_prot.v0.17.0 -> installed ppx_string_conv.v0.17.0 -> installed ppx_module_timer.v0.17.0 -> installed ppx_inline_test.v0.17.0 -> installed ppx_bench.v0.17.0 -> installed ppx_expect.v0.17.2 -> installed splittable_random.v0.17.0 -> installed ppx_log.v0.17.0 -> installed base_quickcheck.v0.17.0 -> installed ppx_jane.v0.17.0 -> installed gel.v0.17.0 -> installed jane_rope.v0.17.0 -> installed uopt.v0.17.0 -> installed int_repr.v0.17.0 -> installed jsonaf.v0.17.0 -> installed base_bigstring.v0.17.0 -> installed ppx_diff.v0.17.0 -> installed core.v0.17.1 -> installed csvfields.v0.17.0 -> installed protocol_version_header.v0.17.0 -> installed sexp_diff.v0.17.0 -> installed timezone.v0.17.0 -> installed expect_test_helpers_core.v0.17.0 -> installed core_kernel.v0.17.0 -> installed sexp_select.v0.17.0 -> installed async_kernel.v0.17.0 -> installed core_unix.v0.17.1 -> installed textutils.v0.17.0 -> installed async_rpc_kernel.v0.17.0 -> installed shell.v0.17.0 -> installed async_unix.v0.17.0 -> installed async_log.v0.17.0 -> installed async.v0.17.0 -> installed sexp_macro.v0.17.0 -> installed re2.v0.17.0 -> installed sexp.v0.17.0 Done. # To update the current shell environment, run: eval $(opam env) / 2025-04-21 12:44.53 ---> saved as "fcc893785a8bd8a11a5dac229f3c6dcaed83e493d66088f0b19f08156b45b8f0" /: (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-04-21 12:44.59 ---> saved as "ba136e82490c6eda8cf6ac9d816a7cdee1d8fe231e25bc7ebbe6188e6697dadb" /: (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 bls12-381-gen.0.5.0 && cd bls12-381-gen.0.5.0 && if [ -f opam ]; then mv opam bls12-381-gen.opam; fi && echo bls12-381-gen >> /tmp/packages-in-repo && for opam in *.opam; do echo ${opam%.opam} >> /tmp/packages-in-repo; done && sed -n 's/(name \\(.*\\))/\\1/p' < dune-project | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' >> /tmp/packages-in-repo && while read package ; do opam show --raw ${package}.0.5.0 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc || (echo \"opam-health-check: Depext unsolvable\" && exit 1) && opam install --dry-run --with-test ./bls12-381-gen.opam | sed -nE 's/(.*)- install ([^[:blank:]]*)(.*)/\\2/p' > /tmp/packages-via-opam && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw bls12-381-gen.0.5.0 > bls12-381-gen.opam && /tmp/sexp/_opam/bin/sexp change '(try (rewrite (package @X) OPAM-HEALTH-CHECK-DROP))' < dune-project | grep -v OPAM-HEALTH-CHECK-DROP > dune-project-new && mv dune-project-new dune-project && 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 && echo bls12-381-gen >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-via-opam ; 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 || (echo \"opam-health-check: Solve failed\" && exit 1) && 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 --release --only-packages $(cat /tmp/packages-for-dune) || (echo \"opam-health-check: Build failed\" && exit 1)")) Successfully extracted to /home/opam/bls12-381-gen.0.5.0 [ERROR] Package conflict! * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.3.0 -> ocaml-compiler >= 5.3.0 -> base-nnp - bls12-381-unix -> ctypes < 0.19.0 You can temporarily relax the switch invariant with `--update-invariant' Solution for dune.lock: - alcotest.1.9.0 - astring.0.8.5 - base-bytes.base - base-threads.base - base-unix.base - bisect_ppx.2.8.3 - clap.0.3.0 - cmdliner.1.3.0 - conf-gmp.5 - cppo.1.8.0 - csexp.1.5.2 - cstruct.6.2.0 - dune-configurator.3.18.1 - ezjsonm.1.3.0 - ff-sig.0.6.2 - fmt.0.10.0 - gen.1.1 - hex.1.5.0 - integers.0.7.0 - integers_stubs_js.1.0 - js_of_ocaml.6.0.1 - js_of_ocaml-compiler.6.0.1 - jsonm.1.0.2 - lwt.5.9.1 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-compiler-libs.v0.17.0 - ocaml-config.3 - ocaml-syntax-shims.1.0.0 - ocamlbuild.0.16.1+dune - ocamlfind.1.9.8+dune - ocplib-endian.1.2 - octez-alcotezt.20.1 - ppx_derivers.1.2.1 - ppxlib.0.35.0 - qcheck-alcotest.0.25 - qcheck-core.0.25 - re.1.12.0 - sedlex.3.4 - seq.base - sexplib0.v0.17.0 - stdlib-shims.0.3.0 - tezt.4.2.0 - topkg.1.0.8 - uutf.1.0.4 - yojson.2.2.2 - zarith.1.13 - zarith_stubs_js.v0.17.0 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building base-unix.base Building ocaml-config.3 Building ocaml.5.3.0 Building seq.base Downloading ocamlfind.1.9.8+dune Downloading ocamlbuild.0.16.1+dune Building ocamlfind.1.9.8+dune Downloading cmdliner.1.3.0 Downloading re.1.12.0 Building ocamlbuild.0.16.1+dune Building cmdliner.1.3.0 Downloading qcheck-core.0.25 Building re.1.12.0 Downloading ocaml-syntax-shims.1.0.0 Downloading stdlib-shims.0.3.0 Building ocaml-syntax-shims.1.0.0 Building qcheck-core.0.25 Building stdlib-shims.0.3.0 Downloading topkg.1.0.8 Building topkg.1.0.8 Downloading fmt.0.10.0 Downloading astring.0.8.5 Downloading uutf.1.0.4 Building fmt.0.10.0 Building astring.0.8.5 Building uutf.1.0.4 Downloading alcotest.1.9.0 Building alcotest.1.9.0 Downloading qcheck-alcotest.0.25 Building qcheck-alcotest.0.25 Building base-bytes.base Building base-threads.base Downloading jsonm.1.0.2 Building jsonm.1.0.2 Downloading cppo.1.8.0 Downloading ocaml-compiler-libs.v0.17.0 Building cppo.1.8.0 Downloading sexplib0.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading ppx_derivers.1.2.1 Downloading gen.1.1 Building sexplib0.v0.17.0 Building ppx_derivers.1.2.1 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building gen.1.1 Building menhirLib.20240715 Building menhirSdk.20240715 Downloading csexp.1.5.2 Downloading clap.0.3.0 Building csexp.1.5.2 Downloading yojson.2.2.2 Building clap.0.3.0 Building menhirCST.20240715 Downloading cstruct.6.2.0 Building yojson.2.2.2 Building cstruct.6.2.0 Downloading menhir.20240715 Building menhir.20240715 Downloading hex.1.5.0 Building hex.1.5.0 Downloading dune-configurator.3.18.1 Downloading ocplib-endian.1.2 Building ocplib-endian.1.2 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Building dune-configurator.3.18.1 Downloading ezjsonm.1.3.0 Building ezjsonm.1.3.0 Downloading lwt.5.9.1 Building lwt.5.9.1 Downloading sedlex.3.4 Building sedlex.3.4 Downloading js_of_ocaml-compiler.6.0.1 Building js_of_ocaml-compiler.6.0.1 Downloading js_of_ocaml.6.0.1 Building js_of_ocaml.6.0.1 Downloading tezt.4.2.0 Building tezt.4.2.0 Downloading octez-alcotezt.20.1 Building octez-alcotezt.20.1 Downloading zarith_stubs_js.v0.17.0 Building zarith_stubs_js.v0.17.0 Downloading integers_stubs_js.1.0 Building integers_stubs_js.1.0 Downloading integers.0.7.0 Building integers.0.7.0 Building conf-gmp.5 File "dune.lock/conf-gmp.pkg", line 5, characters 2-4: 5 | sh ^^ Error: Logs for package conf-gmp /usr/bin/sh: 1: pkg-config: not found test.c:1:10: fatal error: gmp.h: No such file or directory 1 | #include <gmp.h> | ^~~~~~~ compilation terminated. Hint: You may want to verify the following depexts are installed:- libgmp-dev Downloading zarith.1.13 opam-health-check: Build failed "/usr/bin/env" "bash" "-c" "cd $HOME && opam source bls12-381-gen.0.5.0 && cd bls12-381-gen.0.5.0 && if [ -f opam ]; then mv opam bls12-381-gen.opam; fi && echo bls12-381-gen >> /tmp/packages-in-repo && for opam in *.opam; do echo ${opam%.opam} >> /tmp/packages-in-repo; done && sed -n 's/(name \(.*\))/\1/p' < dune-project | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' >> /tmp/packages-in-repo && while read package ; do opam show --raw ${package}.0.5.0 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc || (echo "opam-health-check: Depext unsolvable" && exit 1) && opam install --dry-run --with-test ./bls12-381-gen.opam | sed -nE 's/(.*)- install ([^[:blank:]]*)(.*)/\2/p' > /tmp/packages-via-opam && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw bls12-381-gen.0.5.0 > bls12-381-gen.opam && /tmp/sexp/_opam/bin/sexp change '(try (rewrite (package @X) OPAM-HEALTH-CHECK-DROP))' < dune-project | grep -v OPAM-HEALTH-CHECK-DROP > dune-project-new && mv dune-project-new dune-project && echo '(lang dune 3.17) (lock_dir (repositories overlay default)) (repository (name default) (url "file:///home/opam/opam-repository")) ' > dune-workspace && echo bls12-381-gen >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-via-opam ; 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 || (echo "opam-health-check: Solve failed" && exit 1) && 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 --release --only-packages $(cat /tmp/packages-for-dune) || (echo "opam-health-check: Build failed" && exit 1)" failed with exit status 1 Failed: Build failed