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-03-03 16:22.33 ---> 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-03 16:22.33 ---> 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 ef90a2b03158d292539672d3f7cbaadbc9686e00")) 2025-03-03 16:22.33 ---> using "f8a7eaeb9f5c92be7084e0f999dd7e7e4a1eefb297e66373751e952159afda2d" 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-03 16:22.33 ---> using "1ebcf8e3761a93ad88b5037369014c0e29617030bb8dd94d78d6dedd98943762" 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-03 16:22.33 ---> using "f3fc5dd5dfcbe8e5493a4563bca5034ac862b7842eb9f16d453e6549334b9a79" 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] - Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Couldn't find the start of the patch series - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.1 MB] - Fetched 10.4 MB in 2s (4667 kB/s) - Reading package lists... - 2025-03-03 16:22.33 ---> using "9a78c93989d5550bb49e48632a1de75ead785056e5e8a108c010951463436220" 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-03 16:22.33 ---> using "8c970a2b6e083fc728908364a8d3768a0f4ede73a1fdaf0ff7dd6771a2ecdd96" 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.4% ######## 12.5% ################## 26.1% ################################################################## 92.1% ######################################################################## 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-03 16:22.33 ---> using "14aa2861c13f12cb4ee28b98952b1839ff48cfaf20d65aa237f68c77954270eb" 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 70 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-1 [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-1 [10.0 kB] Get:8 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.13.2-1 [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 (79.7 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 ... 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 .../python3_3.13.2-1_amd64.deb ... Unpacking python3 (3.13.2-1) ... 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-1) ... 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 python3-sexpdata (1.0.2-1) ... 2025-03-03 16:22.33 ---> using "8c20028a802cbf97b7848eb86323ea18fc654d771517c3a444280a798b3cba6f" 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-03 16:22.33 ---> using "ed5574b30d6a55598c49402afe63541d40e6d3df78b5f1b3d250ee114712f692" 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 melange-atdgen-codec-runtime.3.0.0 && cd melange-atdgen-codec-runtime.3.0.0 && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && 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 && opam install ./ --depext-only --with-test --with-doc && 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 && PATH=$HOME/.local/bin:$PATH dune build --profile=release || (echo \"opam-health-check: Build failed\" && exit 1)")) Successfully extracted to /home/opam/melange-atdgen-codec-runtime.3.0.0 Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types python3 python3-minimal python3.13 python3.13-minimal Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: python3-sexpdata 0 upgraded, 0 newly installed, 1 to remove and 70 not upgraded. After this operation, 46.1 kB disk space will be freed. (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 ... 20630 files and directories currently installed.) Removing python3-sexpdata (1.0.2-1) ... Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib media-types python3 python3-minimal python3.13 python3.13-minimal 0 upgraded, 0 newly installed, 8 to remove and 70 not upgraded. After this operation, 23.0 MB disk space will be freed. (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 ... 20622 files and directories currently installed.) Removing python3 (3.13.2-1) ... Removing libpython3-stdlib:amd64 (3.13.2-1) ... Removing python3.13 (3.13.2-1) ... Removing libpython3.13-stdlib:amd64 (3.13.2-1) ... find: '/usr/lib/python3': No such file or directory Removing python3-minimal (3.13.2-1) ... Removing python3.13-minimal (3.13.2-1) ... Unlinking and removing bytecode for runtime python3.13 Removing libpython3.13-minimal:amd64 (3.13.2-1) ... find: '/usr/lib/python3': No such file or directory Removing media-types (12.0.0) ... [ERROR] Package conflict! * Missing dependency: - melange-atdgen-codec-runtime -> opam-check-npm-deps unmet availability conditions, e.g. 'opam-version >= "2.3" & opam-version < "2.4"' Solution for dune.lock: - 0install-solver.2.18 - angstrom.0.16.1 - astring.0.8.5 - atd.2.16.0 - atdgen.2.16.0 - atdgen-runtime.2.16.0 - base.v0.17.1 - base-bytes.base - base-threads.base - base-unix.base - base64.3.5.1 - bigstringaf.0.10.0 - biniou.1.2.2 - bos.0.2.1 - camlp-streams.5.0.1 - cmdliner.1.3.0 - conf-c++.1.0 - cppo.1.8.0 - csexp.1.5.2 - cudf.0.10 - dose3.7.0.0 - dune-build-info.3.17.2 - dune-configurator.3.17.2 - easy-format.1.3.4 - extlib.1.8.0 - fix.20230505 - fmt.0.9.0 - fpath.0.7.3 - jane-street-headers.v0.17.0 - jsonm.1.0.2 - jst-config.v0.17.0 - logs.0.7.0 - lwt.5.9.0 - lwt_ppx.5.8.0 - mccs.1.1+19 - melange.5.0.1-53 - melange-jest.0.1.1 - melange-json.1.3.0 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - merlin-extend.0.6.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 - ocaml-syntax-shims.1.0.0 - ocaml_intrinsics_kernel.v0.17.1 - ocamlbuild.0.16.1+dune - ocamlfind.1.9.8+dune - ocamlgraph.2.1.0 - ocplib-endian.1.2 - opam-0install-cudf.0.5.0 - opam-check-npm-deps.2.0.0 - opam-client.2.2.1 - opam-core.2.2.1 - opam-file-format.2.1.6 - opam-format.2.2.1 - opam-repository.2.2.1 - opam-solver.2.2.1 - opam-state.2.2.1 - ppx_assert.v0.17.0 - ppx_base.v0.17.0 - ppx_cold.v0.17.0 - ppx_compare.v0.17.0 - ppx_derivers.1.2.1 - ppx_deriving.6.0.3 - ppx_deriving_yojson.3.9.1 - ppx_enumerate.v0.17.0 - ppx_expect.v0.17.2 - ppx_globalize.v0.17.0 - ppx_hash.v0.17.0 - ppx_here.v0.17.0 - ppx_inline_test.v0.17.0 - ppx_let.v0.17.0 - ppx_optcomp.v0.17.0 - ppx_sexp_conv.v0.17.0 - ppxlib.0.35.0 - ppxlib_jane.v0.17.2 - re.1.12.0 - reason.3.15.0 - rresult.0.7.0 - seq.base - sexplib0.v0.17.0 - sha.1.15.4 - spdx_licenses.1.3.0 - stdio.v0.17.0 - stdlib-shims.0.3.0 - swhid_core.0.1 - time_now.v0.17.0 - topkg.1.0.7 - uutf.1.0.3 - yojson.2.2.2 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building base-unix.base Building base-threads.base Building conf-c++.1.0 Building ocaml-config.3 Building ocaml.5.3.0 Building seq.base Downloading cmdliner.1.3.0 Building cmdliner.1.3.0 Downloading fix.20230505 Downloading ocaml-compiler-libs.v0.17.0 Building fix.20230505 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building ocaml-compiler-libs.v0.17.0 Building menhirLib.20240715 Building menhirSdk.20240715 Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading ppx_derivers.1.2.1 Downloading sexplib0.v0.17.0 Building ppx_derivers.1.2.1 Building menhirCST.20240715 Downloading ocaml-syntax-shims.1.0.0 Building sexplib0.v0.17.0 Downloading ocamlfind.1.9.8+dune Building ocaml-syntax-shims.1.0.0 Building ocamlfind.1.9.8+dune Downloading stdlib-shims.0.3.0 Downloading cppo.1.8.0 Building stdlib-shims.0.3.0 Downloading ocaml_intrinsics_kernel.v0.17.1 Building cppo.1.8.0 Downloading base64.3.5.1 Building ocaml_intrinsics_kernel.v0.17.1 Building base64.3.5.1 Downloading ocamlbuild.0.16.1+dune Downloading re.1.12.0 Building ocamlbuild.0.16.1+dune Building re.1.12.0 Downloading jane-street-headers.v0.17.0 Downloading opam-file-format.2.1.6 Building jane-street-headers.v0.17.0 Building opam-file-format.2.1.6 Downloading swhid_core.0.1 Building swhid_core.0.1 Downloading spdx_licenses.1.3.0 Building spdx_licenses.1.3.0 Downloading yojson.2.2.2 Downloading 0install-solver.2.18 Building yojson.2.2.2 Building 0install-solver.2.18 Downloading dune-build-info.3.17.2 Downloading dune-configurator.3.17.2 Building dune-build-info.3.17.2 Downloading sha.1.15.4 Building sha.1.15.4 Downloading ocamlgraph.2.1.0 Building ocamlgraph.2.1.0 Downloading menhir.20240715 Building menhir.20240715 Building dune-configurator.3.17.2 Downloading extlib.1.8.0 Building extlib.1.8.0 Downloading merlin-extend.0.6.2 Building merlin-extend.0.6.2 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Downloading cudf.0.10 Building cudf.0.10 Downloading bigstringaf.0.10.0 Building bigstringaf.0.10.0 Downloading base.v0.17.1 Building base.v0.17.1 Building base-bytes.base Downloading ocplib-endian.1.2 Building ocplib-endian.1.2 Downloading topkg.1.0.7 Downloading angstrom.0.16.1 Building topkg.1.0.7 Downloading dose3.7.0.0 Building angstrom.0.16.1 Building dose3.7.0.0 Downloading mccs.1.1+19 Downloading opam-0install-cudf.0.5.0 Building opam-0install-cudf.0.5.0 Building mccs.1.1+19 Downloading lwt.5.9.0 Building lwt.5.9.0 Downloading rresult.0.7.0 Downloading astring.0.8.5 Building rresult.0.7.0 Building astring.0.8.5 Downloading fmt.0.9.0 Downloading uutf.1.0.3 Building fmt.0.9.0 Building uutf.1.0.3 Downloading jsonm.1.0.2 Building jsonm.1.0.2 Downloading logs.0.7.0 Downloading fpath.0.7.3 Building fpath.0.7.3 Building logs.0.7.0 Downloading stdio.v0.17.0 Building stdio.v0.17.0 Downloading opam-core.2.2.1 Building opam-core.2.2.1 Downloading bos.0.2.1 Building bos.0.2.1 Downloading ppxlib_jane.v0.17.2 Downloading ppx_cold.v0.17.0 Downloading ppx_here.v0.17.0 Downloading ppx_optcomp.v0.17.0 Downloading ppx_deriving.6.0.3 Downloading lwt_ppx.5.8.0 Building ppxlib_jane.v0.17.2 Building ppx_here.v0.17.0 Building ppx_optcomp.v0.17.0 Building ppx_cold.v0.17.0 Building ppx_deriving.6.0.3 Building lwt_ppx.5.8.0 Downloading reason.3.15.0 Building reason.3.15.0 Downloading opam-format.2.2.1 Building opam-format.2.2.1 Downloading ppx_compare.v0.17.0 Downloading ppx_enumerate.v0.17.0 Downloading ppx_sexp_conv.v0.17.0 Downloading ppx_globalize.v0.17.0 Building ppx_enumerate.v0.17.0 Building ppx_compare.v0.17.0 Building ppx_sexp_conv.v0.17.0 Building ppx_globalize.v0.17.0 Downloading ppx_let.v0.17.0 Building ppx_let.v0.17.0 Downloading ppx_deriving_yojson.3.9.1 Building ppx_deriving_yojson.3.9.1 Downloading ppx_assert.v0.17.0 Downloading ppx_hash.v0.17.0 Building ppx_assert.v0.17.0 Building ppx_hash.v0.17.0 Downloading opam-repository.2.2.1 Downloading opam-solver.2.2.1 Building opam-repository.2.2.1 Building opam-solver.2.2.1 Downloading ppx_base.v0.17.0 Building ppx_base.v0.17.0 Downloading jst-config.v0.17.0 Building jst-config.v0.17.0 Downloading opam-state.2.2.1 Building opam-state.2.2.1 Downloading time_now.v0.17.0 Building time_now.v0.17.0 Downloading ppx_inline_test.v0.17.0 Building ppx_inline_test.v0.17.0 Downloading ppx_expect.v0.17.2 Downloading opam-client.2.2.1 Building ppx_expect.v0.17.2 Building opam-client.2.2.1 Downloading opam-check-npm-deps.2.0.0 Building opam-check-npm-deps.2.0.0 Downloading melange.5.0.1-53 Building melange.5.0.1-53 Downloading melange-json.1.3.0 Building melange-json.1.3.0 Downloading melange-jest.0.1.1 Building melange-jest.0.1.1 Downloading camlp-streams.5.0.1 Building camlp-streams.5.0.1 Downloading easy-format.1.3.4 Building easy-format.1.3.4 Downloading biniou.1.2.2 Building biniou.1.2.2 Downloading atd.2.16.0 Building atd.2.16.0 Downloading atdgen-runtime.2.16.0 Building atdgen-runtime.2.16.0 Downloading atdgen.2.16.0 Building atdgen.2.16.0 File "example/src/dune", lines 7-11, characters 0-100: 7 | (rule 8 | (targets meetup_bs.ml meetup_bs.mli) 9 | (deps meetup.atd) 10 | (action 11 | (run atdgen -bs %{deps}))) (cd _build/default/example/src && ../../../_private/default/.pkg/atdgen/target/bin/atdgen -bs meetup.atd) ../../../_private/default/.pkg/atdgen/target/bin/atdgen: unknown option '-bs'. Generate OCaml code offering: * OCaml type definitions translated from ATD file (-t) * serializers and deserializers for Biniou (-b) * serializers and deserializers for JSON (-j) * record-creating functions supporting default fields (-v) * user-specified data validators (-v) Recommended usage: ../../../_private/default/.pkg/atdgen/target/bin/atdgen (-t|-b|-j|-v|-dep|-list|-mel) example.atd -type-conv GEN1,GEN2,... Insert 'with GEN1, GEN2, ...' after OCaml type definitions for the type-conv preprocessor -deriving-conv GEN1,GEN2,... Insert '[@@deriving GEN1,GEN2,...]' after OCaml type definitions for the ppx_deriving preprocessor -type-attr ATTR Insert '[@@ATTR]' after OCaml type definitions. Option can be used multiple times to specify several attributes -t Produce files example_t.mli and example_t.ml containing OCaml type definitions derived from example.atd. -b Produce files example_b.mli and example_b.ml containing OCaml serializers and deserializers for the Biniou data format from the specifications in example.atd. -j Produce files example_j.mli and example_j.ml containing OCaml serializers and deserializers for the JSON data format from the specifications in example.atd. -mel Produce files example_mel.mli and example_mel.ml containing OCaml serializers and deserializers for the JSON data format from the specifications in example.atd using Melange's JSON api. -v Produce files example_v.mli and example_v.ml containing OCaml functions for creating records and validators from the specifications in example.atd. -dep Output Make-compatible dependencies for all possible products of atdgen -t, -b, -j and -v, and exit. -list Output a space-separated list of all possible products of atdgen -t, -b, -j and -v, and exit. -o [ PREFIX | - ] Use this prefix for the generated files, e.g. 'foo/bar' for foo/bar.ml and foo/bar.mli. `-' designates stdout and produces code of the form struct ... end : sig ... end -biniou [deprecated in favor of -t and -b] Produce serializers and deserializers for Biniou including OCaml type definitions (default). -json [deprecated in favor of -t and -j] Produce serializers and deserializers for JSON including OCaml type definitions. -j-std Convert tuples and variants into standard JSON and refuse to print NaN and infinities (implying -json mode unless another mode is specified). -std-json [deprecated in favor of -j-std] Same as -j-std. -j-pp <func> OCaml function of type (string -> string) applied on the input of each *_of_string function generated by atdgen (JSON mode). This is originally intended for UTF-8 validation of the input which is not performed by atdgen. -j-defaults Output JSON record fields even if their value is known to be the default. -j-strict-fields Call !Atdgen_runtime.Util.Json.unknown_field_handler for every unknown JSON field found in the input instead of simply skipping them. The initial behavior is to raise an exception. -j-custom-fields FUNCTION Call the given function of type (string -> unit) for every unknown JSON field found in the input instead of simply skipping them. See also -j-strict-fields. -validate [deprecated in favor of -t and -v] Produce data validators from <ocaml validator="x"> annotations where x is a user-written validator to be applied on a specific node. This is typically used in conjunction with -extend because user-written validators depend on the type definitions. -extend MODULE Assume that all type definitions are provided by the specified module unless otherwise annotated. Type aliases are created for each type, e.g. type t = Module.t -open MODULE1,MODULE2,... List of modules to open (comma-separated or space-separated) -nfd Do not dump OCaml function definitions -ntd Do not dump OCaml type definitions -pos-fname FILENAME Source file name to use for error messages (default: input file name) -pos-lnum LINENUM Source line number of the first line of the input (default: 1) -rec Keep OCaml type definitions mutually recursive -version Print the version identifier of atdgen and exit. -help Display this list of options --help Display this list of options File "src/__tests__/dune", lines 8-12, characters 0-94: 8 | (rule 9 | (targets test_bs.ml test_bs.mli) 10 | (deps test.atd) 11 | (action 12 | (run atdgen -bs %{deps}))) (cd _build/default/src/__tests__ && ../../../_private/default/.pkg/atdgen/target/bin/atdgen -bs test.atd) ../../../_private/default/.pkg/atdgen/target/bin/atdgen: unknown option '-bs'. Generate OCaml code offering: * OCaml type definitions translated from ATD file (-t) * serializers and deserializers for Biniou (-b) * serializers and deserializers for JSON (-j) * record-creating functions supporting default fields (-v) * user-specified data validators (-v) Recommended usage: ../../../_private/default/.pkg/atdgen/target/bin/atdgen (-t|-b|-j|-v|-dep|-list|-mel) example.atd -type-conv GEN1,GEN2,... Insert 'with GEN1, GEN2, ...' after OCaml type definitions for the type-conv preprocessor -deriving-conv GEN1,GEN2,... Insert '[@@deriving GEN1,GEN2,...]' after OCaml type definitions for the ppx_deriving preprocessor -type-attr ATTR Insert '[@@ATTR]' after OCaml type definitions. Option can be used multiple times to specify several attributes -t Produce files example_t.mli and example_t.ml containing OCaml type definitions derived from example.atd. -b Produce files example_b.mli and example_b.ml containing OCaml serializers and deserializers for the Biniou data format from the specifications in example.atd. -j Produce files example_j.mli and example_j.ml containing OCaml serializers and deserializers for the JSON data format from the specifications in example.atd. -mel Produce files example_mel.mli and example_mel.ml containing OCaml serializers and deserializers for the JSON data format from the specifications in example.atd using Melange's JSON api. -v Produce files example_v.mli and example_v.ml containing OCaml functions for creating records and validators from the specifications in example.atd. -dep Output Make-compatible dependencies for all possible products of atdgen -t, -b, -j and -v, and exit. -list Output a space-separated list of all possible products of atdgen -t, -b, -j and -v, and exit. -o [ PREFIX | - ] Use this prefix for the generated files, e.g. 'foo/bar' for foo/bar.ml and foo/bar.mli. `-' designates stdout and produces code of the form struct ... end : sig ... end -biniou [deprecated in favor of -t and -b] Produce serializers and deserializers for Biniou including OCaml type definitions (default). -json [deprecated in favor of -t and -j] Produce serializers and deserializers for JSON including OCaml type definitions. -j-std Convert tuples and variants into standard JSON and refuse to print NaN and infinities (implying -json mode unless another mode is specified). -std-json [deprecated in favor of -j-std] Same as -j-std. -j-pp <func> OCaml function of type (string -> string) applied on the input of each *_of_string function generated by atdgen (JSON mode). This is originally intended for UTF-8 validation of the input which is not performed by atdgen. -j-defaults Output JSON record fields even if their value is known to be the default. -j-strict-fields Call !Atdgen_runtime.Util.Json.unknown_field_handler for every unknown JSON field found in the input instead of simply skipping them. The initial behavior is to raise an exception. -j-custom-fields FUNCTION Call the given function of type (string -> unit) for every unknown JSON field found in the input instead of simply skipping them. See also -j-strict-fields. -validate [deprecated in favor of -t and -v] Produce data validators from <ocaml validator="x"> annotations where x is a user-written validator to be applied on a specific node. This is typically used in conjunction with -extend because user-written validators depend on the type definitions. -extend MODULE Assume that all type definitions are provided by the specified module unless otherwise annotated. Type aliases are created for each type, e.g. type t = Module.t -open MODULE1,MODULE2,... List of modules to open (comma-separated or space-separated) -nfd Do not dump OCaml function definitions -ntd Do not dump OCaml type definitions -pos-fname FILENAME Source file name to use for error messages (default: input file name) -pos-lnum LINENUM Source line number of the first line of the input (default: 1) -rec Keep OCaml type definitions mutually recursive -version Print the version identifier of atdgen and exit. -help Display this list of options --help Display this list of options opam-health-check: Build failed "/usr/bin/env" "bash" "-c" "cd $HOME && opam source melange-atdgen-codec-runtime.3.0.0 && cd melange-atdgen-codec-runtime.3.0.0 && for opam in *.opam; do opam show --raw ${opam%.opam} > $opam; done && 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 && opam install ./ --depext-only --with-test --with-doc && 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 && PATH=$HOME/.local/bin:$PATH dune build --profile=release || (echo "opam-health-check: Build failed" && exit 1)" failed with exit status 1 Failed: Build failed