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 63563b31af74: Pulling fs layer 63563b31af74: Verifying Checksum 63563b31af74: Download complete 63563b31af74: Pull complete Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-26 18:07.38 ---> 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-26 18:07.38 ---> 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 1d1ea2841b231665859c831a77400c2a4deca6f4")) 2025-02-26 18:07.38 ---> using "26edb71e033f6c021f6aed95c1cf22939c08a231a2cfa0c24b2281bd33145e5b" 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-26 18:07.38 ---> using "7efb7ea393cd4e7ff32d44e82f396eb5cc6c9809cf13925aba37e1c16f0b7883" 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-02-26 18:07.38 ---> using "6f34e16995c41c70096e87e00a56b840c5bd411732eaed9a31d1d27d4aa092b7" 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-26-1409.51-F-2025-02-16-2015.54.pdiff [736 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-26-1409.51-F-2025-02-16-2015.54.pdiff [736 kB] - Fetched 1005 kB in 3s (315 kB/s) - Reading package lists... 2025-02-26 18:07.38 ---> using "aefe02236694bbca29d5399b52c171b3e709ce4000a4b1d337be35d95012d1d1" 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-02-26 18:07.38 ---> using "6e7e7e53f3fd027e0377dd6c15485e2e927e9622397364a79382a99c5a5ff57c" 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#-# 0.1% # 1.4% #### 6.2% ################### 26.9% ################################################################### 94.2% ######################################################################## 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-02-26 18:07.38 ---> using "42012678825dcbc35f93596017a63769cc3f22691b6a4c401224c56525dc9509" 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-02-26 18:07.38 ---> using "ca7d82ed485937696c077530c449dd14f7d61c86c045c2da95c88f2a973713c4" 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 hardcaml-lua.0.0.1 && cd hardcaml-lua.0.0.1 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\ \n(lock_dir\ \n (repositories overlay default ))\ \n\ \n(repository\ \n (name default)\ \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\ \n\ \n\ \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Successfully extracted to /home/opam/hardcaml-lua.0.0.1 The following system packages will first need to be installed: libgmp-dev pkg-config python3 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config" "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 ... 19826 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 ... 20151 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.13.2-1_amd64.deb ... - Unpacking python3-minimal (3.13.2-1) ... - 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-1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.13.2-1) ... - Setting up python3-minimal (3.13.2-1) ... - 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 ... 20601 files and directories currently installed.) - Preparing to unpack .../0-python3_3.13.2-1_amd64.deb ... - Unpacking python3 (3.13.2-1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../1-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../2-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up media-types (12.0.0) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up libpython3.13-stdlib:amd64 (3.13.2-1) ... - Setting up libpython3-stdlib:amd64 (3.13.2-1) ... - Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ... - Setting up python3.13 (3.13.2-1) ... - Setting up python3 (3.13.2-1) ... - running python rtupdate hooks for python3.13... - running python post-rtupdate hooks for python3.13... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.40-7) ... Solution for dune.lock: - base.v0.17.1 - base-bigarray.base - base-threads.base - base-unix.base - base_bigstring.v0.17.0 - base_quickcheck.v0.17.0 - bin_prot.v0.17.0 - capitalization.v0.17.0 - conf-c++.1.0 - conf-gmp.4 - conf-pkg-config.4 - conf-python-3.9.0.0 - core.v0.17.1 - core_kernel.v0.17.0 - cppo.1.8.0 - csexp.1.5.2 - dune-configurator.3.17.2 - fieldslib.v0.17.0 - gel.v0.17.0 - hardcaml.v0.17.0 - hardcaml_circuits.v0.17.0 - int_repr.v0.17.0 - iter.1.9 - jane-street-headers.v0.17.0 - jst-config.v0.17.0 - lua-ml.0.9.4 - msat.0.9.1 - num.1.5-1 - 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_intrinsics_kernel.v0.17.1 - ocamlfind.1.9.8+dune - parsexp.v0.17.0 - ppx_assert.v0.17.0 - ppx_base.v0.17.0 - ppx_bench.v0.17.0 - ppx_bin_prot.v0.17.0 - ppx_cold.v0.17.0 - ppx_compare.v0.17.0 - ppx_custom_printf.v0.17.0 - ppx_derivers.1.2.1 - ppx_deriving.6.0.3 - ppx_deriving_yojson.3.9.1 - ppx_diff.v0.17.0 - ppx_disable_unused_warnings.v0.17.0 - ppx_enumerate.v0.17.0 - ppx_expect.v0.17.2 - ppx_fields_conv.v0.17.0 - ppx_fixed_literal.v0.17.0 - ppx_globalize.v0.17.0 - ppx_hardcaml.v0.17.0 - ppx_hash.v0.17.0 - ppx_here.v0.17.0 - ppx_ignore_instrumentation.v0.17.0 - ppx_inline_test.v0.17.0 - ppx_jane.v0.17.0 - ppx_let.v0.17.0 - ppx_log.v0.17.0 - ppx_module_timer.v0.17.0 - ppx_optcomp.v0.17.0 - ppx_optional.v0.17.0 - ppx_pipebang.v0.17.0 - ppx_sexp_conv.v0.17.0 - ppx_sexp_message.v0.17.0 - ppx_sexp_value.v0.17.0 - ppx_stable.v0.17.0 - ppx_stable_witness.v0.17.0 - ppx_string.v0.17.0 - ppx_string_conv.v0.17.0 - ppx_tydi.v0.17.0 - ppx_typerep_conv.v0.17.0 - ppx_variants_conv.v0.17.0 - ppxlib.0.35.0 - ppxlib_jane.v0.17.2 - seq.base - sexplib.v0.17.0 - sexplib0.v0.17.0 - splittable_random.v0.17.0 - stdio.v0.17.0 - stdlib-shims.0.3.0 - time_now.v0.17.0 - typerep.v0.17.1 - uopt.v0.17.0 - variantslib.v0.17.0 - xml-light.2.5 - yojson.2.2.2 - z3.4.13.3 - zarith.1.14 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building conf-pkg-config.4 Building conf-c++.1.0 Building ocaml-config.3 Building ocaml.5.3.0 Building conf-python-3.9.0.0 Building conf-gmp.4 Downloading zarith.1.14 Downloading ocamlfind.1.9.8+dune Building ocamlfind.1.9.8+dune Building zarith.1.14 Downloading z3.4.13.3 Building z3.4.13.3 File "dune.lock/z3.pkg", line 18, characters 7-14: 18 | (run python3 scripts/mk_make.py --ml) ^^^^^^^ Error: Logs for package z3 Traceback (most recent call last): File "/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/source/scripts/mk_make.py", line 21, in <module> mk_makefile() ~~~~~~~~~~~^^ File "/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/source/scripts/mk_util.py", line 2809, in mk_makefile mk_install(out) ~~~~~~~~~~^^^^^ File "/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/source/scripts/mk_util.py", line 2764, in mk_install c.mk_install(out) ~~~~~~~~~~~~^^^^^ File "/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/source/scripts/mk_util.py", line 2121, in mk_install self._init_ocamlfind_paths() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/source/scripts/mk_util.py", line 1980, in _init_ocamlfind_paths raise MKException('The destdir reported by {ocamlfind} ({destdir}) does not exist'.format(ocamlfind=OCAMLFIND, destdir=self.destdir)) mk_exception.MKException: 'The destdir reported by ocamlfind (/home/opam/hardcaml-lua.0.0.1/_build/.sandbox/8b71fed11bad3ef223dc734f0e9f39a9/_private/default/.pkg/z3/target/lib) does not exist' Hint: You may want to verify the following depexts are installed: - python3-distutils "/usr/bin/env" "bash" "-c" "cd $HOME && opam source hardcaml-lua.0.0.1 && cd hardcaml-lua.0.0.1 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17) (lock_dir (repositories overlay default )) (repository (name default) (url "git+https://github.com/ocaml/opam-repository.git")) ' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1 Failed: Build failed