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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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:42.50 ---> 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 melange-atdgen-codec-runtime.3.0.0 && cd melange-atdgen-codec-runtime.3.0.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/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"' 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.0-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.15.0+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 menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building menhirLib.20240715 Building menhirSdk.20240715 Building menhirCST.20240715 Downloading cppo.1.8.0 Building cppo.1.8.0 Downloading ocamlbuild.0.15.0+dune Downloading ocaml_intrinsics_kernel.v0.17.1 Downloading ocaml-compiler-libs.v0.17.0 Building ocaml_intrinsics_kernel.v0.17.1 Building ocamlbuild.0.15.0+dune Building ocaml-compiler-libs.v0.17.0 Downloading ocamlfind.1.9.8+dune Downloading jane-street-headers.v0.17.0 Downloading ppx_derivers.1.2.1 Building jane-street-headers.v0.17.0 Building ppx_derivers.1.2.1 Building ocamlfind.1.9.8+dune Downloading opam-file-format.2.1.6 Downloading sexplib0.v0.17.0 Building opam-file-format.2.1.6 Building sexplib0.v0.17.0 Downloading ocaml-syntax-shims.1.0.0 Downloading swhid_core.0.1 Building ocaml-syntax-shims.1.0.0 Building swhid_core.0.1 Downloading base64.3.5.1 Downloading stdlib-shims.0.3.0 Building base64.3.5.1 Building stdlib-shims.0.3.0 Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading yojson.2.2.2 Downloading re.1.12.0 Building yojson.2.2.2 Building re.1.12.0 Downloading spdx_licenses.1.3.0 Building spdx_licenses.1.3.0 Downloading 0install-solver.2.18 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 merlin-extend.0.6.2 Building merlin-extend.0.6.2 Downloading extlib.1.8.0 Building extlib.1.8.0 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 angstrom.0.16.1 Building angstrom.0.16.1 Downloading dose3.7.0.0 Downloading opam-0install-cudf.0.5.0 Building opam-0install-cudf.0.5.0 Building dose3.7.0.0 Downloading mccs.1.1+19 Building mccs.1.1+19 Downloading lwt.5.9.0 Building lwt.5.9.0 Downloading topkg.1.0.7 Building topkg.1.0.7 Downloading fmt.0.9.0 Downloading rresult.0.7.0 Building fmt.0.9.0 Downloading uutf.1.0.3 Downloading astring.0.8.5 Building rresult.0.7.0 Building astring.0.8.5 Building uutf.1.0.3 Downloading stdio.v0.17.0 Building stdio.v0.17.0 Downloading jsonm.1.0.2 Building jsonm.1.0.2 Downloading fpath.0.7.3 Building fpath.0.7.3 Downloading logs.0.7.0 Building logs.0.7.0 Downloading opam-core.2.2.1 Building opam-core.2.2.1 Downloading bos.0.2.1 Building bos.0.2.1 Downloading ppx_optcomp.v0.17.0 Downloading ppx_cold.v0.17.0 Downloading ppx_here.v0.17.0 Downloading ppxlib_jane.v0.17.2 Downloading lwt_ppx.5.8.0 Building ppxlib_jane.v0.17.2 Building ppx_optcomp.v0.17.0 Building ppx_here.v0.17.0 Downloading ppx_deriving.6.0.3 Building ppx_cold.v0.17.0 Building lwt_ppx.5.8.0 Building ppx_deriving.6.0.3 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_compare.v0.17.0 Building ppx_enumerate.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_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 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 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.0-53 Building melange.5.0.0-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 "/usr/bin/env" "bash" "-c" "cd $HOME && opam source melange-atdgen-codec-runtime.3.0.0 && cd melange-atdgen-codec-runtime.3.0.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