Organisationsrealworldocamlmdx5c97b2 (main)ubuntu-25.10-5.4_opam-2.4

ubuntu-25.10-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-18 16:36.10: New job: test realworldocaml/mdx https://github.com/realworldocaml/mdx.git#refs/heads/main (5c97b27cf8723d87fd00d350b75e7f32f021c8d6) (linux-x86_64:ubuntu-25.10-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/realworldocaml/mdx.git" -b "main" && cd "mdx" && git reset --hard 5c97b27c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
# ubuntu-25.10-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 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 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 ocaml-version.4.0.3 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.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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


2025-10-18 16:36.10: Using cache hint "realworldocaml/mdx-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840-ubuntu-25.10-5.4_opam-2.4-7f58f343c8546cecd8c16a118f36c7f3"
2025-10-18 16:36.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
(comment ubuntu-25.10-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 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && 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 (network host)
(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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 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 ocaml-version.4.0.3 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.0 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.4 --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"))
)


2025-10-18 16:36.10: Waiting for resource in pool OCluster
2025-10-18 17:33.34: Waiting for worker…
2025-10-18 17:41.02: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 5c97b27 Merge pull request #472 from jonludlam/release-2.5.1


(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840' locally
docker.io/ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840: Pulling from ocaml/opam
9b965cd35928: Already exists
8c34d5cb1909: Already exists
8f3d0e888f94: Already exists
75914a58b59d: Already exists
00c83499f5f8: Already exists
96557828c72d: Already exists
e04c74427b07: Already exists
0b5b736f6f8b: Already exists
01ddd8730c9d: Already exists
f367de3c6ef3: Already exists
8ea485ed8d07: Already exists
311ea7e25f3b: Already exists
2c44554f2c1d: Already exists
4b37f74f2fcf: Already exists
4c53b5e197d1: Already exists
ae54a0cbaf07: Already exists
ae54a0cbaf07: Already exists
fbfa20dfc58f: Already exists
7a5fbf99492d: Already exists
55f27f5aae25: Already exists
e5dc741ba80e: Already exists
4f4fb700ef54: Already exists
ea4deec7b9ed: Already exists
575dd3f40a50: Already exists
23d3a726bc1c: Already exists
9c808f81626e: Already exists
6015bb64a01e: Already exists
c8b90fbcd33e: Already exists
1b226c214b9a: Already exists
c3f2fe2e9a34: Already exists
09907f66bdda: Already exists
ac9b7119d067: Already exists
c3c8c52036b2: Already exists
09d46cfd46ca: Already exists
a93091442c09: Already exists
74daf3d638c4: Already exists
2ad878d09679: Already exists
4f990f691d95: Already exists
b2d8c9546556: Already exists
fc9e5ff183af: Already exists
1420c7e28df9: Pulling fs layer
0aa76275f3e3: Pulling fs layer
93d3fe1ef530: Pulling fs layer
8141b93c2100: Pulling fs layer
99dd02af1531: Pulling fs layer
ed19dfeb135d: Pulling fs layer
8141b93c2100: Waiting
99dd02af1531: Waiting
400c4009ccf8: Pulling fs layer
ed19dfeb135d: Waiting
400c4009ccf8: Waiting
0aa76275f3e3: Download complete
1420c7e28df9: Verifying Checksum
1420c7e28df9: Download complete
93d3fe1ef530: Verifying Checksum
93d3fe1ef530: Download complete
1420c7e28df9: Pull complete
0aa76275f3e3: Pull complete
93d3fe1ef530: Pull complete
99dd02af1531: Verifying Checksum
99dd02af1531: Download complete
ed19dfeb135d: Verifying Checksum
ed19dfeb135d: Download complete
400c4009ccf8: Verifying Checksum
400c4009ccf8: Download complete
8141b93c2100: Verifying Checksum
8141b93c2100: Download complete
8141b93c2100: Pull complete
99dd02af1531: Pull complete
ed19dfeb135d: Pull complete
400c4009ccf8: Pull complete
Digest: sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
Status: Downloaded newer image for ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
2025-10-18 17:41.03 ---> using "3be20ed9bde11478d710180884f722280dfc08d0ee382a0870797929c1d03cd4" from cache


/: (comment ubuntu-25.10-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-10-18 17:41.03 ---> using "da6960692231a059dab52bacd68875d42b6b35b205939a28c7e327c1c48fb166" 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-10-18 17:41.03 ---> using "e9b0ecbad3beb2e452151c1169527a8879012a89c3350bb7b46eace3adcd6aea" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 17:41.03 ---> using "77ec95f59e260ec6798c95d067d0fb48d4d663c0eb249c2e29ab7e2bbb0a15a8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-18 17:41.03 ---> using "112fb3f58706e2a934d242f81fc30ccd1722e38dcf8fa9411a64fe043420055b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && git log --no-decorate -n1 --oneline && opam update -u"))
6fab318652 Merge pull request #28690 from mtelvers/opam-publish-ocaml-version.4.0.3


<><> 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-10-18 17:41.03 ---> using "5f484fa6c880c7e07e1d39deba2c1e0a4f38c41aa07b991aab2d8111a06529ab" from cache


/src: (copy (src mdx.opam) (dst ./))
2025-10-18 17:41.03 ---> saved as "080b12d47f9ac18c09f25158cc334edf8e0512bda58ddddb95700579a9efe7b3"


/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)
2025-10-18 17:41.07 ---> saved as "beb7f0ba45c6c483fd121d3861bf69ee5fb30d1516cf3cd0cc691ccce4fc1280"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 17:41.07 ---> saved as "98f454c746f17b3722f58ee4ff8af325fed24174b25dcd4bc74393608eb08ce7"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 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 ocaml-version.4.0.3 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.0 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.4 --depext-only -y mdx.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Fetched 404 kB in 1s (496 kB/s)
- Reading package lists...
- 


<><> 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 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).
2025-10-18 17:41.32 ---> saved as "61c5e0ce4be890ca04379a5d2893a3bfeeedc1cddf23a1ea7f4d3e723945aa27"


/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 base-bytes         base
- install camlp-streams      5.0.1
- install cmdliner           2.0.0
- install cppo               1.8.0
- install csexp              1.5.2
- install dune               3.20.2
- install dune-configurator  3.20.2
- install fmt                0.11.0
- install logs               0.9.0
- install lwt                5.9.2
- install ocaml-syntax-shims 1.0.0
- install ocaml-version      4.0.3
- 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.0
- 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.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.20.2
-> 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.3
-> installed re.1.14.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed logs.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 17:44.47 ---> saved as "fb6d3c458b80efe8923ea5cb2ce3a11a951380d1186373fdbded87c7e8c6a922"


/src: (copy (src .) (dst /src))
2025-10-18 17:44.48 ---> saved as "ab57f2b0a9d1400d9feb1fb59b2bcd096313a28e753851ca63636db985d25bd3"


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


[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.024s. 56 tests run.
2025-10-18 17:45.11 ---> saved as "2698917dd3aa9d1de20d65f5ac1d06a78e189e30d2c591dd5c6956599324ba39"
Job succeeded
2025-10-18 17:45.12: Job succeeded