Organisationsrealworldocamlmdx4607ca ()fedora-43-4.14_opam-2.5

fedora-43-4.14_opam-2.5

Logs

Show full logs
2026-03-23 09:24.49: New job: test realworldocaml/mdx https://github.com/realworldocaml/mdx.git#refs/heads/main (4607ca057db2fe8ecbad638ec906f4b24e554965) (linux-x86_64:fedora-43-4.14_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/realworldocaml/mdx.git" -b "main" && cd "mdx" && git reset --hard 4607ca05
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2
# fedora-43-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.5 /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 b479391466e5245dda12ec6a6de5f4b13b6d603f || git fetch origin master) && git reset -q --hard b479391466e5245dda12ec6a6de5f4b13b6d603f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mdx.opam ./
RUN opam pin add -yn mdx.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 logs.0.10.0 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mdx.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

2026-03-23 09:24.49: Using cache hint "realworldocaml/mdx-ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2-fedora-43-4.14_opam-2.5-a501fe1f4b1a60c1bebaea76b9f92a30"
2026-03-23 09:24.49: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2)
 (comment fedora-43-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 b479391466e5245dda12ec6a6de5f4b13b6d603f || git fetch origin master) && git reset -q --hard b479391466e5245dda12ec6a6de5f4b13b6d603f && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mdx.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mdx.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 logs.0.10.0 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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.5 --depext-only -y mdx.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"))
)

2026-03-23 09:24.49: Waiting for resource in pool OCluster
2026-03-23 10:03.07: Waiting for worker…
2026-03-23 10:08.18: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 4607ca0 Merge pull request #475 from anmonteiro/anmonteiro/ocaml-5.5

(from ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2' locally
docker.io/ocaml/opam@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2: Pulling from ocaml/opam
5bc90b3315da: Already exists
33cde4bdcf90: Already exists
b5955b8be52e: Already exists
fbf1b27930a6: Already exists
b347f3d8654c: Already exists
612ce5ee7018: Already exists
39a0083c72b4: Already exists
2a32d726bc66: Already exists
e11ae392722c: Already exists
8d611bf8a252: Already exists
0e1351173a64: Already exists
f8d564b68b69: Already exists
0e1646b50296: Already exists
2801b00e97cb: Already exists
4043da018e76: Already exists
78d7c0bec0d9: Already exists
3b3b2404c3c9: Already exists
8467b570f768: Already exists
af1b4ee1a3ae: Already exists
d8dfc440aace: Already exists
49b2a8e5a461: Already exists
4f4fb700ef54: Already exists
8be6bee5bc68: Already exists
3c9a56c64991: Already exists
e80b01b68140: Already exists
fef37f6a2418: Already exists
2585abb9d55d: Already exists
120374638853: Already exists
63dfb60472ab: Already exists
abc6281a8a2d: Already exists
eed1b7440d1e: Already exists
0a3bf2765d2e: Already exists
886ab5bf800e: Already exists
a46169c2e251: Already exists
80ef96b71029: Already exists
895656fb7a7a: Already exists
fa1d27dc8eab: Already exists
3813748e3271: Already exists
55d32576fd82: Already exists
77f643b56c63: Already exists
1c1f26e1d048: Pulling fs layer
02871ce6db7b: Pulling fs layer
47618e07c40b: Pulling fs layer
79033ef94591: Pulling fs layer
79033ef94591: Waiting
02871ce6db7b: Download complete
47618e07c40b: Verifying Checksum
47618e07c40b: Download complete
79033ef94591: Verifying Checksum
79033ef94591: Download complete
1c1f26e1d048: Verifying Checksum
1c1f26e1d048: Download complete
1c1f26e1d048: Pull complete
02871ce6db7b: Pull complete
47618e07c40b: Pull complete
79033ef94591: Pull complete
Digest: sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2
Status: Downloaded newer image for ocaml/opam@sha256:c38e2633f4e0ca50415c4b0790f9ce1687520fa8d35999acba50d2c6b3c4c2f2
2026-03-23 10:08.22 ---> using "b53e31b79ae240e911bd4dbe895cf7d23581a2cfb176110e802dbc172e2207f8" from cache

/: (comment fedora-43-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 43 - x86_64 - Updates           100% |  14.7 KiB/s |   6.8 KiB |  00m00s
 Fedora 43 - x86_64                     100% |  85.8 KiB/s |  22.6 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.

Nothing to do.
2026-03-23 10:08.22 ---> using "f5535a281226abe35a70c0937d17524041000012367450952c04ff905fc43a19" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-23 10:08.22 ---> using "e656820258ae1329e61e088e3b74323a9a81fb7a1976bfda84b891534625d81b" from cache

/src: (run (shell "opam init --reinit -ni"))
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.

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.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-23 10:08.22 ---> using "c194778dad03d316bbe8a9f0f0aecf84315fcfe8d38c84882015ad3c4a4fdd05" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-03-23 10:08.22 ---> using "f74c1f9434fc5d15e8a7f828a1fac776d0dedfb6095982641fa0091f3e3a89a3" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-03-23 10:08.22 ---> using "e1a7186bf4aff43814a8f63902df06605e7abd22e993d46675dd54a432e5c693" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e b479391466e5245dda12ec6a6de5f4b13b6d603f || git fetch origin master) && git reset -q --hard b479391466e5245dda12ec6a6de5f4b13b6d603f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   4f056bfedf..63b7ba71be  master     -> origin/master
b479391466 Merge pull request #29567 from mtelvers/opam-publish-ocaml-version.4.0.4

<><> 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.5.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)
2026-03-23 10:08.22 ---> using "611bb1e63fa338466ea257283976ddd17cc204af5fa9e0fd5cb4b07efa6008e2" from cache

/src: (copy (src mdx.opam) (dst ./))
2026-03-23 10:08.23 ---> saved as "12e471c615cc9ff89a76055633dbb51d6c4cc4c5264b9bca2ce839603e7f315e"

/src: (run (network host)
           (shell "opam pin add -yn mdx.dev './'"))
[mdx.dev] synchronised (file:///src)
mdx is now pinned to file:///src (version dev)
2026-03-23 10:08.25 ---> saved as "efb3768a428d3343764ffe559d5a0146b0b19f20e338386d4ca44467e157705d"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-23 10:08.26 ---> saved as "582db505032f034414b32060a03dcd3fc84ba16dbf17d4750d658f92a637548d"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 logs.0.10.0 lwt.6.1.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 result.1.5 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")

/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.5 --depext-only -y mdx.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mdx.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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).
# To update the current shell environment, run: eval $(opam env)
2026-03-23 10:08.48 ---> saved as "51c6414098f9dfde6e495ae7d10762df67d4ff0cfe84b511164644899100b3f3"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 22 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base-bytes         base
  - install camlp-streams      5.0.1
  - install cmdliner           2.1.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.22.0
  - install dune-configurator  3.22.0
  - install fmt                0.11.0
  - install logs               0.10.0
  - install lwt                6.1.1
  - install ocaml-syntax-shims 1.0.0
  - install ocaml-version      4.0.4
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install re                 1.14.0
  - install result             1.5
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.6.1.1  (cached)
-> retrieved ocaml-version.4.0.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.22.0
-> installed result.1.5
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.4
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.22.0
-> installed lwt.6.1.1
-> installed logs.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-23 10:11.25 ---> saved as "599999115aef649890b6231edeb78cb750c3230a3b26450a9f55e90e06d88409"

/src: (copy (src .) (dst /src))
2026-03-23 10:11.26 ---> saved as "78e5c9e07aee21c9ca5420f88d4a8f860fbfdb9359dea613cce0e65811495c85"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/lib && ./test_mdx_lib.exe)
Testing `Mdx'.
This run has ID `2F7L46BH'.

  [OK]          Block           0   Header.infer_from_file: "".
  [OK]          Block           1   Header.infer_from_file: "foo".
  [OK]          Block           2   Header.infer_from_file: "foo.bar".
  [OK]          Block           3   Header.infer_from_file: "dune".
  [OK]          Block           4   Header.infer_from_file: "dune-project".
  [OK]          Block           5   Header.infer_from_file: "foo.sh".
  [OK]          Block           6   Header.infer_from_file: "foo/foo/foo.ml".
  [OK]          Block           7   mk: "invalid ocaml".
  [OK]          Block           8   mk: "invalid toplevel".
  [OK]          Label           0   raw_parse: "".
  [OK]          Label           1   raw_parse: "foo=".
  [OK]          Label           2   raw_parse: "foo<>bar".
  [OK]          Label           3   raw_parse: "<bar".
  [OK]          Label           4   raw_parse: "foo<=bar".
  [OK]          Label           5   raw_parse: "foo>bar".
  [OK]          Label           6   raw_parse: ">=".
  [OK]          Label           7   raw_parse: "FOO_BAR=foo_bar".
  [OK]          Label           8   interpret: "".
  [OK]          Label           9   interpret: "foo".
  [OK]          Label          10   interpret: "skip".
  [OK]          Label          11   interpret: "skip".
  [OK]          Label          12   interpret: "version".
  [OK]          Label          13   interpret: "non-deterministic".
  [OK]          Label          14   interpret: "dir".
  [OK]          Label          15   interpret: "set-foo".
  [OK]          Label          16   of_string: "".
  [OK]          Label          17   of_string: ",".
  [OK]          Label          18   of_string: "skip,".
  [OK]          Label          19   of_string: "skip,file=foo.ml".
  [OK]          Dep             0   of_block: "Empty".
  [OK]          Dep             1   of_block: "file:toto.ml".
  [OK]          Dep             2   of_block: "dir:tata/".
  [OK]          Dep             3   of_block: "dir=tata/,skip".
  [OK]          Dep             4   of_line: "block: file=tikitaka.ml".
  [OK]          Dep             5   of_line: "skip + file + dir".
  [OK]          Dep             6   to_sexp: file.
  [OK]          Dep             7   to_sexp: dir.
  [OK]          Syntax          0   infer: "".
  [OK]          Syntax          1   infer: "test.md".
  [OK]          Syntax          2   infer: "test.t".
  [OK]          Syntax          3   infer: "test.ml".
  [OK]          Syntax          4   infer: "test.mli".
  [OK]          Syntax          5   infer: "no_ext".
  [OK]          Util            0   String.english_conjonction: single.
  [OK]          Util            1   String.english_conjonction: two.
  [OK]          Util            2   String.english_conjonction: three.
  [OK]          Util            3   String.english_conjonction: more.
  [OK]          Parts           0   parse: "".
  [OK]          Parts           1   parse: "foo".
  [OK]          Parts           2   parse: "    (* $MDX part-begin=bar *)    ".
  [OK]          Parts           3   parse: "(* $MDX part-begin=bar     ".
  [OK]          Parts           4   parse: "   (* $MDX part-end   *)   ".
  [OK]          Parts           5   parse: "    [@@@part \"foobar\"]    ".
  [OK]          Parts           6   parse: "[@@@foo \"bar\"]".
  [OK]          Parts           7   parse: "(* $MDX foo *)".
  [OK]          Parts           8   parse: "(* $MDX part-end=foo *)".

Full test results in `/src/_build/default/test/lib/_build/_tests/Mdx'.
Test Successful in 0.018s. 56 tests run.
2026-03-23 10:11.42 ---> saved as "c04d772be8e4d6477e3daeb3462dd3722f252e586658bc59e7abcae81f5cfbef"
Job succeeded
2026-03-23 10:11.42: Job succeeded