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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 15:22.30 ---> 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 melange-atdgen-codec-runtime.3.0.0 && cd melange-atdgen-codec-runtime.3.0.0 && if [ -f opam ]; then mv opam melange-atdgen-codec-runtime.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 melange-atdgen-codec-runtime.3.0.0 > melange-atdgen-codec-runtime.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 melange-atdgen-codec-runtime >> /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/melange-atdgen-codec-runtime.3.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"' 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 31 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 ... 20492 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 31 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 ... 20484 files and directories currently installed.) Removing python3 (3.13.2-2) ... Removing libpython3-stdlib:amd64 (3.13.2-2) ... 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-2) ... 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) ... 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 Building fix.20230505 Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading sexplib0.v0.17.0 Downloading ppx_derivers.1.2.1 Building sexplib0.v0.17.0 Building ppx_derivers.1.2.1 Downloading base64.3.5.1 Building base64.3.5.1 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building menhirLib.20240715 Building menhirSdk.20240715 Downloading ocamlfind.1.9.8+dune Building menhirCST.20240715 Downloading ocaml-compiler-libs.v0.17.0 Building ocamlfind.1.9.8+dune Building ocaml-compiler-libs.v0.17.0 Downloading cppo.1.8.0 Building cppo.1.8.0 Downloading stdlib-shims.0.3.0 Downloading ocaml-syntax-shims.1.0.0 Building stdlib-shims.0.3.0 Downloading ocaml_intrinsics_kernel.v0.17.1 Building ocaml-syntax-shims.1.0.0 Building ocaml_intrinsics_kernel.v0.17.1 Downloading ocamlbuild.0.16.1+dune Downloading jane-street-headers.v0.17.0 Downloading opam-file-format.2.1.6 Building jane-street-headers.v0.17.0 Building ocamlbuild.0.16.1+dune Building opam-file-format.2.1.6 Downloading swhid_core.0.1 Downloading spdx_licenses.1.3.0 Building swhid_core.0.1 Building spdx_licenses.1.3.0 Downloading yojson.2.2.2 Downloading re.1.12.0 Downloading 0install-solver.2.18 Building re.1.12.0 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 Building base-bytes.base Downloading cudf.0.10 Building cudf.0.10 Downloading ocplib-endian.1.2 Building ocplib-endian.1.2 Downloading bigstringaf.0.10.0 Building bigstringaf.0.10.0 Downloading base.v0.17.1 Building base.v0.17.1 Downloading lwt.5.9.0 Building lwt.5.9.0 Downloading angstrom.0.16.1 Building angstrom.0.16.1 Downloading dose3.7.0.0 Building dose3.7.0.0 Downloading opam-0install-cudf.0.5.0 Downloading mccs.1.1+19 Building opam-0install-cudf.0.5.0 Building mccs.1.1+19 Downloading topkg.1.0.7 Building topkg.1.0.7 Downloading rresult.0.7.0 Downloading uutf.1.0.3 Building rresult.0.7.0 Downloading astring.0.8.5 Downloading fmt.0.9.0 Building uutf.1.0.3 Building astring.0.8.5 Building fmt.0.9.0 Downloading stdio.v0.17.0 Building stdio.v0.17.0 Downloading jsonm.1.0.2 Building jsonm.1.0.2 Downloading logs.0.7.0 Building logs.0.7.0 Downloading fpath.0.7.3 Building fpath.0.7.3 Downloading opam-core.2.2.1 Building opam-core.2.2.1 Downloading bos.0.2.1 Building bos.0.2.1 Downloading ppx_here.v0.17.0 Downloading ppx_cold.v0.17.0 Downloading ppx_optcomp.v0.17.0 Downloading lwt_ppx.5.8.0 Building ppx_here.v0.17.0 Building ppx_optcomp.v0.17.0 Downloading ppxlib_jane.v0.17.2 Building ppx_cold.v0.17.0 Downloading ppx_deriving.6.0.3 Building ppxlib_jane.v0.17.2 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 Building ppx_compare.v0.17.0 Building ppx_enumerate.v0.17.0 Downloading ppx_globalize.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_hash.v0.17.0 Downloading ppx_assert.v0.17.0 Building ppx_hash.v0.17.0 Building ppx_assert.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 time_now.v0.17.0 Building time_now.v0.17.0 Downloading opam-state.2.2.1 Building opam-state.2.2.1 Downloading ppx_inline_test.v0.17.0 Building ppx_inline_test.v0.17.0 Downloading ppx_expect.v0.17.2 Building ppx_expect.v0.17.2 Downloading opam-client.2.2.1 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 easy-format.1.3.4 Building easy-format.1.3.4 Downloading camlp-streams.5.0.1 Building camlp-streams.5.0.1 Downloading atd.2.16.0 Downloading biniou.1.2.2 Building biniou.1.2.2 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 && if [ -f opam ]; then mv opam melange-atdgen-codec-runtime.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 melange-atdgen-codec-runtime.3.0.0 > melange-atdgen-codec-runtime.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 melange-atdgen-codec-runtime >> /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