Organisationsahrefsatddf8dec (martin/dune-upgrade)debian-13-4.14+flambda_opam-2.4

debian-13-4.14+flambda_opam-2.4

Link Copied
Code Copied

Logs

2025-12-16 02:59.09: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/heads/martin/dune-upgrade (df8dec568fefface77fc628fb30c66b7b7597823) (linux-x86_64:debian-13-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/atd.git" -b "martin/dune-upgrade" && cd "atd" && git reset --hard df8dec56
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
# debian-13-4.14+flambda_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-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.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options 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-16 02:59.09: Using cache hint "ahrefs/atd-ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a-debian-13-4.14+flambda_opam-2.4-5ec5a5cdbebb0327a401f724f92a9e09"
2025-12-16 02:59.09: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a)
(comment debian-13-4.14+flambda_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-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.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options 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-16 02:59.09: Waiting for resource in pool OCluster
2025-12-16 02:59.10: Waiting for worker…
2025-12-16 02:59.10: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at df8dec5 Require dune >= 3.18 (March 2025) so as to support emitting the 'x-maintenance-intent' file for opam files


(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a' locally
docker.io/ocaml/opam@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a: Pulling from ocaml/opam
2981f7e8980b: Already exists
9c63e1c4ba84: Already exists
02578b9c9f1b: Already exists
3801cb7ba5e6: Already exists
1c4cdedd39f1: Already exists
40f6006c5f5a: Already exists
c451a17216ec: Already exists
e4104b8f72ee: Already exists
7c7dbc5e7919: Already exists
aa82be714e7c: Already exists
922520f12384: Already exists
9bfea042cef8: Already exists
1244979f7c21: Already exists
7583a0e34f94: Already exists
14bef3f2665a: Already exists
3a4b42ce6cb5: Already exists
b0a08a900877: Already exists
b0a08a900877: Already exists
16ac87e68d60: Already exists
74ac6e8c9b82: Already exists
b41290a57dc5: Already exists
592e5bcb7159: Already exists
4f4fb700ef54: Already exists
1db0705661a3: Already exists
76bb8e35b9cc: Already exists
3bc9d98c3b49: Already exists
7096ef42e6c0: Already exists
cd0e70de8125: Already exists
23ffab57f98e: Already exists
b974353d8023: Already exists
c74fba566723: Already exists
5ad399846f45: Already exists
3e7203fa3980: Already exists
0b8915d2a92b: Already exists
e68c7a56c438: Already exists
9024d680a167: Already exists
3c7c73421b6e: Already exists
7134fa9b4278: Already exists
9d94fb523099: Already exists
20d06dbdae7e: Already exists
b9a45e537661: Already exists
d10850191bb7: Already exists
bd58aae47de1: Already exists
9d68d26a5f31: Already exists
e508eef913e7: Already exists
Digest: sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
Status: Downloaded newer image for ocaml/opam@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
2025-12-16 02:59.11 ---> using "5ec487cd01cb7da3d76bd6a5d98d77a9d3a0211812bded7e1df4fcff3e176a70" from cache


/: (comment debian-13-4.14+flambda_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-16 02:59.11 ---> using "95b3f87b02bc2f0c30922f4856c4a595406bdafaaf1c6fa0a4b345b63ffb2002" 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-16 02:59.11 ---> using "becad6baff47c01798f6cc3d7fd86151a0aa83193fbddedd0457b2db12002c11" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-12-16 02:59.11 ---> using "ecfb52414efe1537dc20a3e11def36356ced8f57e45d2a6e661ed03c38e23bb6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-16 02:59.11 ---> using "747dd3f20d18ebc0ce4dffc8068b84331c6884feb7e0f9b1bb9c480b8bbd4081" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 02:59.11 ---> using "2f44f07dcfbb1adbd31a7030a54d5917d5c852eafdd19dcd276f7e559e947865" 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-16 02:59.12 ---> saved as "2d545bacb889fbcb8a2c61a2945f3189f251578f32d0603d4befafef5136ab0b"


/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-16 02:59.26 ---> saved as "710938622a0af8a30b2e8f57cbad8225da1249711f0ec37adbb5754b970a7e32"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-16 02:59.27 ---> saved as "91c2c21e1d8ebc4589ea5bf19ee66f69f06679b70edbcb303e2fe8a30e3cc002"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.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.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options 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 "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 0s (1142 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[atd.dev] synchronised (file:///src)
[atdcpp.dev] synchronised (file:///src)
[atdd.dev] synchronised (file:///src)
[atdgen.dev] synchronised (file:///src)
[atdgen-codec-runtime.dev] synchronised (file:///src)
[atdgen-runtime.dev] synchronised (file:///src)
[atdj.dev] synchronised (file:///src)
[atdpy.dev] synchronised (file:///src)
[atds.dev] synchronised (file:///src)
[atdts.dev] synchronised (file:///src)


[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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"
- 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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../libpython3.13-minimal_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13-minimal:amd64 (3.13.5-2) ...
- Selecting previously unselected package python3.13-minimal.
- Preparing to unpack .../python3.13-minimal_3.13.5-2_amd64.deb ...
- Unpacking python3.13-minimal (3.13.5-2) ...
- Setting up libpython3.13-minimal:amd64 (3.13.5-2) ...
- Setting up python3.13-minimal (3.13.5-2) ...
- 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 ... 20947 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.13.5-1_amd64.deb ...
- Unpacking python3-minimal (3.13.5-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 readline-common.
- Preparing to unpack .../2-readline-common_8.2-6_all.deb ...
- Unpacking readline-common (8.2-6) ...
- Selecting previously unselected package libreadline8t64:amd64.
- Preparing to unpack .../3-libreadline8t64_8.2-6_amd64.deb ...
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
- Unpacking libreadline8t64:amd64 (8.2-6) ...
- Selecting previously unselected package libpython3.13-stdlib:amd64.
- Preparing to unpack .../4-libpython3.13-stdlib_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13-stdlib:amd64 (3.13.5-2) ...
- Selecting previously unselected package python3.13.
- Preparing to unpack .../5-python3.13_3.13.5-2_amd64.deb ...
- Unpacking python3.13 (3.13.5-2) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../6-libpython3-stdlib_3.13.5-1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.13.5-1) ...
- Setting up python3-minimal (3.13.5-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 ... 21433 files and directories currently installed.)
- Preparing to unpack .../python3_3.13.5-1_amd64.deb ...
- Unpacking python3 (3.13.5-1) ...
- Setting up media-types (13.0.0) ...
- Setting up readline-common (8.2-6) ...
- Setting up libreadline8t64:amd64 (8.2-6) ...
- Setting up libpython3.13-stdlib:amd64 (3.13.5-2) ...
- Setting up libpython3-stdlib:amd64 (3.13.5-1) ...
- Setting up python3.13 (3.13.5-2) ...
- Setting up python3 (3.13.5-1) ...
- running python rtupdate hooks for python3.13...
- running python post-rtupdate hooks for python3.13...
- Processing triggers for libc-bin (2.41-12) ...
2025-12-16 02:59.43 ---> saved as "602a3eb32cded94117c5c1ee08e10b23056247a23dfa1b69987b40dd953d98bc"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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


<><> 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 uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (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 camlp-streams.5.0.1
-> installed easy-format.1.3.4
-> installed menhirCST.20250912
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed biniou.1.2.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed yojson.3.0.0
-> installed alcotest.1.9.1
-> installed menhir.20250912
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 03:00.52 ---> saved as "1be25dc4f5bcb368eefc74c4e49141370a998e74da63e2344c8bedd0d0832cbc"


/src: (copy (src .) (dst /src))
2025-12-16 03:00.53 ---> saved as "f4d62bbd5adf272c4adc71eb5d75562ba2022a4c71388d700828b12ba46ba1b3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -I atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte -no-alias-deps -opaque -open Atdgen_codec_runtime -o atdgen-codec-runtime/src/.atdgen_codec_runtime.objs/byte/atdgen_codec_runtime__Json_adapter.cmi -c -intf atdgen-codec-runtime/src/json_adapter.mli)
File "atdgen-codec-runtime/src/json_adapter.mli", line 77, characters 15-20:
77 |   module Make (Param : Param) : S
^^^^^
Error (warning 67 [unused-functor-parameter]): unused functor parameter Param.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -opaque -open Atdgen_runtime -o atdgen-runtime/src/.atdgen_runtime.objs/byte/atdgen_runtime__Json_adapter.cmi -c -intf atdgen-runtime/src/json_adapter.mli)
File "atdgen-runtime/src/json_adapter.mli", line 76, characters 15-20:
76 |   module Make (Param : Param) : S
^^^^^
Error (warning 67 [unused-functor-parameter]): unused functor parameter Param.
File "atdgen-runtime/src/json_adapter.mli", line 248, characters 15-20:
248 |   module Make (Param : Param) : S
^^^^^
Error (warning 67 [unused-functor-parameter]): unused functor parameter Param.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen-runtime/src/.atdgen_runtime.objs/byte -I atdgen-runtime/src/.atdgen_runtime.objs/native -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/yojson -intf-suffix .ml -no-alias-deps -opaque -open Atdgen_runtime -o atdgen-runtime/src/.atdgen_runtime.objs/native/atdgen_runtime__Ob_run.cmx -c -impl atdgen-runtime/src/ob_run.ml)
File "atdgen-runtime/src/ob_run.ml", line 352, characters 2-43:
352 |   Obj.set_field (Obj.repr r) 0 (Obj.repr v);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 59 [flambda-assignment-to-non-mutable-value]: A potential assignment to a non-mutable value was detected
in this source file.  Such assignments may generate incorrect code
when using Flambda.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atd/test/.unit_tests.eobjs/byte -I atd/test/.unit_tests.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o atd/test/.unit_tests.eobjs/native/dune__exe__Unit_tests.cmx -c -impl atd/test/unit_tests.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Formatters, and its interface was not compiled with -opaque
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Config, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atd/test/.unit_tests.eobjs/byte -I atd/test/.unit_tests.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o atd/test/.unit_tests.eobjs/native/dune__exe__Doc.cmx -c -impl atd/test/doc.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Test, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atd/test/.unit_tests.eobjs/byte -I atd/test/.unit_tests.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o atd/test/.unit_tests.eobjs/native/dune__exe__Unique_name.cmx -c -impl atd/test/unique_name.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Test, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdts/src/test/.Main.eobjs/byte -I atdts/src/test/.Main.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I atdts/src/lib/.atdts.objs/byte -I atdts/src/lib/.atdts.objs/native -intf-suffix .ml -no-alias-deps -opaque -o atdts/src/test/.Main.eobjs/native/dune__exe__Main.cmx -c -impl atdts/src/test/Main.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Formatters, and its interface was not compiled with -opaque
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Config, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -I atdts/src/lib/.atdts.objs/byte -I /home/opam/.opam/4.14/lib/re -I atd/src/.atd.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Atdts -o atdts/src/lib/.atdts.objs/byte/atdts__Codegen.cmo -c -impl atdts/src/lib/Codegen.ml)
File "atdts/src/lib/Codegen.ml", line 18, characters 2-36:
18 |   create_variable: string -> string;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 69 [unused-field]): record field create_variable is never read.
(However, this field is used to build or mutate values.)
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdpy/src/test/.Main.eobjs/byte -I atdpy/src/test/.Main.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I atdpy/src/lib/.atdpy.objs/byte -I atdpy/src/lib/.atdpy.objs/native -intf-suffix .ml -no-alias-deps -opaque -o atdpy/src/test/.Main.eobjs/native/dune__exe__Main.cmx -c -impl atdpy/src/test/Main.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Formatters, and its interface was not compiled with -opaque
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Alcotest_engine__Config, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -bin-annot -I atdgen/src/.atdgen_emit.objs/byte -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/easy-format -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/yojson -I atd/src/.atd.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Atdgen_emit -o atdgen/src/.atdgen_emit.objs/byte/atdgen_emit__Ox_emit.cmo -c -impl atdgen/src/ox_emit.ml)
File "atdgen/src/ox_emit.ml", line 21, characters 2-38:
21 |   poly_variant_names : name list list;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 69 [unused-field]): record field poly_variant_names is never read.
(However, this field is used to build or mutate values.)
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdgen/src/.atdgen_emit.objs/byte -I atdgen/src/.atdgen_emit.objs/native -I /home/opam/.opam/4.14/lib/biniou -I /home/opam/.opam/4.14/lib/easy-format -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/yojson -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Atdgen_emit -o atdgen/src/.atdgen_emit.objs/native/atdgen_emit__Ox_emit.cmx -c -impl atdgen/src/ox_emit.ml)
File "atdgen/src/ox_emit.ml", line 21, characters 2-38:
21 |   poly_variant_names : name list list;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 69 [unused-field]): record field poly_variant_names is never read.
(However, this field is used to build or mutate values.)
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -27 -safe-string -g -I atdts/src/lib/.atdts.objs/byte -I atdts/src/lib/.atdts.objs/native -I /home/opam/.opam/4.14/lib/re -I atd/src/.atd.objs/byte -I atd/src/.atd.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Atdts -o atdts/src/lib/.atdts.objs/native/atdts__Codegen.cmx -c -impl atdts/src/lib/Codegen.ml)
File "atdts/src/lib/Codegen.ml", line 18, characters 2-36:
18 |   create_variable: string -> string;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 69 [unused-field]): record field create_variable is never read.
(However, this field is used to build or mutate values.)
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 `QNTV7YLB'.


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


[OK]          Annot                0   valid.
[OK]          Annot                1   invalid1.
[OK]          Annot                2   invalid2.
[OK]          Annot                3   invalid3.
[OK]          Annot                4   invalid4.
[OK]          Annot                5   invalid5.
[OK]          Annot                6   invalid6.
[OK]          Annot                7   invalid7.
[OK]          Annot                8   invalid8.
[OK]          Annot                9   invalid9.
[OK]          Sort                 0   sort.
[OK]          Unique_name          0   reserved identifiers.
[OK]          Unique_name          1   reserved prefixes.
[OK]          Unique_name          2   identifier creation.
[OK]          Doc                  0   normalize "".
[OK]          Doc                  1   normalize "a".
[OK]          Doc                  2   normalize "a b".
[OK]          Doc                  3   normalize "a\nb".
[OK]          Doc                  4   normalize "a  b".
[OK]          Doc                  5   normalize "a \n b".
[OK]          Doc                  6   normalize "a \n\n b".
[OK]          Doc                  7   normalize "  a  ".
[OK]          Doc                  8   normalize "\n\na\n\n".
[OK]          Doc                  9   normalize "{{}}".
[OK]          Doc                 10   normalize "{{a}}".
[OK]          Doc                 11   normalize "{{  a  b\n\nc\n }}".
[OK]          Doc                 12   normalize "{{ {a} }}".
[OK]          Doc                 13   normalize "{{{}}}".
[OK]          Doc                 14   normalize "{{{a}}}".
[OK]          Doc                 15   normalize "{{{ }}}".
[OK]          Doc                 16   normalize "{{{ {{a}} }}}".
[OK]          Doc                 17   normalize "{{{ a\n\n  b }}}".


Full test results in `/src/_build/default/atd/test/_build/_tests/atd'.
Test Successful in 0.003s. 32 tests run.
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
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 "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-16 03:00.56: Job failed: Failed: Build failed