Organisationsahrefsatd576cf9 ()ubuntu-25.04-5.4_opam-2.4

ubuntu-25.04-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-09 21:20.41: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/yojson3 (576cf978ef0403a5246078d03d1ef5fd75b2b211) (linux-x86_64:ubuntu-25.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "yojson3" && cd "atd" && git reset --hard 576cf978
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a
# ubuntu-25.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 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 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.2.2.2"
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-09 21:20.41: Using cache hint "ahrefs/atd-ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a-ubuntu-25.04-5.4_opam-2.4-62b2629b23f11a0873ebdc6b080252cf"
2025-12-09 21:20.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a)
(comment ubuntu-25.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 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 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.2.2.2")
(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-09 21:20.41: Waiting for resource in pool OCluster
2025-12-09 21:20.41: Waiting for worker…
2025-12-09 21:22.56: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 5a84de1 Update test expectations
HEAD is now at 576cf97 Remove outdated TODO.md. We're using GitHub issues instead.


(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a' locally
docker.io/ocaml/opam@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a: Pulling from ocaml/opam
c62190a9ab61: Pulling fs layer
6c31bc6d66d3: Pulling fs layer
e957bf866d84: Pulling fs layer
944f4ce05081: Pulling fs layer
272207377111: Pulling fs layer
e1888eb2b850: Pulling fs layer
14e1aadcfe75: Pulling fs layer
8d63905a7205: Pulling fs layer
a5229e60d028: Pulling fs layer
01409d387ec4: Pulling fs layer
ff42524a9723: Pulling fs layer
8735a25efa84: Pulling fs layer
2768de046e30: Pulling fs layer
272207377111: Waiting
ef35f13a0aaa: Pulling fs layer
e2a7b92281c8: Pulling fs layer
e1888eb2b850: Waiting
0d2855cbfe26: Pulling fs layer
14e1aadcfe75: Waiting
944f4ce05081: Waiting
01409d387ec4: Waiting
b7d651e8fc49: Pulling fs layer
a5229e60d028: Waiting
0e634005fa7a: Pulling fs layer
8d63905a7205: Waiting
e2a7b92281c8: Waiting
ef35f13a0aaa: Waiting
0acc86136fa4: Pulling fs layer
0d2855cbfe26: Waiting
ff42524a9723: Waiting
b7d651e8fc49: Waiting
648242c238ec: Pulling fs layer
0e634005fa7a: Waiting
8735a25efa84: Waiting
0acc86136fa4: Waiting
4f4fb700ef54: Pulling fs layer
bdc1aecb8a1e: Pulling fs layer
3903fac4969c: Pulling fs layer
bdc1aecb8a1e: Waiting
83da0b79d314: Pulling fs layer
3903fac4969c: Waiting
4f4fb700ef54: Waiting
0203fbde99e8: Pulling fs layer
f0293603267c: Pulling fs layer
83da0b79d314: Waiting
3a8981f851cc: Pulling fs layer
2768de046e30: Waiting
0203fbde99e8: Waiting
68669fc1d256: Pulling fs layer
f0293603267c: Waiting
812b7dbefef2: Pulling fs layer
c4e3b4bb3f3b: Pulling fs layer
1f963a083838: Pulling fs layer
4411e6a72c35: Pulling fs layer
68669fc1d256: Waiting
c4e3b4bb3f3b: Waiting
1f963a083838: Waiting
fb7b35cb0a60: Pulling fs layer
812b7dbefef2: Waiting
d5b6f4d4b030: Pulling fs layer
e04eb6841420: Pulling fs layer
6d58e82fe5e5: Pulling fs layer
d5b6f4d4b030: Waiting
169c115f46d8: Pulling fs layer
6d58e82fe5e5: Waiting
cb57911ea052: Pulling fs layer
169c115f46d8: Waiting
d985218ccb94: Pulling fs layer
cb57911ea052: Waiting
b65bb4a88ae8: Pulling fs layer
1c4947d93cfe: Pulling fs layer
24e6b2f26af5: Pulling fs layer
b65bb4a88ae8: Waiting
1c4947d93cfe: Waiting
b9bf47108fe4: Pulling fs layer
24e6b2f26af5: Waiting
cbcae5ff7069: Pulling fs layer
d893b852ecd3: Pulling fs layer
305389c17d81: Pulling fs layer
d893b852ecd3: Waiting
b9bf47108fe4: Waiting
cbcae5ff7069: Waiting
305389c17d81: Waiting
e957bf866d84: Verifying Checksum
e957bf866d84: Download complete
6c31bc6d66d3: Verifying Checksum
6c31bc6d66d3: Download complete
272207377111: Verifying Checksum
272207377111: Download complete
c62190a9ab61: Verifying Checksum
c62190a9ab61: Download complete
14e1aadcfe75: Verifying Checksum
14e1aadcfe75: Download complete
944f4ce05081: Verifying Checksum
944f4ce05081: Download complete
8d63905a7205: Verifying Checksum
8d63905a7205: Download complete
a5229e60d028: Verifying Checksum
a5229e60d028: Download complete
01409d387ec4: Verifying Checksum
01409d387ec4: Download complete
ff42524a9723: Verifying Checksum
ff42524a9723: Download complete
c62190a9ab61: Pull complete
6c31bc6d66d3: Pull complete
e957bf866d84: Pull complete
8735a25efa84: Verifying Checksum
8735a25efa84: Download complete
2768de046e30: Verifying Checksum
2768de046e30: Download complete
ef35f13a0aaa: Download complete
e2a7b92281c8: Verifying Checksum
e2a7b92281c8: Download complete
0d2855cbfe26: Verifying Checksum
0d2855cbfe26: Download complete
0e634005fa7a: Verifying Checksum
0e634005fa7a: Download complete
b7d651e8fc49: Verifying Checksum
b7d651e8fc49: Download complete
0acc86136fa4: Verifying Checksum
0acc86136fa4: Download complete
944f4ce05081: Pull complete
648242c238ec: Verifying Checksum
648242c238ec: Download complete
272207377111: Pull complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
bdc1aecb8a1e: Verifying Checksum
bdc1aecb8a1e: Download complete
e1888eb2b850: Verifying Checksum
e1888eb2b850: Download complete
3903fac4969c: Verifying Checksum
3903fac4969c: Download complete
0203fbde99e8: Verifying Checksum
0203fbde99e8: Download complete
f0293603267c: Verifying Checksum
f0293603267c: Download complete
3a8981f851cc: Verifying Checksum
3a8981f851cc: Download complete
83da0b79d314: Verifying Checksum
83da0b79d314: Download complete
68669fc1d256: Verifying Checksum
68669fc1d256: Download complete
812b7dbefef2: Verifying Checksum
812b7dbefef2: Download complete
c4e3b4bb3f3b: Verifying Checksum
c4e3b4bb3f3b: Download complete
1f963a083838: Verifying Checksum
1f963a083838: Download complete
4411e6a72c35: Verifying Checksum
4411e6a72c35: Download complete
fb7b35cb0a60: Download complete
e04eb6841420: Verifying Checksum
e04eb6841420: Download complete
169c115f46d8: Verifying Checksum
169c115f46d8: Download complete
cb57911ea052: Verifying Checksum
cb57911ea052: Download complete
d985218ccb94: Verifying Checksum
d985218ccb94: Download complete
b65bb4a88ae8: Verifying Checksum
b65bb4a88ae8: Download complete
24e6b2f26af5: Verifying Checksum
24e6b2f26af5: Download complete
6d58e82fe5e5: Verifying Checksum
6d58e82fe5e5: Download complete
cbcae5ff7069: Verifying Checksum
cbcae5ff7069: Download complete
d893b852ecd3: Verifying Checksum
d893b852ecd3: Download complete
305389c17d81: Verifying Checksum
305389c17d81: Download complete
e1888eb2b850: Pull complete
14e1aadcfe75: Pull complete
8d63905a7205: Pull complete
a5229e60d028: Pull complete
b9bf47108fe4: Verifying Checksum
b9bf47108fe4: Download complete
01409d387ec4: Pull complete
ff42524a9723: Pull complete
8735a25efa84: Pull complete
2768de046e30: Pull complete
ef35f13a0aaa: Pull complete
e2a7b92281c8: Pull complete
0d2855cbfe26: Pull complete
b7d651e8fc49: Pull complete
0e634005fa7a: Pull complete
0acc86136fa4: Pull complete
648242c238ec: Pull complete
4f4fb700ef54: Pull complete
bdc1aecb8a1e: Pull complete
3903fac4969c: Pull complete
83da0b79d314: Pull complete
0203fbde99e8: Pull complete
f0293603267c: Pull complete
3a8981f851cc: Pull complete
68669fc1d256: Pull complete
812b7dbefef2: Pull complete
c4e3b4bb3f3b: Pull complete
1f963a083838: Pull complete
4411e6a72c35: Pull complete
fb7b35cb0a60: Pull complete
d5b6f4d4b030: Verifying Checksum
d5b6f4d4b030: Download complete
d5b6f4d4b030: Pull complete
e04eb6841420: Pull complete
6d58e82fe5e5: Pull complete
169c115f46d8: Pull complete
cb57911ea052: Pull complete
d985218ccb94: Pull complete
b65bb4a88ae8: Pull complete
1c4947d93cfe: Pull complete
24e6b2f26af5: Pull complete
b9bf47108fe4: Pull complete
cbcae5ff7069: Pull complete
d893b852ecd3: Pull complete
305389c17d81: Pull complete
Digest: sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a
Status: Downloaded newer image for ocaml/opam@sha256:317ab3a2251a14fd41554ae61c0a9130d4d6b4a163f1b44dee089c0c3e18779a
2025-12-09 21:22.57 ---> using "50e8d351fd85100bcaa09c1a16c9caaf0dd6ebf586c5923343764d4b3caaa07b" from cache


/: (comment ubuntu-25.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-12-09 21:22.58 ---> saved as "71eba14205a840ca7ffb685dcd48a7ca4563327d75b28716e665884e192611d1"


/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-09 21:23.34 ---> saved as "d158064ffb6b3a8fec01ede3f94bcf345c1da48a7ae68f21f680e9c676d3f076"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-09 21:23.35 ---> saved as "2c7766b5e71fb89a56f210a84c7eb97fd806a0f5c008feb22a76a3cca7c9f637"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-09 21:23.35 ---> saved as "602e07c899f6d650abc1b32c79d8dd07c19b7959bfbda0fb4e2c4950b65c768a"


/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..d684c896eb  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-09 21:24.06 ---> saved as "893a928fe8e44bf8ddbb43efb0e42f646fc959c8198a1ec2a502721415ca3f59"


/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-09 21:24.06 ---> saved as "3a1bd21195eb9a246442228c0f1170aa76113141c4d1be508d32855da69a6b13"


/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-09 21:24.27 ---> saved as "652a647f943489dfc093d784feab7f2a367488f0b7d284de4cdef31e35bc7ebd"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-09 21:24.27 ---> saved as "202129a67ec1375dfd9a1ae8bef5e6e35ed329718a9a64bf8986a0794be1aef3"


/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 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4 yojson.2.2.2")


/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"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [328 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [441 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [383 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [555 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [378 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [251 kB]
- Fetched 2713 kB in 0s (11.3 MB/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"
- Preconfiguring packages ...
- Selecting previously unselected package libpython3.13-minimal:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16533 files and directories currently installed.)
- Preparing to unpack .../libpython3.13-minimal_3.13.3-1ubuntu0.4_amd64.deb ...
- Unpacking libpython3.13-minimal:amd64 (3.13.3-1ubuntu0.4) ...
- Selecting previously unselected package python3.13-minimal.
- Preparing to unpack .../python3.13-minimal_3.13.3-1ubuntu0.4_amd64.deb ...
- Unpacking python3.13-minimal (3.13.3-1ubuntu0.4) ...
- Setting up libpython3.13-minimal:amd64 (3.13.3-1ubuntu0.4) ...
- Setting up python3.13-minimal (3.13.3-1ubuntu0.4) ...
- 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 ... 16858 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.13.3-1_amd64.deb ...
- Unpacking python3-minimal (3.13.3-1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_13.0.0_all.deb ...
- Unpacking media-types (13.0.0) ...
- Selecting previously unselected package tzdata.
- Preparing to unpack .../2-tzdata_2025b-1ubuntu1.1_all.deb ...
- Unpacking tzdata (2025b-1ubuntu1.1) ...
- Selecting previously unselected package libpython3.13-stdlib:amd64.
- Preparing to unpack .../3-libpython3.13-stdlib_3.13.3-1ubuntu0.4_amd64.deb ...
- Unpacking libpython3.13-stdlib:amd64 (3.13.3-1ubuntu0.4) ...
- Selecting previously unselected package python3.13.
- Preparing to unpack .../4-python3.13_3.13.3-1ubuntu0.4_amd64.deb ...
- Unpacking python3.13 (3.13.3-1ubuntu0.4) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../5-libpython3-stdlib_3.13.3-1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.13.3-1) ...
- Setting up python3-minimal (3.13.3-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 ... 17825 files and directories currently installed.)
- Preparing to unpack .../python3_3.13.3-1_amd64.deb ...
- Unpacking python3 (3.13.3-1) ...
- Setting up media-types (13.0.0) ...
- Setting up tzdata (2025b-1ubuntu1.1) ...
- 
- Current default time zone: 'Europe/London'
- Local time is now:      Tue Dec  9 21:24:49 GMT 2025.
- Universal Time is now:  Tue Dec  9 21:24:49 UTC 2025.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up libpython3.13-stdlib:amd64 (3.13.3-1ubuntu0.4) ...
- Setting up libpython3-stdlib:amd64 (3.13.3-1) ...
- Setting up python3.13 (3.13.3-1ubuntu0.4) ...
- Setting up python3 (3.13.3-1) ...
- running python rtupdate hooks for python3.13...
- running python post-rtupdate hooks for python3.13...
2025-12-09 21:24.53 ---> saved as "750e5db08e9bc9641e595f975edc481e558b4c8ff941077bab638c9a61ccadc5"


/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 22 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 seq                base
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4
- install yojson             2.2.2


<><> 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)
-> 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 ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.20.2  (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 menhirCST.20250912
-> installed camlp-streams.5.0.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed biniou.1.2.2
-> installed re.1.14.0
-> installed yojson.2.2.2
-> installed alcotest.1.9.1
-> installed menhir.20250912
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 21:26.45 ---> saved as "d3574fe5a3fc7ed2343c7669b14e75fccbb2751d1b53c5a3dd7d469e5b9c0f46"


/src: (copy (src .) (dst /src))
2025-12-09 21:26.46 ---> saved as "3e5ebff5b5045e8e2aee8cee07088b7969a3a863e3dc920068f9a7adb1875d1a"


/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 "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
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 "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 `HHVN9QAX'.


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


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 `5FN0CVGQ'.


[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.
(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 ]
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
           | `Tuple of Yojson.Safe.t list
           | `Variant of string * Yojson.Safe.t option ]
The first 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 ]
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
         | `Tuple of Yojson.Safe.t list
         | `Variant of string * Yojson.Safe.t option ]
The first 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
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/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 2426, characters 43-95:
2426 |   Atdgen_runtime.Oj_run.write_with_adapter Atdgen_codec_runtime.Json_adapter.Type_field.restore (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The value Atdgen_codec_runtime.Json_adapter.Type_field.restore has type
Atdgen_codec_runtime.Json.t -> Atdgen_codec_runtime.Json.t
but an expression was expected of type Yojson.Safe.t -> Yojson.Safe.t
Type
Atdgen_codec_runtime.Json.t =
[ `Assoc of (label * Atdgen_codec_runtime.Json.t) list
           | `Bool of valid
           | `Float of float
           | `Int of int
           | `Intlit of label
           | `List of Atdgen_codec_runtime.Json.t list
           | `Null
           | `String of label ]
is not compatible with type
Yojson.Safe.t =
[ `Assoc of (label * Yojson.Safe.t) list
           | `Bool of valid
           | `Float of float
           | `Int of int
           | `Intlit of label
           | `List of Yojson.Safe.t list
           | `Null
           | `String of label
           | `Tuple of Yojson.Safe.t list
           | `Variant of label * Yojson.Safe.t option ]
The first 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/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 2426, characters 43-95:
2426 |   Atdgen_runtime.Oj_run.write_with_adapter Atdgen_codec_runtime.Json_adapter.Type_field.restore (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: The value Atdgen_codec_runtime.Json_adapter.Type_field.restore has type
Atdgen_codec_runtime.Json.t -> Atdgen_codec_runtime.Json.t
but an expression was expected of type Yojson.Safe.t -> Yojson.Safe.t
Type
Atdgen_codec_runtime.Json.t =
[ `Assoc of (label * Atdgen_codec_runtime.Json.t) list
           | `Bool of valid
           | `Float of float
           | `Int of int
           | `Intlit of label
           | `List of Atdgen_codec_runtime.Json.t list
           | `Null
           | `String of label ]
is not compatible with type
Yojson.Safe.t =
[ `Assoc of (label * Yojson.Safe.t) list
           | `Bool of valid
           | `Float of float
           | `Int of int
           | `Intlit of label
           | `List of Yojson.Safe.t list
           | `Null
           | `String of label
           | `Tuple of Yojson.Safe.t list
           | `Variant of label * Yojson.Safe.t option ]
The first variant type does not allow tag(s) `Tuple, `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/atdgen/test && ./test_atdgen_main.exe)
Testing `atdgen'.
This run has ID `QI2PMPTS'.


[OK]          atdgen          0   ocaml internals.
[OK]          atdgen          1   biniou missing record fields.
[OK]          atdgen          2   biniou missing tuple fields.
[OK]          atdgen          3   biniou read/write unit.
[OK]          atdgen          4   json missing record fields.
[OK]          atdgen          5   json missing tuple fields.
[OK]          atdgen          6   json extra field warning.
[OK]          atdgen          7   json association list.
[OK]          atdgen          8   json association array.
[OK]          atdgen          9   json ints derived from ocaml floats.
[OK]          atdgen         10   biniou correctness.
[OK]          atdgen         11   json correctness.
[OK]          atdgen         12   json space.
[OK]          atdgen         13   validators0.
[OK]          atdgen         14   validators1.
[OK]          atdgen         15   validators2.
[OK]          atdgen         16   validators3.
[OK]          atdgen         17   validators4.
[OK]          atdgen         18   json files.
[OK]          atdgen         19   json streams.
[OK]          atdgen         20   raw JSON.
[OK]          atdgen         21   ocaml wrapping - ints.
[OK]          atdgen         22   ocaml wrapping - double wrapping.
[OK]          atdgen         23   ocaml wrapping - with validation.
[OK]          atdgen         24   ocaml wrapping - wrap constructor without...
[OK]          atdgen         25   check length of floats serialized as floa...
[OK]          atdgen         26   print JSON floats with maximum number of ...
[OK]          atdgen         27   read json record with null fields meaning...
[OK]          atdgen         28   read and write a variant represented as a...
[OK]          atdgen         29   read and write a variant represented as a...
[OK]          atdgen         30   test variants represented with single-fie...
[OK]          atdgen         31   emulate the retired tag_field feature.
[OK]          atdgen         32   emulate the retired tag_field feature, wi...
[OK]          atdgen         33   test <json open_enum>.
[OK]          atdgen         34   test ambiguous record with json adapters.
[OK]          atdgen         35   test ambiguous classic variants with json...
[OK]          atdgen         36   test wrapping of polymorphic types.
[OK]          atdgen         37   json encoding int.
[OK]          atdgen         38   json encoding & decoding int.
[OK]          atdgen         39   json encoding int with string representat...
[OK]          atdgen         40   json encoding & decoding int with string ...
[OK]          atdgen         41   abstract types.
[OK]          atdgen         42   untyped json.
[OK]          atdgen         43   generic.
[OK]          atdgen         44   inline-records.


Full test results in `/src/_build/default/atdgen/test/_build/_tests/atdgen'.
Test Successful in 0.015s. 45 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-12-09 21:26.54: Job failed: Failed: Build failed