Organisationsjmidmutaml783831 (main)ubuntu-25.04-4.14_opam-2.4

ubuntu-25.04-4.14_opam-2.4

Logs

Show full logs
2025-09-29 07:19.11: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:4f61b00bdde6d8277c8eaa9a4022cff46687cbdf89c28a9cb30d32e49bf0e43f
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 783831dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:4f61b00bdde6d8277c8eaa9a4022cff46687cbdf89c28a9cb30d32e49bf0e43f
# ubuntu-25.04-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam ./
RUN opam pin add -yn mutaml.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mutaml.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-09-29 07:19.11: Using cache hint "jmid/mutaml-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:4f61b00bdde6d8277c8eaa9a4022cff46687cbdf89c28a9cb30d32e49bf0e43f-ubuntu-25.04-4.14_opam-2.4-9dbad31cfecdf54d97de1beb19a9bc4c"
2025-09-29 07:19.11: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:4f61b00bdde6d8277c8eaa9a4022cff46687cbdf89c28a9cb30d32e49bf0e43f)
 (comment ubuntu-25.04-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mutaml.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mutaml.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 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 mutaml.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-09-29 07:19.11: Waiting for resource in pool OCluster
2025-09-29 07:19.27: Waiting for worker…
2025-09-29 07:19.27: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/mutaml.git-27b80c0565d271b270391514ccafbdde5b1a75c4/.git/
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5

(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:4f61b00bdde6d8277c8eaa9a4022cff46687cbdf89c28a9cb30d32e49bf0e43f)
2025-09-29 07:19.12 ---> using "c8bb35c126db03b74f524d6f17521ac960bd85f27ca8a18249af22d5a23eb980" from cache

/: (comment ubuntu-25.04-4.14_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-09-29 07:19.12 ---> using "fa0ad8f25f9d06d586e2dc0b4e10f0dd3cff13c264ed255a6c06eec92b7dfbb9" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-29 07:19.30 ---> saved as "aab57315a0b1eaf371826015a62e9e65932f61fac8c14e40ee625bc625f688e3"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-153-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-29 07:19.30 ---> saved as "ac21f04fb89a2d3e4a982afff89fe66e0d4dcd8f92c3b29da0a2326a73540655"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-29 07:19.30 ---> saved as "a6c7ba1b7bd2e17d412eb967c8f0ec4a4452699283da65e5ddcaefef0740ed9d"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bcac5d1731..3c6a0f524c  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc

<><> 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.3.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-09-29 07:19.49 ---> saved as "39e1ead977cfc09911ede91c1ac02de0750a56428219df9f851b42a7c41c082e"

/src: (copy (src mutaml.opam) (dst ./))
2025-09-29 07:19.49 ---> saved as "f54c63a63cf8f8ff4c8318f61bdc6fa2b7cfd3b0dea119f3b23a1504838fc2d0"

/src: (run (network host)
           (shell "opam pin add -yn mutaml.dev './'"))
[mutaml.dev] synchronised (file:///src)
mutaml is now pinned to file:///src (version dev)
2025-09-29 07:19.51 ---> saved as "f4c3ec587f8b40ccd4823d9bb39de97b52d1f44bc0a98298b0b13f475f949554"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 07:19.51 ---> saved as "3146dd84489e26bad15d034dd74b87736a5ab19325dc89a587fdf4c96a839ac1"

/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 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 mutaml.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [275 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [304 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [30.8 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [442 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Packages [3672 B]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [288 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [30.6 kB]
- Get:12 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [278 kB]
- Get:13 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [156 kB]
- Fetched 2186 kB in 0s (8449 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.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).
2025-09-29 07:20.02 ---> saved as "04cb34015c63aa2886d9bde0e491c5f8038f74687c3d4c63a254dc7c56bbff49"

/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 base                v0.16.4
  - install conf-diffutils      2
  - install conf-timeout        1
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install dune                3.20.2
  - install dune-configurator   3.20.2
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install octavius            1.2.2
  - install ounit2              2.2.7
  - install ppx_derivers        1.2.1
  - install ppx_deriving        6.0.3
  - install ppx_js_style        v0.16.0
  - install ppx_yojson_conv     v0.16.0
  - install ppx_yojson_conv_lib v0.16.0
  - install ppxlib              0.35.0
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdlib-random       1.2.0
  - install stdlib-shims        0.3.0
  - install yojson              3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-diffutils.2
-> installed conf-timeout.1
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_js_style.v0.16.0  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_yojson_conv.v0.16.0  (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed octavius.1.2.2
-> installed stdlib-shims.0.3.0
-> installed stdlib-random.1.2.0
-> installed yojson.3.0.0
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_js_style.v0.16.0
-> installed ppx_deriving.6.0.3
-> installed ppx_yojson_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 07:21.18 ---> saved as "ed2280fceebe1d3e332d379b30da65bb400bea5820841203535d9217c74721a1"

/src: (copy (src .) (dst /src))
2025-09-29 07:21.18 ---> saved as "71863de653cd07f656172855c97e9a6b85de3b413017d7fb0bf41cccbd637393"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.11 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.12 seconds.
OK
2025-09-29 07:21.56 ---> saved as "0d8de2b1f4c1023bd174964863a28440e1f348639adeed0befa7fcb0f0f629d5"
Job succeeded
2025-09-29 07:21.56: Job succeeded