Organisationsocaml-docvoodoodc5439 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 16:15.13: New job: test ocaml-doc/voodoo https://github.com/ocaml-doc/voodoo.git#refs/heads/main (dc54397f66abf95c964ea4de0f3a0ff2aec56efe) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-doc/voodoo.git" -b "main" && cd "voodoo" && git reset --hard dc54397f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 voodoo-prep.opam voodoo-lib.opam voodoo-gen.opam voodoo-do.opam ./
RUN opam pin add -yn voodoo-prep.dev './' && \
    opam pin add -yn voodoo-lib.dev './' && \
    opam pin add -yn voodoo-gen.dev './' && \
    opam pin add -yn voodoo-do.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.0 camlp-streams.5.0.1 cmdliner.1.0.0 conf-autoconf.0.1 conf-automake.1 conf-jq.1 conf-m4.1 conf-pandoc.0.1 conf-which.1 cppo.1.6.1 crunch.1.4.0 dune.3.7.0 dune-build-info.2.7.0 easy-format.1.0.1 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 odoc.2.4.1 odoc-parser.2.4.1 omd.2.0.0~alpha3 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 re.1.5.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.9.3 stdcompat.16 topkg.0.8.1 tyxml.4.4.0 uchar.0.0.2 uucp.2.0.0 uunf.2.0.1 uutf.1.0.1 yojson.1.6.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y voodoo-prep.dev voodoo-lib.dev voodoo-gen.dev voodoo-do.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


2024-05-10 16:15.13: Using cache hint "ocaml-doc/voodoo-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-8fb92b0e97e899edcd3e1a96ae07fef9"
2024-05-10 16:15.13: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
 (comment debian-12-4.08_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src voodoo-prep.opam voodoo-lib.opam voodoo-gen.opam voodoo-do.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn voodoo-prep.dev './' && \
             \nopam pin add -yn voodoo-lib.dev './' && \
             \nopam pin add -yn voodoo-gen.dev './' && \
             \nopam pin add -yn voodoo-do.dev './'"))
 (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.0 camlp-streams.5.0.1 cmdliner.1.0.0 conf-autoconf.0.1 conf-automake.1 conf-jq.1 conf-m4.1 conf-pandoc.0.1 conf-which.1 cppo.1.6.1 crunch.1.4.0 dune.3.7.0 dune-build-info.2.7.0 easy-format.1.0.1 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 odoc.2.4.1 odoc-parser.2.4.1 omd.2.0.0~alpha3 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 re.1.5.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.9.3 stdcompat.16 topkg.0.8.1 tyxml.4.4.0 uchar.0.0.2 uucp.2.0.0 uunf.2.0.1 uutf.1.0.1 yojson.1.6.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.1 --depext-only -y voodoo-prep.dev voodoo-lib.dev voodoo-gen.dev voodoo-do.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"))
)


2024-05-10 16:15.13: Waiting for resource in pool OCluster
2024-05-11 09:56.49: Waiting for worker…
2024-05-11 10:02.07: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
HEAD is now at dc54397f Upgrade to odoc.2.4.1 (#128)


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
Unable to find image 'ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb' locally
docker.io/ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb: Pulling from ocaml/opam
61aa86cd8a87: Pulling fs layer
61aa86cd8a87: Verifying Checksum
61aa86cd8a87: Download complete
61aa86cd8a87: Pull complete
Digest: sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Status: Downloaded newer image for ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
2024-05-11 10:02.07 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" from cache


/: (comment debian-12-4.08_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 10:02.07 ---> using "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7" 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.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-11 10:02.07 ---> using "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-11 10:02.07 ---> using "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 10:02.07 ---> using "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..2ae169d7d0  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-11 10:02.07 ---> using "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7" from cache


/src: (copy (src voodoo-prep.opam voodoo-lib.opam voodoo-gen.opam voodoo-do.opam)
            (dst ./))
2024-05-11 10:02.07 ---> saved as "a9eca9357163b405cda164d422f2c489371701ad4bed78f282d6d52424dd57e6"


/src: (run (network host)
           (shell  "opam pin add -yn voodoo-prep.dev './' && \
                  \nopam pin add -yn voodoo-lib.dev './' && \
                  \nopam pin add -yn voodoo-gen.dev './' && \
                  \nopam pin add -yn voodoo-do.dev './'"))
Package voodoo-prep does not exist, create as a NEW package? [Y/n] y
[voodoo-prep.dev] synchronised (file:///src)
voodoo-prep is now pinned to file:///src (version dev)
Package voodoo-lib does not exist, create as a NEW package? [Y/n] y
[voodoo-lib.dev] synchronised (file:///src)
voodoo-lib is now pinned to file:///src (version dev)
Package voodoo-gen does not exist, create as a NEW package? [Y/n] y
[voodoo-gen.dev] synchronised (file:///src)
voodoo-gen is now pinned to file:///src (version dev)
Package voodoo-do does not exist, create as a NEW package? [Y/n] y
[voodoo-do.dev] synchronised (file:///src)
voodoo-do is now pinned to file:///src (version dev)
2024-05-11 10:02.15 ---> saved as "13781c7470c00f21806afbf75e0a052f3d38655cea31a157ed033d390eff830e"


/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.0 camlp-streams.5.0.1 cmdliner.1.0.0 conf-autoconf.0.1 conf-automake.1 conf-jq.1 conf-m4.1 conf-pandoc.0.1 conf-which.1 cppo.1.6.1 crunch.1.4.0 dune.3.7.0 dune-build-info.2.7.0 easy-format.1.0.1 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 odoc.2.4.1 odoc-parser.2.4.1 omd.2.0.0~alpha3 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 re.1.5.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.9.3 stdcompat.16 topkg.0.8.1 tyxml.4.4.0 uchar.0.0.2 uucp.2.0.0 uunf.2.0.1 uutf.1.0.1 yojson.1.6.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.1 --depext-only -y voodoo-prep.dev voodoo-lib.dev voodoo-gen.dev voodoo-do.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (738 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[voodoo-do.dev] synchronised (no changes)
[voodoo-gen.dev] synchronised (no changes)
[voodoo-lib.dev] synchronised (no changes)
[voodoo-prep.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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:
    autoconf automake jq m4 pandoc


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "autoconf" "automake" "jq" "m4" "pandoc"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-11 10:02.52 ---> saved as "eda2fbf965b6306acaba91170eed5009097d596da4e8379a50ffdd071b9d698b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 conf-pandoc      0.1
  - install conf-m4          1
  - install jbuilder         1.0+beta20.1
  - install result           1.0
  - install ocamlbuild       0.14.0
  - install conf-jq          1
  - install opam-file-format 2.0.0~rc2
  - install conf-which       1
  - install dune             3.7.0
  - install ocamlfind        1.8.0
  - install uchar            0.0.2
  - install conf-autoconf    0.1
  - install seq              0.2.2
  - install dune-build-info  2.7.0
  - install camlp-streams    5.0.1
  - install topkg            0.8.1
  - install ocamlgraph       1.8.8
  - install num              1.0
  - install easy-format      1.0.1
  - install base-bytes       base
  - install conf-automake    1
  - install uucp             2.0.0
  - install rresult          0.4.0
  - install cmdliner         1.0.0
  - install sexplib          v0.9.3
  - install biniou           1.2.0
  - install re               1.5.0
  - install cppo             1.6.1
  - install astring          0.8.2
  - install stdcompat        16
  - install uutf             1.0.1
  - install fmt              0.8.0
  - install crunch           1.4.0
  - install yojson           1.6.0
  - install opam-core        2.0.0
  - install odoc-parser      2.4.1
  - install fpath            0.7.0
  - install uunf             2.0.1
  - install tyxml            4.4.0
  - install logs             0.6.2
  - install alcotest         0.8.0
  - install opam-format      2.0.0
  - install omd              2.0.0~alpha3
  - install odoc             2.4.1
  - install bos              0.1.0
===== 45 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0  (cached)
-> retrieved biniou.1.2.0  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved bos.0.1.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.0.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-jq.1
-> installed conf-m4.1
-> installed conf-pandoc.0.1
-> installed conf-which.1
-> retrieved crunch.1.4.0  (cached)
-> installed conf-autoconf.0.1
-> retrieved easy-format.1.0.1  (cached)
-> retrieved fmt.0.8.0  (cached)
-> retrieved fpath.0.7.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> installed conf-automake.1
-> retrieved logs.0.6.2  (cached)
-> retrieved num.1.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved dune-build-info.2.7.0  (cached)
-> retrieved dune.3.7.0  (cached)
-> retrieved ocamlgraph.1.8.8  (cached)
-> retrieved odoc.2.4.1  (cached)
-> retrieved omd.2.0.0~alpha3  (cached)
-> retrieved odoc-parser.2.4.1  (cached)
-> retrieved opam-core.2.0.0  (cached)
-> retrieved opam-format.2.0.0  (cached)
-> retrieved re.1.5.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved rresult.0.4.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved sexplib.v0.9.3  (cached)
-> retrieved stdcompat.16  (cached)
-> retrieved topkg.0.8.1  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved tyxml.4.4.0  (cached)
-> retrieved uunf.2.0.1  (cached)
-> retrieved uutf.1.0.1  (cached)
-> installed result.1.0
-> retrieved yojson.1.6.0  (cached)
-> retrieved opam-file-format.2.0.0~rc2  (https://github.com/ocaml/opam-file-format/archive/2.0.0-rc2.tar.gz)
-> retrieved uucp.2.0.0  (cached)
-> installed opam-file-format.2.0.0~rc2
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed ocamlbuild.0.14.0
-> installed num.1.0
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed biniou.1.2.0
-> installed cppo.1.6.1
-> installed sexplib.v0.9.3
-> installed topkg.0.8.1
-> installed ocamlgraph.1.8.8
-> installed rresult.0.4.0
-> installed astring.0.8.2
-> installed re.1.5.0
-> installed cmdliner.1.0.0
-> installed dune.3.7.0
-> installed fpath.0.7.0
-> installed camlp-streams.5.0.1
-> installed seq.0.2.2
-> installed dune-build-info.2.7.0
-> installed uutf.1.0.1
-> installed fmt.0.8.0
-> installed odoc-parser.2.4.1
-> installed alcotest.0.8.0
-> installed logs.0.6.2
-> installed yojson.1.6.0
-> installed opam-core.2.0.0
-> installed tyxml.4.4.0
-> installed bos.0.1.0
-> installed crunch.1.4.0
-> installed opam-format.2.0.0
-> installed uunf.2.0.1
-> installed uucp.2.0.0
-> installed odoc.2.4.1
-> installed stdcompat.16
-> installed omd.2.0.0~alpha3
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 10:04.39 ---> saved as "27ea45d6144a2897a23d3a8c3bed3c190116794701ead00cb7439867d983d027"


/src: (copy (src .) (dst /src))
2024-05-11 10:04.40 ---> saved as "0d2eaec6fae19c9086bcc407280b3b75c08c2ffad6ca83a1087eb999ac5a69b2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/alcotest/alcotest.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/biniou/biniou.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/opam-format/opam-format.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/sexplib.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/0/sexplib.0.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/num/sexplib.num.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/unix/sexplib.unix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/opam-core/opam-core.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
(cd _build/default/test/unit/serialize && ./main.exe)
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing voodoo-serialize.
[OK]                String                        0   
[OK]                String                        1   xx.
[OK]                String                        2   `.
[OK]                String                        3      .
[OK]                String                        4     .
[OK]                String                        5   ".
[OK]                Fpath                         0   /.
[OK]                Fpath                         1   xx.
[OK]                Fpath                         2   `.
[OK]                Fpath                         3      .
[OK]                Fpath                         4     .
[OK]                Fpath                         5   ".
[OK]                Fpath                         6   //.
[OK]                Package_info.Kind             0   module.
[OK]                Package_info.Kind             1   page.
[OK]                Package_info.Kind             2   leaf-page.
[OK]                Package_info.Kind             3   module-type.
[OK]                Package_info.Kind             4   argument-1.
[OK]                Package_info.Kind             5   class.
[OK]                Package_info.Kind             6   class-type.
[OK]                Package_info.Kind             7   file.
[OK]                Package_info.Module           0   (name:"") (submodules:) (kind:module).
[OK]                Package_info.Module           1   (name:"foo") (submodules:(name:"bar") (submodules:) (kind:class)) (kind:page).
[OK]                Package_info.Library          0   (name:"") (modules:) (dependencies:).
 ...                Package_info.Library          1   (name:"foo") (modules:(name:"") (submodules:) (kind:module)
[OK]                Package_info.Library          1   (name:"foo") (modules:(name:"") (submodules:) (kind:module)
(name:"foo") (submodules:(name:"bar") (submodules:) (kind:class)) (kind:page)) (dependencies:bar).
[OK]                Package_info                  0   (libraries:).
 ...                Package_info                  1   (libraries:(name:"") (modules:) (dependencies:)
(name:"foo") (modules:(name:"") (submodules:) (kind:module)
[OK]                Package_info                  1   (libraries:(name:"") (modules:) (dependencies:)
(name:"foo") (modules:(name:"") (submodules:) (kind:module)
(name:"foo") (submodules:(name:"bar") (submodules:) (kind:class)) (kind:page)) (dependencies:bar)).
[OK]                Status.Otherdocs              0   (readme:) (license:) (changes:) (others:).
[OK]                Status.Otherdocs              1   (readme:/a) (license:/b) (changes:/c) (others:/d).
[OK]                Status                        0   (failed:true) (otherdocs:(readme:) (license:) (changes:) (others:)).
[OK]                Status                        1   (failed:false) (otherdocs:(readme:/a) (license:/b) (changes:/c) (others:/d)).
The full test results are available in `_build/_tests`.
Test Successful in 0.004s. 31 tests run.
(cd _build/default && /home/opam/.opam/4.08/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 -g -bin-annot -I src/voodoo-gen/.main.eobjs/byte -I /home/opam/.opam/4.08/lib/astring -I /home/opam/.opam/4.08/lib/biniou -I /home/opam/.opam/4.08/lib/bos -I /home/opam/.opam/4.08/lib/camlp-streams -I /home/opam/.opam/4.08/lib/cmdliner -I /home/opam/.opam/4.08/lib/easy-format -I /home/opam/.opam/4.08/lib/findlib -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/fpath -I /home/opam/.opam/4.08/lib/logs -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/odoc-parser -I /home/opam/.opam/4.08/lib/odoc/document -I /home/opam/.opam/4.08/lib/odoc/html -I /home/opam/.opam/4.08/lib/odoc/html_support_files -I /home/opam/.opam/4.08/lib/odoc/json_index -I /home/opam/.opam/4.08/lib/odoc/latex -I /home/opam/.opam/4.08/lib/odoc/loader -I /home/opam/.opam/4.08/lib/odoc/manpage -I /home/opam/.opam/4.08/lib/odoc/model -I /home/opam/.opam/4.08/lib/odoc/odoc -I /home/opam/.opam/4.08/lib/odoc/search -I /home/opam/.opam/4.08/lib/odoc/search_html_frontend -I /home/opam/.opam/4.08/lib/odoc/syntax_highlighter -I /home/opam/.opam/4.08/lib/odoc/xref2 -I /home/opam/.opam/4.08/lib/omd -I /home/opam/.opam/4.08/lib/re -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/rresult -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/sexplib -I /home/opam/.opam/4.08/lib/sexplib/0 -I /home/opam/.opam/4.08/lib/stdcompat -I /home/opam/.opam/4.08/lib/tyxml -I /home/opam/.opam/4.08/lib/tyxml/functor -I /home/opam/.opam/4.08/lib/uchar -I /home/opam/.opam/4.08/lib/uucp -I /home/opam/.opam/4.08/lib/uunf -I /home/opam/.opam/4.08/lib/uutf -I /home/opam/.opam/4.08/lib/yojson -I src/voodoo/.voodoo_lib.objs/byte -I src/voodoo/serialize/.voodoo_serialize.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/voodoo-gen/.main.eobjs/byte/dune__exe__Package_info.cmo -c -impl src/voodoo-gen/package_info.ml)
File "src/voodoo-gen/package_info.ml", line 60, characters 2-262:
60 | ..Bos.OS.Dir.create output >>= fun (_ : bool) ->
61 |   let output = Fpath.(to_string (output / "package.json")) in
62 |   Yojson.Safe.to_file output
63 |     (Voodoo_serialize.Package_info.to_yojson
64 |        Voodoo_serialize.Package_info.Module.to_yojson { libraries });
65 |   Ok ()
Error: This expression has type (unit, [> Rresult.R.msg ]) result
       but an expression was expected of type ('a -> unit, 'b) result
       Type unit is not compatible with type 'a -> unit 
(cd _build/default && /home/opam/.opam/4.08/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 -g -I src/voodoo-gen/.main.eobjs/byte -I src/voodoo-gen/.main.eobjs/native -I /home/opam/.opam/4.08/lib/astring -I /home/opam/.opam/4.08/lib/biniou -I /home/opam/.opam/4.08/lib/bos -I /home/opam/.opam/4.08/lib/camlp-streams -I /home/opam/.opam/4.08/lib/cmdliner -I /home/opam/.opam/4.08/lib/easy-format -I /home/opam/.opam/4.08/lib/findlib -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/fpath -I /home/opam/.opam/4.08/lib/logs -I /home/opam/.opam/4.08/lib/ocaml/compiler-libs -I /home/opam/.opam/4.08/lib/odoc-parser -I /home/opam/.opam/4.08/lib/odoc/document -I /home/opam/.opam/4.08/lib/odoc/html -I /home/opam/.opam/4.08/lib/odoc/html_support_files -I /home/opam/.opam/4.08/lib/odoc/json_index -I /home/opam/.opam/4.08/lib/odoc/latex -I /home/opam/.opam/4.08/lib/odoc/loader -I /home/opam/.opam/4.08/lib/odoc/manpage -I /home/opam/.opam/4.08/lib/odoc/model -I /home/opam/.opam/4.08/lib/odoc/odoc -I /home/opam/.opam/4.08/lib/odoc/search -I /home/opam/.opam/4.08/lib/odoc/search_html_frontend -I /home/opam/.opam/4.08/lib/odoc/syntax_highlighter -I /home/opam/.opam/4.08/lib/odoc/xref2 -I /home/opam/.opam/4.08/lib/omd -I /home/opam/.opam/4.08/lib/re -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/rresult -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/sexplib -I /home/opam/.opam/4.08/lib/sexplib/0 -I /home/opam/.opam/4.08/lib/stdcompat -I /home/opam/.opam/4.08/lib/tyxml -I /home/opam/.opam/4.08/lib/tyxml/functor -I /home/opam/.opam/4.08/lib/uchar -I /home/opam/.opam/4.08/lib/uucp -I /home/opam/.opam/4.08/lib/uunf -I /home/opam/.opam/4.08/lib/uutf -I /home/opam/.opam/4.08/lib/yojson -I src/voodoo/.voodoo_lib.objs/byte -I src/voodoo/.voodoo_lib.objs/native -I src/voodoo/serialize/.voodoo_serialize.objs/byte -I src/voodoo/serialize/.voodoo_serialize.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/voodoo-gen/.main.eobjs/native/dune__exe__Package_info.cmx -c -impl src/voodoo-gen/package_info.ml)
File "src/voodoo-gen/package_info.ml", line 60, characters 2-262:
60 | ..Bos.OS.Dir.create output >>= fun (_ : bool) ->
61 |   let output = Fpath.(to_string (output / "package.json")) in
62 |   Yojson.Safe.to_file output
63 |     (Voodoo_serialize.Package_info.to_yojson
64 |        Voodoo_serialize.Package_info.Module.to_yojson { libraries });
65 |   Ok ()
Error: This expression has type (unit, [> Rresult.R.msg ]) result
       but an expression was expected of type ('a -> unit, 'b) result
       Type unit is not compatible with type 'a -> unit 
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 10:04.44: Job failed: Failed: Build failed