Organisationsjmidmutaml783831 (main)freebsd-14.3-5.4_opam-2.5

freebsd-14.3-5.4_opam-2.5

Logs

Show full logs
2026-04-14 08:12.59: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (freebsd-x86_64:freebsd-14.3-5.4_opam-2.5)
Base: freebsd-14.3-ocaml-5.4
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 freebsd-14.3-ocaml-5.4
# freebsd-14.3-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /usr/local/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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.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.5 --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

2026-04-14 08:12.59: Using cache hint "jmid/mutaml-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.5-b89b763db5a073438c5cd4df74d63046"
2026-04-14 08:12.59: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
 (comment freebsd-14.3-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.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.5 --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"))
)

2026-04-14 08:12.59: Waiting for resource in pool OCluster
2026-04-14 10:22.41: Waiting for worker…
2026-04-14 11:21.06: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5

(from freebsd-14.3-ocaml-5.4)
2026-04-14 11:17.13 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache

/: (comment freebsd-14.3-5.4_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-04-14 11:17.14 ---> using "e61cc6f90204801db314d0aa3481b9199ff82a8a270abed9917e5690810c70ed" from cache

/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-04-14 11:17.14 ---> using "991489237400f99acdd227f8234d37ac98134e18d1f3c091be7204acf59248ac" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-14 11:17.14 ---> using "add5f681a375911dcea6c14418d3635cba7f82294574aa9177e3a0a9fa01d5bd" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-14 11:17.15 ---> using "56f48ccddab22348a30c0beee9b14f69a3990eb0fbd9a0ccd0040d116cc1fce5" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   42844088d7..5f7bb1a6e6  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2

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

Everything as up-to-date as possible

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
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.
2026-04-14 11:17.15 ---> using "cbd29af3654bd6eb80f24fb2a512eef6866a3370fcc8ff3fe3d8f066b349691f" from cache

/src: (copy (src mutaml.opam) (dst ./))
2026-04-14 11:17.16 ---> saved as "282652179424509fa8ba0d15309bbc405308f96835864ee589d2c5c0eaaa70be"

/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)
2026-04-14 11:17.17 ---> saved as "312f0ec083552311a97b9ef81846180dac592886d7fc51ffce38a9a2b32472e4"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-14 11:17.18 ---> saved as "5c0bb9ec12448fe30b959e96dad47b3109a937a9e51dfcc5c34eedc4b02fd6a8"

/src: (env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.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.5 --depext-only -y mutaml.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-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 system packages will first need to be installed:
    diffutils

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/local/bin/sudo "pkg" "install" "-y" "diffutils"
- Updating FreeBSD repository catalogue...
- [rosemary] Fetching data: 
- ..
- .....
- ... done
- Processing entries: 
- .
- ..
- .
- ...
- .
- .
- . done
- FreeBSD repository update completed. 37062 packages processed.
- Updating FreeBSD-kmods repository catalogue...
- [rosemary] Fetching data: ...... done
- Processing entries: .......... done
- FreeBSD-kmods repository update completed. 245 packages processed.
- All repositories are up to date.
- The following 1 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	diffutils: 3.12 [FreeBSD]
- 
- Number of packages to be installed: 1
- 
- The process will require 2 MiB more space.
- 388 KiB to be downloaded.
- [rosemary] [1/1] Fetching diffutils-3.12: ......... done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/1] Installing diffutils-3.12...
- [rosemary] [1/1] Extracting diffutils-3.12: 
- .......... done
2026-04-14 11:17.42 ---> saved as "72869b2caa7fc372d7826a2d5cbc2e20e4c63b91fef66296ae812baab2901b53"

/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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-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 23 packages
   base                    v0.17.3
   conf-diffutils          2
   conf-timeout            1
   cppo                    1.8.0
   csexp                   1.5.2
   dune                    3.22.2
   dune-configurator       3.22.2
   ocaml-compiler-libs     v0.17.0
   ocaml_intrinsics_kernel v0.17.1
   ocamlfind               1.9.8
   octavius                1.2.2
   ounit2                  2.2.7
   ppx_derivers            1.2.1
   ppx_deriving            6.1.1
   ppx_js_style            v0.17.1
   ppx_yojson_conv         v0.17.1
   ppx_yojson_conv_lib     v0.17.0
   ppxlib                  0.38.0
   seq                     base
   sexplib0                v0.17.0
   stdlib-random           1.2.0
   stdlib-shims            0.3.0
   yojson                  3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 installed conf-timeout.1
 installed conf-diffutils.2
 retrieved csexp.1.5.2  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved base.v0.17.3  (cached)
 retrieved ocaml-compiler-libs.v0.17.0  (cached)
 retrieved ocaml_intrinsics_kernel.v0.17.1  (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_deriving.6.1.1  (cached)
 retrieved ppx_js_style.v0.17.1  (cached)
 retrieved ppx_yojson_conv.v0.17.1  (cached)
 retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.17.0  (cached)
 retrieved ppxlib.0.38.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved yojson.3.0.0  (cached)
 retrieved stdlib-random.1.2.0  (https://github.com/ocaml/stdlib-random/archive/refs/tags/1.2.0.tar.gz)
 retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
 installed ocamlfind.1.9.8
 installed dune.3.22.2
 installed ppx_derivers.1.2.1
 installed csexp.1.5.2
 installed yojson.3.0.0
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed octavius.1.2.2
 installed ocaml_intrinsics_kernel.v0.17.1
 installed ocaml-compiler-libs.v0.17.0
 installed cppo.1.8.0
 installed ppx_yojson_conv_lib.v0.17.0
 installed stdlib-random.1.2.0
 installed ounit2.2.2.7
 installed dune-configurator.3.22.2
 installed base.v0.17.3
 installed ppxlib.0.38.0
 installed ppx_js_style.v0.17.1
 installed ppx_deriving.6.1.1
 installed ppx_yojson_conv.v0.17.1
Done.
2026-04-14 11:19.37 ---> saved as "89997b82e809f8920e3eb906888b60447b684b12ca4e737b7b57344135419f1b"

/src: (copy (src .) (dst /src))
2026-04-14 11:19.39 ---> saved as "7877bd90eb860e0f157419f233d9cd4333ab621e9aadf15cf74c3a2be534bae1"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.11 seconds.
OK
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.13 seconds.
OK
(cd _build/default && /home/opam/.opam/5.4.1/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 -g -bin-annot -bin-annot-occurrences -I src/ppx/.mutaml_ppx.objs/byte -I /home/opam/.opam/5.4.1/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4.1/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4.1/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4.1/lib/ppx_derivers -I /home/opam/.opam/5.4.1/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.4.1/lib/ppxlib -I /home/opam/.opam/5.4.1/lib/ppxlib/ast -I /home/opam/.opam/5.4.1/lib/ppxlib/astlib -I /home/opam/.opam/5.4.1/lib/ppxlib/print_diff -I /home/opam/.opam/5.4.1/lib/ppxlib/stdppx -I /home/opam/.opam/5.4.1/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4.1/lib/sexplib0 -I /home/opam/.opam/5.4.1/lib/stdlib-random/v4 -I /home/opam/.opam/5.4.1/lib/stdlib-shims -I /home/opam/.opam/5.4.1/lib/yojson -I src/common/.mutaml_common.objs/byte -no-alias-deps -opaque -o src/ppx/.mutaml_ppx.objs/byte/mutaml_ppx.cmo -c -impl src/ppx/mutaml_ppx.pp.ml)
File "src/ppx/mutaml_ppx.ml", line 466, characters 9-28:
466 |     | _, Pexp_function cases ->
               ^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
       but is applied here to 1 argument(s)
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_52585_17467" "mount.devfs" "path=/obuilder/result/6a18047658413e1c84b2ae2d3a2c5426885654033289fe8e0aaa8a486b19d9a5/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 dune-configurator.3.22.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2026-04-14 11:23.39: Job failed: Failed: Build failed