2025-10-27 22:38.41: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/pull/434/head (34704102fb8a80721407d7a99e52f5566e69cd4b) (linux-x86_64:ubuntu-22.04-5.4_opam-2.4) Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06 Opam project build To reproduce locally: git clone --recursive "https://github.com/ahrefs/atd.git" && cd "atd" && git fetch origin "refs/pull/434/head" && git reset --hard 34704102 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06 # ubuntu-22.04-5.4_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam ./ RUN opam pin add -yn atdts.dev './' && \ opam pin add -yn atds.dev './' && \ opam pin add -yn atdpy.dev './' && \ opam pin add -yn atdj.dev './' && \ opam pin add -yn atdgen.dev './' && \ opam pin add -yn atdgen-runtime.dev './' && \ opam pin add -yn atdgen-codec-runtime.dev './' && \ opam pin add -yn atdd.dev './' && \ opam pin add -yn atdcpp.dev './' && \ opam pin add -yn atd.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.0.0 conf-python-3.9.0.0 dune.3.20.2 easy-format.1.3.4 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.4 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-10-27 22:38.41: Using cache hint "ahrefs/atd-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06-ubuntu-22.04-5.4_opam-2.4-70263f4e49b0c1051901e010d5943d05" 2025-10-27 22:38.41: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06) (comment ubuntu-22.04-5.4_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam) (dst ./)) (run (network host) (shell "opam pin add -yn atdts.dev './' && \ \nopam pin add -yn atds.dev './' && \ \nopam pin add -yn atdpy.dev './' && \ \nopam pin add -yn atdj.dev './' && \ \nopam pin add -yn atdgen.dev './' && \ \nopam pin add -yn atdgen-runtime.dev './' && \ \nopam pin add -yn atdgen-codec-runtime.dev './' && \ \nopam pin add -yn atdd.dev './' && \ \nopam pin add -yn atdcpp.dev './' && \ \nopam pin add -yn atd.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.0.0 conf-python-3.9.0.0 dune.3.20.2 easy-format.1.3.4 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 yojson.3.0.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-10-27 22:38.41: Waiting for resource in pool OCluster 2025-10-27 22:38.41: Waiting for worker… 2025-10-27 22:52.43: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at 3470410 Remove 'mode fallback' lines from atdgen rule generation examples (from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06) Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06' locally docker.io/ocaml/opam@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06: Pulling from ocaml/opam af6eca94c810: Pulling fs layer 35874924aa0a: Pulling fs layer 1addcd43e9a2: Pulling fs layer 4f73c2db8363: Pulling fs layer 4386d8dbb832: Pulling fs layer 4e40c047c9eb: Pulling fs layer 35874924aa0a: Waiting e02efa5fbeb0: Pulling fs layer 1addcd43e9a2: Waiting ddb408812e3f: Pulling fs layer 3122a3b1669b: Pulling fs layer e02efa5fbeb0: Waiting 4386d8dbb832: Waiting a394d8c5d250: Pulling fs layer deae410034d9: Pulling fs layer ddb408812e3f: Waiting 4e40c047c9eb: Waiting e17c1588711b: Pulling fs layer 3122a3b1669b: Waiting da8af7f5fb44: Pulling fs layer deae410034d9: Waiting bfd2caa5d08a: Pulling fs layer e17c1588711b: Waiting 6674449ba421: Pulling fs layer 18743c2bcc1d: Pulling fs layer a394d8c5d250: Waiting 4f4fb700ef54: Pulling fs layer 6674449ba421: Waiting 841888816ae9: Pulling fs layer 18d400b6558e: Pulling fs layer f8a56eb6c4e2: Pulling fs layer bfd2caa5d08a: Waiting 18743c2bcc1d: Waiting 18d400b6558e: Waiting 354be8b6a247: Pulling fs layer 4f4fb700ef54: Waiting a4ee84fc0560: Pulling fs layer 841888816ae9: Waiting 3ab29b33bf13: Pulling fs layer 715dd9367ae6: Pulling fs layer 0060360391df: Pulling fs layer 6fb01c13bb1d: Pulling fs layer 0471be7f3e23: Pulling fs layer 83424cbee6cd: Pulling fs layer 3e0dde388c17: Pulling fs layer 0060360391df: Waiting 83424cbee6cd: Waiting 6fb01c13bb1d: Waiting 354be8b6a247: Waiting 5e876cc3ea93: Pulling fs layer 8a56b0f3a658: Pulling fs layer 3e0dde388c17: Waiting a038a235e8ed: Pulling fs layer b16488f1f0cc: Pulling fs layer e979953453c3: Pulling fs layer 8a56b0f3a658: Waiting b9538eec7973: Pulling fs layer b16488f1f0cc: Waiting e979953453c3: Waiting 0471be7f3e23: Waiting b8bddb841adb: Pulling fs layer 9b69d238a3b5: Pulling fs layer b9538eec7973: Waiting fc04645d1583: Pulling fs layer 5e876cc3ea93: Waiting 65ab179b94ad: Pulling fs layer d38ca75d3d80: Pulling fs layer 9b69d238a3b5: Waiting 3ab29b33bf13: Waiting df883b603c31: Pulling fs layer a038a235e8ed: Waiting 8c9bbc0e6dc0: Pulling fs layer b8bddb841adb: Waiting fc04645d1583: Waiting 8bd34f75a024: Pulling fs layer 6c8931cda24b: Pulling fs layer 48a972d49be7: Pulling fs layer 8bd34f75a024: Waiting 6c8931cda24b: Waiting df883b603c31: Waiting 8c9bbc0e6dc0: Waiting 35874924aa0a: Verifying Checksum 35874924aa0a: Download complete 1addcd43e9a2: Download complete af6eca94c810: Verifying Checksum af6eca94c810: Download complete 4386d8dbb832: Verifying Checksum 4386d8dbb832: Download complete af6eca94c810: Pull complete 35874924aa0a: Pull complete 1addcd43e9a2: Pull complete 4e40c047c9eb: Verifying Checksum 4e40c047c9eb: Download complete e02efa5fbeb0: Verifying Checksum e02efa5fbeb0: Download complete ddb408812e3f: Verifying Checksum ddb408812e3f: Download complete 4f73c2db8363: Verifying Checksum 4f73c2db8363: Download complete 3122a3b1669b: Verifying Checksum 3122a3b1669b: Download complete deae410034d9: Verifying Checksum deae410034d9: Download complete a394d8c5d250: Verifying Checksum a394d8c5d250: Download complete 4f73c2db8363: Pull complete 4386d8dbb832: Pull complete e17c1588711b: Verifying Checksum e17c1588711b: Download complete bfd2caa5d08a: Verifying Checksum bfd2caa5d08a: Download complete 6674449ba421: Verifying Checksum 6674449ba421: Download complete 18743c2bcc1d: Verifying Checksum 18743c2bcc1d: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 841888816ae9: Verifying Checksum 841888816ae9: Download complete da8af7f5fb44: Verifying Checksum da8af7f5fb44: Download complete 18d400b6558e: Verifying Checksum 18d400b6558e: Download complete f8a56eb6c4e2: Verifying Checksum f8a56eb6c4e2: Download complete 354be8b6a247: Verifying Checksum 354be8b6a247: Download complete a4ee84fc0560: Download complete 4e40c047c9eb: Pull complete 3ab29b33bf13: Verifying Checksum 3ab29b33bf13: Download complete 0060360391df: Verifying Checksum 0060360391df: Download complete e02efa5fbeb0: Pull complete 715dd9367ae6: Verifying Checksum 715dd9367ae6: Download complete ddb408812e3f: Pull complete 6fb01c13bb1d: Verifying Checksum 6fb01c13bb1d: Download complete 0471be7f3e23: Verifying Checksum 0471be7f3e23: Download complete 83424cbee6cd: Verifying Checksum 83424cbee6cd: Download complete 3122a3b1669b: Pull complete a394d8c5d250: Pull complete 3e0dde388c17: Verifying Checksum 3e0dde388c17: Download complete deae410034d9: Pull complete 8a56b0f3a658: Verifying Checksum 8a56b0f3a658: Download complete e17c1588711b: Pull complete 5e876cc3ea93: Verifying Checksum 5e876cc3ea93: Download complete a038a235e8ed: Verifying Checksum a038a235e8ed: Download complete da8af7f5fb44: Pull complete bfd2caa5d08a: Pull complete 6674449ba421: Pull complete 18743c2bcc1d: Pull complete e979953453c3: Download complete 4f4fb700ef54: Pull complete 841888816ae9: Pull complete 18d400b6558e: Pull complete f8a56eb6c4e2: Pull complete 354be8b6a247: Pull complete a4ee84fc0560: Pull complete 3ab29b33bf13: Pull complete 715dd9367ae6: Pull complete 0060360391df: Pull complete 6fb01c13bb1d: Pull complete 0471be7f3e23: Pull complete 83424cbee6cd: Pull complete 3e0dde388c17: Pull complete 5e876cc3ea93: Pull complete 8a56b0f3a658: Pull complete a038a235e8ed: Pull complete b16488f1f0cc: Verifying Checksum b16488f1f0cc: Download complete b8bddb841adb: Download complete 9b69d238a3b5: Verifying Checksum 9b69d238a3b5: Download complete fc04645d1583: Download complete 65ab179b94ad: Verifying Checksum 65ab179b94ad: Download complete d38ca75d3d80: Download complete df883b603c31: Download complete 8bd34f75a024: Download complete 6c8931cda24b: Download complete 48a972d49be7: Download complete b16488f1f0cc: Pull complete e979953453c3: Pull complete 8c9bbc0e6dc0: Verifying Checksum 8c9bbc0e6dc0: Download complete b9538eec7973: Verifying Checksum b9538eec7973: Download complete b9538eec7973: Pull complete b8bddb841adb: Pull complete 9b69d238a3b5: Pull complete fc04645d1583: Pull complete 65ab179b94ad: Pull complete d38ca75d3d80: Pull complete df883b603c31: Pull complete 8c9bbc0e6dc0: Pull complete 8bd34f75a024: Pull complete 6c8931cda24b: Pull complete 48a972d49be7: Pull complete Digest: sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06 Status: Downloaded newer image for ocaml/opam@sha256:4b849845cac64c924f2ba1b34ab28e692c38f93013d93f780f8f12566ab7be06 2025-10-27 22:52.43 ---> using "375f7ea603b3a165957a286115e0ff93cc1b4b2b25160efeed90a01ee65cdc60" from cache /: (comment ubuntu-22.04-5.4_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) 2025-10-27 22:52.43 ---> using "ea97c2a0fb232af302182b803f58e26f48ac3bed2d39105664bd3b7048eea6f6" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then 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. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y [NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=71 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-10-27 22:52.43 ---> using "733761f0461ddddd36484d772896e4743caba423d1992f7c57256b627f5ca729" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-157-generic The OCaml toplevel, version 5.4.0 2.4.1 2025-10-27 22:52.43 ---> using "54f907621342151627fc36ab9ba6f1563e6a61cbbdde4baff5ef5406a73bd577" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-10-27 22:52.43 ---> using "8778e6eee76774959ee29badf06d7a137a05001eb132b558ca8edbf37fa8fd2a" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 1abfcdbf14..7f9c784b97 master -> origin/master 7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Already up-to-date. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2025-10-27 22:52.43 ---> using "406bd4a547d269e4b99e8ce7af3fdb412f40407b2d89c7f844a4b14b6570aac1" from cache /src: (copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam) (dst ./)) 2025-10-27 22:52.43 ---> using "5b9b6b61c86f9a1135a8ac1ed8e04526af139fbbc5f8c759abdaeaeb6c6372ea" from cache /src: (run (network host) (shell "opam pin add -yn atdts.dev './' && \ \nopam pin add -yn atds.dev './' && \ \nopam pin add -yn atdpy.dev './' && \ \nopam pin add -yn atdj.dev './' && \ \nopam pin add -yn atdgen.dev './' && \ \nopam pin add -yn atdgen-runtime.dev './' && \ \nopam pin add -yn atdgen-codec-runtime.dev './' && \ \nopam pin add -yn atdd.dev './' && \ \nopam pin add -yn atdcpp.dev './' && \ \nopam pin add -yn atd.dev './'")) [atdts.dev] synchronised (file:///src) atdts is now pinned to file:///src (version dev) [atds.dev] synchronised (file:///src) atds is now pinned to file:///src (version dev) [atdpy.dev] synchronised (file:///src) atdpy is now pinned to file:///src (version dev) [atdj.dev] synchronised (file:///src) atdj is now pinned to file:///src (version dev) [atdgen.dev] synchronised (file:///src) atdgen is now pinned to file:///src (version dev) [atdgen-runtime.dev] synchronised (file:///src) atdgen-runtime is now pinned to file:///src (version dev) [atdgen-codec-runtime.dev] synchronised (file:///src) atdgen-codec-runtime is now pinned to file:///src (version dev) [atdd.dev] synchronised (file:///src) atdd is now pinned to file:///src (version dev) [atdcpp.dev] synchronised (file:///src) atdcpp is now pinned to file:///src (version dev) [atd.dev] synchronised (file:///src) atd is now pinned to file:///src (version dev) 2025-10-27 22:52.43 ---> using "66a5bd2975b7fe84f9ae2c0ce983def4e48a9e3362aa1ae1b97769286094713e" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-10-27 22:52.43 ---> using "f42cb8548612dede7738cd9aa5371977bbd355a1a6e31b5b57ba5232bc6fa3b8" from cache /src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 camlp-streams.5.0.1 cmdliner.2.0.0 conf-python-3.9.0.0 dune.3.20.2 easy-format.1.3.4 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 yojson.3.0.0") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:3 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1288 kB] - Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [60.9 kB] - Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3473 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.2 kB] - Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1594 kB] - Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5865 kB] - Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6064 kB] - Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3805 kB] - Fetched 22.6 MB in 13s (1712 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [atd.dev] synchronised (file:///src) [atdcpp.dev] synchronised (file:///src) [atdd.dev] synchronised (file:///src) [atdgen.dev] synchronised (file:///src) [atdgen-codec-runtime.dev] synchronised (file:///src) [atdgen-runtime.dev] synchronised (file:///src) [atdj.dev] synchronised (file:///src) [atdpy.dev] synchronised (file:///src) [atds.dev] synchronised (file:///src) [atdts.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following system packages will first need to be installed: python3 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "python3" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpython3.10-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 ... 15669 files and directories currently installed.) - Preparing to unpack .../libpython3.10-minimal_3.10.12-1~22.04.11_amd64.deb ... - Unpacking libpython3.10-minimal:amd64 (3.10.12-1~22.04.11) ... - Selecting previously unselected package python3.10-minimal. - Preparing to unpack .../python3.10-minimal_3.10.12-1~22.04.11_amd64.deb ... - Unpacking python3.10-minimal (3.10.12-1~22.04.11) ... - Setting up libpython3.10-minimal:amd64 (3.10.12-1~22.04.11) ... - Setting up python3.10-minimal (3.10.12-1~22.04.11) ... - 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 ... 15965 files and directories currently installed.) - Preparing to unpack .../0-python3-minimal_3.10.6-1~22.04.1_amd64.deb ... - Unpacking python3-minimal (3.10.6-1~22.04.1) ... - Selecting previously unselected package media-types. - Preparing to unpack .../1-media-types_7.0.0_all.deb ... - Unpacking media-types (7.0.0) ... - Selecting previously unselected package libmpdec3:amd64. - Preparing to unpack .../2-libmpdec3_2.5.1-2build2_amd64.deb ... - Unpacking libmpdec3:amd64 (2.5.1-2build2) ... - Selecting previously unselected package libpython3.10-stdlib:amd64. - Preparing to unpack .../3-libpython3.10-stdlib_3.10.12-1~22.04.11_amd64.deb ... - Unpacking libpython3.10-stdlib:amd64 (3.10.12-1~22.04.11) ... - Selecting previously unselected package python3.10. - Preparing to unpack .../4-python3.10_3.10.12-1~22.04.11_amd64.deb ... - Unpacking python3.10 (3.10.12-1~22.04.11) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../5-libpython3-stdlib_3.10.6-1~22.04.1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.10.6-1~22.04.1) ... - Setting up python3-minimal (3.10.6-1~22.04.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 ... 16367 files and directories currently installed.) - Preparing to unpack .../python3_3.10.6-1~22.04.1_amd64.deb ... - Unpacking python3 (3.10.6-1~22.04.1) ... - Setting up media-types (7.0.0) ... - Setting up libmpdec3:amd64 (2.5.1-2build2) ... - Setting up libpython3.10-stdlib:amd64 (3.10.12-1~22.04.11) ... - Setting up libpython3-stdlib:amd64 (3.10.6-1~22.04.1) ... - Setting up python3.10 (3.10.12-1~22.04.11) ... - Setting up python3 (3.10.6-1~22.04.1) ... - running python rtupdate hooks for python3.10... - running python post-rtupdate hooks for python3.10... - Processing triggers for libc-bin (2.35-0ubuntu3.11) ... 2025-10-27 22:52.43 ---> using "8ef78c0481030144d946bf0aa5892bc5fee2acbbcf1227e657eb0356cd8cb662" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 21 packages - install alcotest 1.9.1 - install astring 0.8.5 - install biniou 1.2.2 - install camlp-streams 5.0.1 - install cmdliner 2.0.0 - install conf-python-3 9.0.0 - install dune 3.20.2 - install easy-format 1.3.4 - install fmt 0.11.0 - install menhir 20250912 - install menhirCST 20250912 - install menhirLib 20250912 - install menhirSdk 20250912 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install re 1.14.0 - install stdlib-shims 0.3.0 - install topkg 1.1.0 - install uutf 1.0.4 - install yojson 3.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved alcotest.1.9.1 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved biniou.1.2.2 (cached) -> retrieved conf-python-3.9.0.0 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved cmdliner.2.0.0 (cached) -> installed conf-python-3.9.0.0 -> retrieved easy-format.1.3.4 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached) -> retrieved dune.3.20.2 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved re.1.14.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.1.0 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved yojson.3.0.0 (cached) -> installed cmdliner.2.0.0 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed topkg.1.1.0 -> installed uutf.1.0.4 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed dune.3.20.2 -> installed camlp-streams.5.0.1 -> installed easy-format.1.3.4 -> installed menhirCST.20250912 -> installed stdlib-shims.0.3.0 -> installed menhirSdk.20250912 -> installed menhirLib.20250912 -> installed biniou.1.2.2 -> installed ocaml-syntax-shims.1.0.0 -> installed re.1.14.0 -> installed yojson.3.0.0 -> installed alcotest.1.9.1 -> installed menhir.20250912 Done. # To update the current shell environment, run: eval $(opam env) 2025-10-27 22:52.43 ---> using "44c47df2f560a888f4ff6104b4cb3b06f4338fee4e3736832fe2c3fdac78e101" from cache /src: (copy (src .) (dst /src)) 2025-10-27 22:52.43 ---> saved as "6484282f639431fc2156eb4a2ad8daf0fb1bc57f120362d6872f6d459d29cbd9" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdj/src/.atdj_main.eobjs/byte -I /home/opam/.opam/5.4/lib/re -I atd/src/.atd.objs/byte -no-alias-deps -opaque -open Dune__exe -o atdj/src/.atdj_main.eobjs/byte/dune__exe__Atdj_main.cmo -c -impl atdj/src/atdj_main.ml) File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdj/src/.atdj_main.eobjs/byte -I atdj/src/.atdj_main.eobjs/native -I /home/opam/.opam/5.4/lib/re -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -cmi-file atdj/src/.atdj_main.eobjs/byte/dune__exe__Atdj_main.cmi -no-alias-deps -opaque -open Dune__exe -o atdj/src/.atdj_main.eobjs/native/dune__exe__Atdj_main.cmx -c -impl atdj/src/atdj_main.ml) File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). File "atds/test/dune", lines 13-22, characters 0-177: 13 | (rule 14 | (alias runtest) 15 | (package atds) 16 | (deps 17 | AtdsTest.scala 18 | argonaut_2.11-6.2.2.jar 19 | argonaut_2.12-6.2.2.jar 20 | junit-4.8.2.jar 21 | test.scala) 22 | (action (run ./run_test.sh))) (cd _build/default/atds/test && ./run_test.sh) ./run_test.sh: 6: scalac: not found File "atdj/test/dune", lines 53-61, characters 0-160: 53 | (rule 54 | (alias runtest) 55 | (package atdj) 56 | (deps 57 | AtdjTest.java 58 | json.jar 59 | junit-4.8.2.jar 60 | (glob_files com/mylife/test/*.java)) 61 | (action (run ./run_test.sh))) (cd _build/default/atdj/test && ./run_test.sh) ./run_test.sh: 5: javac: not found ./run_test.sh: 6: javac: not found ./run_test.sh: 7: javadoc: not found ./run_test.sh: 10: java: not found (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/.test_atdgen_main.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_classic_inline_record_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_classic_inline_record_j.cmo -c -impl atdgen/test/test_classic_inline_record_j.ml) File "atdgen/test/test_classic_inline_record_j.ml", line 43, characters 10-39: 43 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/.test_atdgen_main.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_ambiguous_variant_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_ambiguous_variant_j.cmo -c -impl atdgen/test/test_ambiguous_variant_j.ml) File "atdgen/test/test_ambiguous_variant_j.ml", line 40, characters 12-41: 40 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant File "atdd/test/dlang-tests/dune", lines 17-26, characters 0-141: 17 | (rule 18 | (alias runtest) 19 | (package atdd) 20 | (deps 21 | (glob_files *.d)) 22 | (action 23 | (progn 24 | (bash "ldc2 %{deps} --of test") 25 | (bash ./test) 26 | ))) (cd _build/default/atdd/test/dlang-tests && /usr/bin/bash -e -u -o pipefail -c 'ldc2 everything_atd.d test_atdd.d --of test') /usr/bin/bash: line 1: ldc2: command not found (cd _build/default/atdpy/src/test && ./Main.exe) Testing `atdpy'. This run has ID `6NUL985X'. Full test results in `/src/_build/default/atdpy/src/test/_build/_tests/atdpy'. Test Successful in 0.000s. 0 test run. (cd _build/default/atdts/src/test && ./Main.exe) Testing `atdts'. This run has ID `K3GK0A0I'. Full test results in `/src/_build/default/atdts/src/test/_build/_tests/atdts'. Test Successful in 0.000s. 0 test run. (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/spec_js/.spec_js.objs/byte -I atdgen/test/spec_js/.spec_js.objs/native -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/spec_js/.spec_js.objs/byte/spec_js__Spec_j.cmi -no-alias-deps -opaque -open Spec_js__ -o atdgen/test/spec_js/.spec_js.objs/native/spec_js__Spec_j.cmx -c -impl atdgen/test/spec_js/spec_j.ml) File "atdgen/test/spec_js/spec_j.ml", line 72, characters 10-39: 72 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/spec_js/.spec_js.objs/byte -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/spec_js/.spec_js.objs/byte/spec_js__Spec_j.cmi -no-alias-deps -opaque -open Spec_js__ -o atdgen/test/spec_js/.spec_js.objs/byte/spec_js__Spec_j.cmo -c -impl atdgen/test/spec_js/spec_j.ml) File "atdgen/test/spec_js/spec_j.ml", line 72, characters 10-39: 72 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default/atd/test && ./unit_tests.exe) Testing `atd'. This run has ID `IH6W9Z9O'. [OK] Annot 0 valid. [OK] Annot 1 invalid1. [OK] Annot 2 invalid2. [OK] Annot 3 invalid3. [OK] Annot 4 invalid4. [OK] Annot 5 invalid5. [OK] Annot 6 invalid6. [OK] Annot 7 invalid7. [OK] Annot 8 invalid8. [OK] Annot 9 invalid9. [OK] Sort 0 sort. [OK] Unique_name 0 reserved identifiers. [OK] Unique_name 1 reserved prefixes. [OK] Unique_name 2 identifier creation. [OK] Doc 0 normalize "". [OK] Doc 1 normalize "a". [OK] Doc 2 normalize "a b". [OK] Doc 3 normalize "a\nb". [OK] Doc 4 normalize "a b". [OK] Doc 5 normalize "a \n b". [OK] Doc 6 normalize "a \n\n b". [OK] Doc 7 normalize " a ". [OK] Doc 8 normalize "\n\na\n\n". [OK] Doc 9 normalize "{{}}". [OK] Doc 10 normalize "{{a}}". [OK] Doc 11 normalize "{{ a b\n\nc\n }}". [OK] Doc 12 normalize "{{ {a} }}". [OK] Doc 13 normalize "{{{}}}". [OK] Doc 14 normalize "{{{a}}}". [OK] Doc 15 normalize "{{{ }}}". [OK] Doc 16 normalize "{{{ {{a}} }}}". [OK] Doc 17 normalize "{{{ a\n\n b }}}". Full test results in `/src/_build/default/atd/test/_build/_tests/atd'. Test Successful in 0.003s. 32 tests run. (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/.test_atdgen_main.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test3j_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test3j_j.cmo -c -impl atdgen/test/test3j_j.ml) File "atdgen/test/test3j_j.ml", line 264, characters 10-39: 264 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I doc/atdgen-tutorial-data/config-file/.config.eobjs/byte -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file doc/atdgen-tutorial-data/config-file/.config.eobjs/byte/dune__exe__Config_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/config-file/.config.eobjs/byte/dune__exe__Config_j.cmo -c -impl doc/atdgen-tutorial-data/config-file/config_j.ml) File "doc/atdgen-tutorial-data/config-file/config_j.ml", line 194, characters 10-39: 194 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant File "atdpy/test/python-tests/dune", lines 19-29, characters 0-198: 19 | (rule 20 | (alias runtest) 21 | (package atdpy) 22 | (deps 23 | everything.py 24 | (glob_files *.py)) 25 | (action 26 | (progn 27 | (run python3 -m flake8 .) 28 | (run python3 -m mypy --strict .) 29 | (run python3 -m pytest .)))) (cd _build/default/atdpy/test/python-tests && /usr/bin/python3 -m flake8 .) /usr/bin/python3: No module named flake8 File "atdcat/test/dune", lines 57-87, characters 0-907: 57 | (rule 58 | (alias runtest) 59 | (deps .... 85 | ) 86 | ) 87 | ) (cd _build/default/atdcat/test && /usr/bin/python3 -m jsonschema schema.json -i data.json) /usr/bin/python3: No module named jsonschema (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I doc/atdgen-tutorial-data/validate/.resume.eobjs/byte -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file doc/atdgen-tutorial-data/validate/.resume.eobjs/byte/dune__exe__Resume_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/validate/.resume.eobjs/byte/dune__exe__Resume_j.cmo -c -impl doc/atdgen-tutorial-data/validate/resume_j.ml) File "doc/atdgen-tutorial-data/validate/resume_j.ml", line 237, characters 10-39: 237 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/melange/.melangespec_roundtrip.eobjs/byte -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen/test/melange/.melangespec_mel.objs/byte -I atdgen/test/melange/.melangespec_types.objs/byte -no-alias-deps -opaque -open Dune__exe -o atdgen/test/melange/.melangespec_roundtrip.eobjs/byte/dune__exe__Melangespec_roundtrip.cmo -c -impl atdgen/test/melange/melangespec_roundtrip.ml) File "atdgen/test/melange/melangespec_roundtrip.ml", line 29, characters 18-60: 29 | ; of_yojson = Atdgen_codec_runtime.Decode.decode melange ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type Atdgen_codec_runtime.Json.t -> 'a but an expression was expected of type Yojson.Safe.t -> 'b Type Atdgen_codec_runtime.Json.t = [ `Assoc of (string * Atdgen_codec_runtime.Json.t) list | `Bool of bool | `Float of float | `Int of int | `Intlit of string | `List of Atdgen_codec_runtime.Json.t list | `Null | `String of string | `Tuple of Atdgen_codec_runtime.Json.t list | `Variant of string * Atdgen_codec_runtime.Json.t option ] is not compatible with type Yojson.Safe.t = [ `Assoc of (string * Yojson.Safe.t) list | `Bool of bool | `Float of float | `Int of int | `Intlit of string | `List of Yojson.Safe.t list | `Null | `String of string ] The second variant type does not allow tag(s) `Tuple, `Variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/spec_js/.test_mel.eobjs/byte -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen/test/spec_js/.spec_js.objs/byte -no-alias-deps -opaque -o atdgen/test/spec_js/.test_mel.eobjs/byte/dune__exe__Test_mel.cmo -c -impl atdgen/test/spec_js/test_mel.ml) File "atdgen/test/spec_js/test_mel.ml", lines 3-28, characters 11-6: 3 | ...........Spec_js.Make(struct 4 | open Spec_js.Mel 5 | 6 | let r1 = make write_r1 7 | let r2 = make write_r2 ... 25 | let ages = make write_ages 26 | let open_enum = make write_open_enum 27 | let open_enum_list = make write_open_enum_list 28 | end) Error: Modules do not match: sig val r1 : Spec_js.Mel.r1 -> Atdgen_codec_runtime.Json.t val r2 : Spec_js__Spec_t.r2 -> Atdgen_codec_runtime.Json.t val r3 : Spec_js__Spec_t.r3 -> Atdgen_codec_runtime.Json.t val r4 : Spec_js__Spec_t.r4 -> Atdgen_codec_runtime.Json.t val r5 : Spec_js__Spec_t.r5 -> Atdgen_codec_runtime.Json.t val r6 : Spec_js__Spec_t.r6 -> Atdgen_codec_runtime.Json.t val r7 : Spec_js__Spec_t.r7 -> Atdgen_codec_runtime.Json.t val r8 : Spec_js__Spec_t.r8 -> Atdgen_codec_runtime.Json.t val j1 : Spec_js__.Spec_t.j1 -> Atdgen_codec_runtime.Json.t val j2 : unit -> Atdgen_codec_runtime.Json.t val j3 : Spec_js__.Spec_t.j3 -> Atdgen_codec_runtime.Json.t val j4 : char -> Atdgen_codec_runtime.Json.t val o1 : Spec_js__.Spec_t.o1 -> Atdgen_codec_runtime.Json.t val o2 : Spec_js__.Spec_t.o2 -> Atdgen_codec_runtime.Json.t val t1 : Spec_js__Spec_t.t1 -> Atdgen_codec_runtime.Json.t val t2 : Spec_js__Spec_t.t2 -> Atdgen_codec_runtime.Json.t val v1list : Spec_js__.Spec_t.v1list -> Atdgen_codec_runtime.Json.t val v2 : Spec_js__Spec_t.v2 -> Atdgen_codec_runtime.Json.t val v3list : Spec_js__.Spec_t.v3list -> Atdgen_codec_runtime.Json.t val ages : Spec_js__.Spec_t.ages -> Atdgen_codec_runtime.Json.t val open_enum : Spec_js__Spec_t.open_enum -> Atdgen_codec_runtime.Json.t val open_enum_list : Spec_js__.Spec_t.open_enum_list -> Atdgen_codec_runtime.Json.t end is not included in Spec_js.Json Values do not match: val r1 : Spec_js__Spec_t.r1 -> Atdgen_codec_runtime.Json.t is not included in val r1 : Spec_js__Spec_t.r1 Spec_js.j The type Spec_js__Spec_t.r1 -> Atdgen_codec_runtime.Json.t is not compatible with the type Spec_js__Spec_t.r1 Spec_js.j = Spec_js__Spec_t.r1 -> Yojson.Safe.t Type Atdgen_codec_runtime.Json.t = [ `Assoc of (string * Atdgen_codec_runtime.Json.t) list | `Bool of bool | `Float of float | `Int of int | `Intlit of string | `List of Atdgen_codec_runtime.Json.t list | `Null | `String of string | `Tuple of Atdgen_codec_runtime.Json.t list | `Variant of string * Atdgen_codec_runtime.Json.t option ] is not compatible with type Yojson.Safe.t = [ `Assoc of (string * Yojson.Safe.t) list | `Bool of bool | `Float of float | `Int of int | `Intlit of string | `List of Yojson.Safe.t list | `Null | `String of string ] The second variant type does not allow tag(s) `Tuple, `Variant File "atdgen/test/spec_js/spec_js.ml", line 9, characters 2-27: Expected declaration File "atdgen/test/spec_js/test_mel.ml", line 6, characters 8-10: Actual declaration (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/melange/.melangespec_roundtrip.eobjs/byte -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen/test/melange/.melangespec_mel.objs/byte -I atdgen/test/melange/.melangespec_types.objs/byte -cmi-file atdgen/test/melange/.melangespec_roundtrip.eobjs/byte/dune__exe__Melangespec_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/melange/.melangespec_roundtrip.eobjs/byte/dune__exe__Melangespec_j.cmo -c -impl atdgen/test/melange/melangespec_j.ml) File "atdgen/test/melange/melangespec_j.ml", line 395, characters 10-39: 395 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I doc/atdgen-tutorial-data/config-file/.config.eobjs/byte -I doc/atdgen-tutorial-data/config-file/.config.eobjs/native -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file doc/atdgen-tutorial-data/config-file/.config.eobjs/byte/dune__exe__Config_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/config-file/.config.eobjs/native/dune__exe__Config_j.cmx -c -impl doc/atdgen-tutorial-data/config-file/config_j.ml) File "doc/atdgen-tutorial-data/config-file/config_j.ml", line 194, characters 10-39: 194 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/.test_atdgen_main.eobjs/byte -I atdgen/test/.test_atdgen_main.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_ambiguous_variant_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/native/dune__exe__Test_ambiguous_variant_j.cmx -c -impl atdgen/test/test_ambiguous_variant_j.ml) File "atdgen/test/test_ambiguous_variant_j.ml", line 40, characters 12-41: 40 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I doc/atdgen-tutorial-data/validate/.resume.eobjs/byte -I doc/atdgen-tutorial-data/validate/.resume.eobjs/native -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file doc/atdgen-tutorial-data/validate/.resume.eobjs/byte/dune__exe__Resume_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/validate/.resume.eobjs/native/dune__exe__Resume_j.cmx -c -impl doc/atdgen-tutorial-data/validate/resume_j.ml) File "doc/atdgen-tutorial-data/validate/resume_j.ml", line 237, characters 10-39: 237 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/.test_atdgen_main.eobjs/byte -I atdgen/test/.test_atdgen_main.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test_classic_inline_record_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/native/dune__exe__Test_classic_inline_record_j.cmx -c -impl atdgen/test/test_classic_inline_record_j.ml) File "atdgen/test/test_classic_inline_record_j.ml", line 43, characters 10-39: 43 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/.test_atdgen_main.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testjstd.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testjstd.cmo -c -impl atdgen/test/testjstd.ml) File "atdgen/test/testjstd.ml", line 200, characters 10-39: 200 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I atdgen/test/.test_atdgen_main.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testj.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testj.cmo -c -impl atdgen/test/testj.ml) File "atdgen/test/testj.ml", line 200, characters 10-39: 200 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -bin-annot-occurrences -I doc/atdgen-tutorial-data/modularity/.main.eobjs/byte -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -cmi-file doc/atdgen-tutorial-data/modularity/.main.eobjs/byte/dune__exe__Part3_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/modularity/.main.eobjs/byte/dune__exe__Part3_j.cmo -c -impl doc/atdgen-tutorial-data/modularity/part3_j.ml) File "doc/atdgen-tutorial-data/modularity/part3_j.ml", line 32, characters 10-39: 32 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I doc/atdgen-tutorial-data/modularity/.main.eobjs/byte -I doc/atdgen-tutorial-data/modularity/.main.eobjs/native -I /home/opam/.opam/5.4/lib/yojson -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file doc/atdgen-tutorial-data/modularity/.main.eobjs/byte/dune__exe__Part3_j.cmi -no-alias-deps -opaque -open Dune__exe -o doc/atdgen-tutorial-data/modularity/.main.eobjs/native/dune__exe__Part3_j.cmx -c -impl doc/atdgen-tutorial-data/modularity/part3_j.ml) File "doc/atdgen-tutorial-data/modularity/part3_j.ml", line 32, characters 10-39: 32 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/melange/.melangespec_roundtrip.eobjs/byte -I atdgen/test/melange/.melangespec_roundtrip.eobjs/native -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -I atdgen/test/melange/.melangespec_mel.objs/byte -I atdgen/test/melange/.melangespec_mel.objs/native -I atdgen/test/melange/.melangespec_types.objs/byte -I atdgen/test/melange/.melangespec_types.objs/native -cmi-file atdgen/test/melange/.melangespec_roundtrip.eobjs/byte/dune__exe__Melangespec_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/melange/.melangespec_roundtrip.eobjs/native/dune__exe__Melangespec_j.cmx -c -impl atdgen/test/melange/melangespec_j.ml) File "atdgen/test/melange/melangespec_j.ml", line 395, characters 10-39: 395 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/.test_atdgen_main.eobjs/byte -I atdgen/test/.test_atdgen_main.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Test3j_j.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/native/dune__exe__Test3j_j.cmx -c -impl atdgen/test/test3j_j.ml) File "atdgen/test/test3j_j.ml", line 264, characters 10-39: 264 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant File "atdcpp/test/cpp-tests/dune", lines 19-28, characters 0-183: 19 | (rule 20 | (alias runtest) 21 | (package atdcpp) 22 | (deps 23 | (glob_files *.cpp)) 24 | (action 25 | (progn 26 | (bash "g++ -I../../lib/rapidjson/include -std=c++17 %{deps} -o test") 27 | (bash ./test) 28 | ))) (cd _build/default/atdcpp/test/cpp-tests && /usr/bin/bash -e -u -o pipefail -c 'g++ -I../../lib/rapidjson/include -std=c++17 everything_atd.cpp test_atdd.cpp -o test') In file included from everything_atd.cpp:12: everything_atd.hpp:12:10: fatal error: rapidjson/document.h: No such file or directory 12 | #include <rapidjson/document.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from test_atdd.cpp:12: everything_atd.hpp:12:10: fatal error: rapidjson/document.h: No such file or directory 12 | #include <rapidjson/document.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/.test_atdgen_main.eobjs/byte -I atdgen/test/.test_atdgen_main.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testjstd.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/native/dune__exe__Testjstd.cmx -c -impl atdgen/test/testjstd.ml) File "atdgen/test/testjstd.ml", line 200, characters 10-39: 200 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/test/.test_atdgen_main.eobjs/byte -I atdgen/test/.test_atdgen_main.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/biniou -I /home/opam/.opam/5.4/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -cmi-file atdgen/test/.test_atdgen_main.eobjs/byte/dune__exe__Testj.cmi -no-alias-deps -opaque -open Dune__exe -o atdgen/test/.test_atdgen_main.eobjs/native/dune__exe__Testj.cmx -c -impl atdgen/test/testj.ml) File "atdgen/test/testj.ml", line 200, characters 10-39: 200 | match Yojson.Safe.start_any_variant p lb with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Unbound value Yojson.Safe.start_any_variant "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-10-27 22:52.46: Job failed: Failed: Build failed