Organisationsahrefsatdcbc8fc ()opensuse-16.0-5.4_opam-2.4

opensuse-16.0-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-03 05:13.46: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/martin/fix-ci (cbc8fc5313002555df0c5465562b7e4645b09ed2) (linux-x86_64:opensuse-16.0-5.4_opam-2.4)
Base: ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "martin/fix-ci" && cd "atd" && git reset --hard cbc8fc53
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79
# opensuse-16.0-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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1.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.1 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-12-03 05:13.46: Using cache hint "ahrefs/atd-ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79-opensuse-16.0-5.4_opam-2.4-24fc6da6085715b3719f569d8e6392a4"
2025-12-03 05:13.46: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79)
(comment opensuse-16.0-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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1.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.1 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-12-03 05:13.46: Waiting for resource in pool OCluster
2025-12-03 05:13.46: Waiting for worker…
2025-12-03 05:13.46: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
HEAD is now at f26027d Upgrade nodeJS from 16 to 24
HEAD is now at cbc8fc5 Update installation of Python tools


(from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79)
Unable to find image 'ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79' locally
docker.io/ocaml/opam@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79: Pulling from ocaml/opam
64cfa2a65095: Pulling fs layer
320fd2571c69: Pulling fs layer
e3128b2a1cd4: Pulling fs layer
acce8b1619ff: Pulling fs layer
11d985658944: Pulling fs layer
acce8b1619ff: Waiting
5c5b58d580a7: Pulling fs layer
5e75b627cbd3: Pulling fs layer
11d985658944: Waiting
568326b7a1a6: Pulling fs layer
5c5b58d580a7: Waiting
5e75b627cbd3: Waiting
fda6a824b52a: Pulling fs layer
568326b7a1a6: Waiting
61eb3722d665: Pulling fs layer
3ee891d6bc98: Pulling fs layer
fbebbe6d7e78: Pulling fs layer
61eb3722d665: Waiting
ffdc4923f4d8: Pulling fs layer
3ee891d6bc98: Waiting
fbebbe6d7e78: Waiting
b3cefc22657f: Pulling fs layer
ffdc4923f4d8: Waiting
0f65b5048a68: Pulling fs layer
b3cefc22657f: Waiting
fdafa843400a: Pulling fs layer
675d43fcc48d: Pulling fs layer
fdafa843400a: Waiting
675d43fcc48d: Waiting
4f4fb700ef54: Pulling fs layer
07c46357da3e: Pulling fs layer
c2952720b4b8: Pulling fs layer
4f4fb700ef54: Waiting
0def37599331: Pulling fs layer
c2952720b4b8: Waiting
0215fec64307: Pulling fs layer
1e114b6e0b99: Pulling fs layer
0def37599331: Waiting
0215fec64307: Waiting
8be8727cf2d4: Pulling fs layer
1e114b6e0b99: Waiting
07ea0cd9caad: Pulling fs layer
8be8727cf2d4: Waiting
219aa75ada64: Pulling fs layer
07ea0cd9caad: Waiting
4f733390fc25: Pulling fs layer
219aa75ada64: Waiting
47822bfd74c9: Pulling fs layer
4f733390fc25: Waiting
55ac5afcc236: Pulling fs layer
47822bfd74c9: Waiting
81a12f7ea306: Pulling fs layer
55ac5afcc236: Waiting
dc735bc4d209: Pulling fs layer
81a12f7ea306: Waiting
8099339dfa3d: Pulling fs layer
dc735bc4d209: Waiting
18db35b7babc: Pulling fs layer
2c554e7edcff: Pulling fs layer
8099339dfa3d: Waiting
18db35b7babc: Waiting
037020dca856: Pulling fs layer
8c3fd11b2030: Pulling fs layer
2c554e7edcff: Waiting
6954d7bb10ca: Pulling fs layer
037020dca856: Waiting
8c3fd11b2030: Waiting
4315ab71159e: Pulling fs layer
3863393c1a0f: Pulling fs layer
4315ab71159e: Waiting
6954d7bb10ca: Waiting
680088d63c37: Pulling fs layer
3863393c1a0f: Waiting
f250687dc69c: Pulling fs layer
680088d63c37: Waiting
7b4133daefc9: Pulling fs layer
f250687dc69c: Waiting
9d755a689039: Pulling fs layer
7b4133daefc9: Waiting
9d755a689039: Waiting
320fd2571c69: Verifying Checksum
320fd2571c69: Download complete
64cfa2a65095: Verifying Checksum
64cfa2a65095: Download complete
11d985658944: Download complete
5c5b58d580a7: Verifying Checksum
5c5b58d580a7: Download complete
5e75b627cbd3: Verifying Checksum
5e75b627cbd3: Download complete
e3128b2a1cd4: Verifying Checksum
e3128b2a1cd4: Download complete
fda6a824b52a: Verifying Checksum
fda6a824b52a: Download complete
61eb3722d665: Verifying Checksum
61eb3722d665: Download complete
64cfa2a65095: Pull complete
320fd2571c69: Pull complete
568326b7a1a6: Verifying Checksum
568326b7a1a6: Download complete
3ee891d6bc98: Verifying Checksum
3ee891d6bc98: Download complete
fbebbe6d7e78: Verifying Checksum
fbebbe6d7e78: Download complete
ffdc4923f4d8: Verifying Checksum
ffdc4923f4d8: Download complete
0f65b5048a68: Verifying Checksum
0f65b5048a68: Download complete
fdafa843400a: Verifying Checksum
fdafa843400a: Download complete
675d43fcc48d: Download complete
b3cefc22657f: Verifying Checksum
4f4fb700ef54: Download complete
07c46357da3e: Verifying Checksum
07c46357da3e: Download complete
c2952720b4b8: Verifying Checksum
c2952720b4b8: Download complete
0def37599331: Verifying Checksum
0def37599331: Download complete
0215fec64307: Download complete
1e114b6e0b99: Verifying Checksum
1e114b6e0b99: Download complete
8be8727cf2d4: Verifying Checksum
8be8727cf2d4: Download complete
07ea0cd9caad: Download complete
219aa75ada64: Verifying Checksum
219aa75ada64: Download complete
4f733390fc25: Verifying Checksum
4f733390fc25: Download complete
47822bfd74c9: Verifying Checksum
47822bfd74c9: Download complete
55ac5afcc236: Verifying Checksum
55ac5afcc236: Download complete
81a12f7ea306: Verifying Checksum
81a12f7ea306: Download complete
8099339dfa3d: Verifying Checksum
8099339dfa3d: Download complete
e3128b2a1cd4: Pull complete
dc735bc4d209: Verifying Checksum
dc735bc4d209: Download complete
2c554e7edcff: Verifying Checksum
2c554e7edcff: Download complete
037020dca856: Verifying Checksum
037020dca856: Download complete
8c3fd11b2030: Download complete
6954d7bb10ca: Download complete
4315ab71159e: Verifying Checksum
4315ab71159e: Download complete
3863393c1a0f: Verifying Checksum
3863393c1a0f: Download complete
acce8b1619ff: Verifying Checksum
acce8b1619ff: Download complete
f250687dc69c: Download complete
7b4133daefc9: Verifying Checksum
7b4133daefc9: Download complete
9d755a689039: Download complete
680088d63c37: Verifying Checksum
680088d63c37: Download complete
acce8b1619ff: Pull complete
11d985658944: Pull complete
5c5b58d580a7: Pull complete
5e75b627cbd3: Pull complete
568326b7a1a6: Pull complete
fda6a824b52a: Pull complete
61eb3722d665: Pull complete
3ee891d6bc98: Pull complete
fbebbe6d7e78: Pull complete
ffdc4923f4d8: Pull complete
b3cefc22657f: Pull complete
0f65b5048a68: Pull complete
fdafa843400a: Pull complete
675d43fcc48d: Pull complete
4f4fb700ef54: Pull complete
07c46357da3e: Pull complete
c2952720b4b8: Pull complete
0def37599331: Pull complete
0215fec64307: Pull complete
1e114b6e0b99: Pull complete
8be8727cf2d4: Pull complete
07ea0cd9caad: Pull complete
219aa75ada64: Pull complete
4f733390fc25: Pull complete
47822bfd74c9: Pull complete
55ac5afcc236: Pull complete
81a12f7ea306: Pull complete
18db35b7babc: Verifying Checksum
18db35b7babc: Download complete
dc735bc4d209: Pull complete
8099339dfa3d: Pull complete
18db35b7babc: Pull complete
2c554e7edcff: Pull complete
037020dca856: Pull complete
8c3fd11b2030: Pull complete
6954d7bb10ca: Pull complete
4315ab71159e: Pull complete
3863393c1a0f: Pull complete
680088d63c37: Pull complete
f250687dc69c: Pull complete
7b4133daefc9: Pull complete
9d755a689039: Pull complete
Digest: sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79
Status: Downloaded newer image for ocaml/opam@sha256:9c448ce8ac445f257bf61e939f6e710de5fde775062d64d535e551be93cbaf79
2025-12-03 05:13.47 ---> using "cfce033526ce900fc954593011c694a3737d1f168beb84977f1c33bcdefca910" from cache


/: (comment opensuse-16.0-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-12-03 05:13.47 ---> using "80aa42b0215a164f3a802aa9a11ef707ebc6e52f1f4e518d89183b76cce721bd" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-03 05:13.47 ---> using "3597f87e210fbb4b30a8a5ce0645491fce5e8deef71d1eedbe9255baccbf5784" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-86-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-03 05:13.47 ---> using "35bed1cfc3003ecf77fab0a4412d0c0364b8e5dfb09d3e2beff24c4b681baadc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-03 05:13.47 ---> using "512b1de8083ab5e332d2eb10c7e0d027b1c612950aace03fc5a3a18e3f9e1adc" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
2ec6d6cc92..2fd4164ca1  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)


<><> 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-12-03 05:13.47 ---> using "b4e37d5a070a36d017989b57c45f7401c9bcf2f92a5015625973a1c4de8954ec" 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-12-03 05:13.47 ---> using "ed8a1915875e7090f525ad8744dcf0308dc674dccb1f577883ae7378cb961b19" 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-12-03 05:13.47 ---> using "85bf81870a59e0bdd3e481436b63f746baf6398fce6801c81d28863c5ed470a0" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-03 05:13.47 ---> using "3d0484cb374f1aa0ee6421d2e928c103cfc37d5807885ff58619b04642df4e3c" 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.1.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.1 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 "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Retrieving repository 'repo-oss (16.0)' metadata [..
- Looking for gpg keys in repository repo-oss (16.0).
-   gpgkey=http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml.key
- ...
- .....
- ..........
- ..........
- .....done]
- Building repository 'repo-oss (16.0)' cache [..
- ..done]
- All repositories have been refreshed.


<><> 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 "zypper" "--non-interactive" "install" "python3"
- Refreshing service 'openSUSE'.
- Loading repository data...
- Reading installed packages...
- 'python3' not found in package names. Trying capabilities.
- Resolving package dependencies...
- 
- The following 4 NEW packages are going to be installed:
-   libmpdec4 libpython3_13-1_0 python313 python313-base
- 
- 4 new packages to install.
- 
- Package download size:    11.8 MiB
- 
- Package install size change:
-               |      44.6 MiB  required by packages that will be installed
-     44.6 MiB  |  -      0 B    released by packages that will be removed
- 
- Backend:  classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Preloading Packages [..
- Preloading: libmpdec4-4.0.1-160000.2.2.x86_64.rpm [done]
- .
- 
- Preloading: python313-3.13.5-160000.2.2.x86_64.rpm [done]
- ...
- .
- Preloading: python313-base-3.13.5-160000.2.2.x86_64.rpm [done]
- .
- 
- Preloading: libpython3_13-1_0-3.13.5-160000.2.2.x86_64.rpm [Error: "The requested URL returned error: 404", trying next mirror.]
- ..
- Preloading: libpython3_13-1_0-3.13.5-160000.2.2.x86_64.rpm [done]
- .done]
- Retrieving: libmpdec4-4.0.1-160000.2.2.x86_64 (repo-oss (16.0)) (1/4),  85.2 KiB
- Retrieving: libpython3_13-1_0-3.13.5-160000.2.2.x86_64 (repo-oss (16.0)) (2/4),   2.0 MiB
- Retrieving: python313-base-3.13.5-160000.2.2.x86_64 (repo-oss (16.0)) (3/4),   9.2 MiB
- Retrieving: python313-3.13.5-160000.2.2.x86_64 (repo-oss (16.0)) (4/4), 492.7 KiB
- 
- Checking for file conflicts: [..done]
- (1/4) Installing: libmpdec4-4.0.1-160000.2.2.x86_64 [..
- done]
- (2/4) Installing: libpython3_13-1_0-3.13.5-160000.2.2.x86_64 [..done]
- (3/4) Installing: python313-base-3.13.5-160000.2.2.x86_64 [......done]
- (4/4) Installing: python313-3.13.5-160000.2.2.x86_64 [..done]
- Running post-transaction scripts [...done]
2025-12-03 05:13.47 ---> using "c3c56a0876eefa466bc5bbc9b8060b79f3953b9b7e028cce0085aa4370227b80" 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.1.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.1
- install uutf               1.0.4
- install yojson             3.0.0


The following system packages will first need to be installed:
python3


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation


[1/2/3/4] 1


+ /usr/bin/sudo "zypper" "--non-interactive" "install" "python3"
- Refreshing service 'openSUSE'.
- Loading repository data...
- Reading installed packages...
- 'python3' not found in package names. Trying capabilities.
- 'python313' providing 'python3' is already installed.
- Resolving package dependencies...
- Nothing to do.


<><> 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.1.0  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> installed conf-python-3.9.0.0
-> 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.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed easy-format.1.3.4
-> installed camlp-streams.5.0.1
-> 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-12-03 05:13.47 ---> using "0d2acb4868817d62446afc454d035cc1cd268f3f3f8fc9ab9ed0a926c8fb7ac5" from cache


/src: (copy (src .) (dst /src))
2025-12-03 05:13.48 ---> saved as "70ca9fb3ede4d2d22b347367e2a7060f13ead112eca616815001ab59884c713e"


/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: line 6: scalac: command not found
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
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
(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
(cd _build/default/atdpy/src/test && ./Main.exe)
Testing `atdpy'.
This run has ID `C92SCD8H'.


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 `IB2693BO'.


Full test results in `/src/_build/default/atdts/src/test/_build/_tests/atdts'.
Test Successful in 0.000s. 0 test run.
(cd _build/default/atd/test && ./unit_tests.exe)
Testing `atd'.
This run has ID `ZSWOZWLN'.


[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.005s. 32 tests run.
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: line 5: javac: command not found
./run_test.sh: line 6: javac: command not found
./run_test.sh: line 7: javadoc: command not found
./run_test.sh: line 10: java: command 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/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 && /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 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
(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
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 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/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/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/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__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/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
(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
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.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-12-03 05:13.52: Job failed: Failed: Build failed