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-23 22:35.08 ---> 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-23 22:35.08 ---> 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 4022a684b64be8161a05cf897f492f8680792469")) 2025-02-23 22:35.08 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" 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-23 22:35.08 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" 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-23 22:35.08 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" 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-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Fetched 654 kB in 3s (260 kB/s) - Reading package lists... - 2025-02-23 22:35.08 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" 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-23 22:35.08 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" 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.2% ## 3.1% ######### 12.7% ################## 26.1% ################################################################## 92.4% ######################################################################## 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-23 22:35.08 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" 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-23 22:35.08 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" 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 OCanren-ppx.0.3.0 && cd OCanren-ppx.0.3.0 && 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/OCanren-ppx.0.3.0 [WARNING] Failed checks on OCanren package definition from source at file:///home/opam/OCanren-ppx.0.3.0: warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "LGPL-2.1" [WARNING] Failed checks on OCanren-ppx package definition from source at file:///home/opam/OCanren-ppx.0.3.0: warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "LGPL-2.1" [ERROR] Package conflict! * No agreement on the version of ocaml-base-compiler: - (invariant) -> ocaml-base-compiler >= 5.3.0 - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.14 -> ocaml-base-compiler < 4.13.2~ You can temporarily relax the switch invariant with `--update-invariant' * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.3.0 - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.13 -> dkml-base-compiler * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.3.0 - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-variants * Missing dependency: - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-base-compiler (= 3.10.0 | = 3.10.1 | = 3.10.2 | = 3.11.0 | = 3.11.1 | = 3.11.2 | = 3.12.0 | = 3.12.1 | = 4.00.0 | = 4.00.1 | = 4.01.0 | = 4.02.0 | = 4.02.1 | = 4.02.2 | = 4.02.3) -> base-ocamlbuild unknown package * Missing dependency: - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-variants -> xenbigarray unknown package * Missing dependency: - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-variants -> base-ocamlbuild unknown package * Missing dependency: - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-variants -> ocaml-beta unmet availability conditions: 'enable-ocaml-beta-repository' * Missing dependency: - OCanren -> ocamlformat < 0.20.0 -> ocaml < 4.11 -> ocaml-variants -> system-msvc unmet availability conditions: 'os = "win32"' Solution for dune.lock: - GT.0.5.2 - astring.0.8.5 - base.v0.15.1 - base-bytes.base - base-threads.base - base-unix.base - benchmark.1.7 - bisect_ppx.2.8.2 - bos.0.2.1 - camlp-streams.5.0.1 - camlp5.8.03.01 - camlp5-buildscripts.0.04 - cmdliner.1.3.0 - conf-m4.1 - conf-perl.2 - conf-which.1 - csexp.1.5.2 - dune-build-info.3.17.2 - dune-configurator.3.17.2 - fix.20230505 - fmt.0.9.0 - fpath.0.7.3 - jane-street-headers.v0.15.0 - jst-config.v0.15.1 - logger-p5.0.4.5 - logs.0.7.0 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - mtime.2.1.0 - not-ocamlfind.0.13 - ocaml.4.13.1 - ocaml-base-compiler.4.13.1 - ocaml-compiler-libs.v0.12.4 - ocaml-config.2 - ocamlbuild.0.15.0+dune - ocamlfind.1.9.8+dune - ocamlformat.0.19.0 - ocamlgraph.2.1.0 - ocp-indent.1.8.1 - odoc-parser.0.9.0 - ppx_assert.v0.15.0 - ppx_base.v0.15.0 - ppx_cold.v0.15.0 - ppx_compare.v0.15.0 - ppx_derivers.1.2.1 - ppx_enumerate.v0.15.0 - ppx_expect.v0.15.1 - ppx_hash.v0.15.0 - ppx_here.v0.15.0 - ppx_inline_test.v0.15.1 - ppx_optcomp.v0.15.0 - ppx_sexp_conv.v0.15.1 - ppxlib.0.26.0 - re.1.12.0 - result.1.5 - rresult.0.7.0 - seq.base - sexplib0.v0.15.1 - stdio.v0.15.0 - stdlib-shims.0.3.0 - time_now.v0.15.0 - topkg.1.0.7 - uucp.15.0.0 - uuseg.15.0.0 - uutf.1.0.3 Downloading ocaml-base-compiler.4.13.1 Building ocaml-base-compiler.4.13.1 Building base-unix.base Building ocaml-config.2 Building ocaml.4.13.1 Building seq.base Downloading jane-street-headers.v0.15.0 Building jane-street-headers.v0.15.0 Downloading stdlib-shims.0.3.0 Building stdlib-shims.0.3.0 Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading re.1.12.0 Downloading ppx_derivers.1.2.1 Building re.1.12.0 Downloading sexplib0.v0.15.1 Building ppx_derivers.1.2.1 Building sexplib0.v0.15.1 Downloading ocaml-compiler-libs.v0.12.4 Building ocaml-compiler-libs.v0.12.4 Downloading dune-configurator.3.17.2 Building dune-configurator.3.17.2 Downloading ppxlib.0.26.0 Building ppxlib.0.26.0 Downloading base.v0.15.1 Building base.v0.15.1 Downloading stdio.v0.15.0 Building stdio.v0.15.0 Downloading ppx_enumerate.v0.15.0 Downloading ppx_cold.v0.15.0 Downloading ppx_compare.v0.15.0 Downloading ppx_here.v0.15.0 Downloading ppx_optcomp.v0.15.0 Building ppx_enumerate.v0.15.0 Building ppx_cold.v0.15.0 Building ppx_here.v0.15.0 Building ppx_optcomp.v0.15.0 Building ppx_compare.v0.15.0 Downloading ppx_sexp_conv.v0.15.1 Building ppx_sexp_conv.v0.15.1 Downloading ppx_assert.v0.15.0 Downloading ppx_hash.v0.15.0 Building ppx_hash.v0.15.0 Building ppx_assert.v0.15.0 Downloading ppx_base.v0.15.0 Building ppx_base.v0.15.0 Downloading jst-config.v0.15.1 Building jst-config.v0.15.1 Downloading time_now.v0.15.0 Building time_now.v0.15.0 Downloading ppx_inline_test.v0.15.1 Building ppx_inline_test.v0.15.1 Downloading ppx_expect.v0.15.1 Building ppx_expect.v0.15.1 Downloading dune-build-info.3.17.2 Downloading cmdliner.1.3.0 Building cmdliner.1.3.0 Downloading fix.20230505 Building fix.20230505 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building dune-build-info.3.17.2 Building menhirLib.20240715 Building menhirSdk.20240715 Building menhirCST.20240715 Downloading result.1.5 Downloading ocamlfind.1.9.8+dune Building result.1.5 Downloading ocamlbuild.0.15.0+dune Building ocamlfind.1.9.8+dune Building ocamlbuild.0.15.0+dune Downloading menhir.20240715 Building menhir.20240715 Building base-bytes.base Downloading ocp-indent.1.8.1 Building ocp-indent.1.8.1 Downloading topkg.1.0.7 Building topkg.1.0.7 Downloading uutf.1.0.3 Downloading astring.0.8.5 Building uutf.1.0.3 Building astring.0.8.5 Downloading uucp.15.0.0 Building uucp.15.0.0 Downloading fpath.0.7.3 Building fpath.0.7.3 Downloading odoc-parser.0.9.0 Building odoc-parser.0.9.0 Downloading uuseg.15.0.0 Building uuseg.15.0.0 Downloading ocamlformat.0.19.0 Building ocamlformat.0.19.0 Downloading mtime.2.1.0 Building mtime.2.1.0 Downloading benchmark.1.7 Building benchmark.1.7 Building base-threads.base Building conf-m4.1 Building conf-perl.2 Building conf-which.1 File "dune.lock/conf-m4.pkg", line 4, characters 6-8: 4 | (run sh -exc "echo | m4")) ^^ Error: Logs for package conf-m4 + + m4 echo /usr/bin/sh: 1: m4: not found Hint: You may want to verify the following depexts are installed:- m4 Downloading rresult.0.7.0 Building rresult.0.7.0 Downloading fmt.0.9.0 Building fmt.0.9.0 Downloading camlp5-buildscripts.0.04 Downloading camlp-streams.5.0.1 Building camlp-streams.5.0.1 File "dune.lock/logger-p5.pkg", line 13, characters 7-62: 13 | (url https://github.com/dboulytchev/logger/archive/0.4.5.zip) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: failed to unpack archive downloaded from https://github.com/dboulytchev/logger/archive/0.4.5.zip reason: unable to extract "_build/.temp/dune_55ea83_0.4.5.zip/download" Downloading bisect_ppx.2.8.2 Downloading ocamlgraph.2.1.0 Building ocamlgraph.2.1.0 Building bisect_ppx.2.8.2 Downloading camlp5.8.03.01 Downloading logs.0.7.0 Building logs.0.7.0 Downloading bos.0.2.1 Building bos.0.2.1 "/usr/bin/env" "bash" "-c" "cd $HOME && opam source OCanren-ppx.0.3.0 && cd OCanren-ppx.0.3.0 && 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