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

freebsd-15.0-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-05-22 09:48.14: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (freebsd-x86_64:freebsd-15.0-5.4_opam-2.5)
Base: freebsd-15.0-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-15.0-ocaml-5.4
# freebsd-15.0-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 cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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.23.1 dune-configurator.3.23.1 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.2 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-05-22 09:48.14: Using cache hint "jmid/mutaml-freebsd-15.0-ocaml-5.4-freebsd-15.0-5.4_opam-2.5-4848054ff03d3f07db8620d36bd89b1f"
2026-05-22 09:48.14: Using OBuilder spec:
((from freebsd-15.0-ocaml-5.4)
(comment freebsd-15.0-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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
(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 "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.23.1 dune-configurator.3.23.1 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.2 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-05-22 09:48.14: Waiting for resource in pool OCluster
2026-05-22 12:19.17: Waiting for worker…
2026-05-22 13:27.30: 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-15.0-ocaml-5.4)
2026-05-22 13:20.12 ---> using "e2f9399617b174328a08b4d831e677f3a97fbfa86ae070bfd238f77cd03a9525" from cache


/: (comment freebsd-15.0-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-05-22 13:20.12 ---> using "781b57a4d4f2bf94cdb9becd5038442a59a2ca35fdf36b854445c032b968c335" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
dd592986d4..3e30e43808  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-22 13:20.13 ---> using "c2cda2e56642b4eb6e562886347b792aa905f7ede0a3c37ac4d1d98d0da2d345" 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] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


2026-05-22 13:20.13 ---> using "1b3c19695c6e31db0f7da2b3cb7e1044eabf49177fa202e6378e442557f8cb2b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 15.0-RELEASE-p6
The OCaml toplevel, version 5.4.1
2.5.0
2026-05-22 13:20.13 ---> using "7e46bb49654beeeca9e40e8b1ec82c4784478ada993bd05b101bd7a6b2dceec5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-22 13:20.14 ---> using "3427ba97a56bbc5904630bf247fdb3641a7d7e75499187de2234b6f4d8e3ce5b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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-05-22 13:20.14 ---> using "f6d3f7f0f64457c8da62f99a68dfdeaccba90264d3fff14456f9753b490f8c49" from cache


/src: (copy (src mutaml.opam) (dst ./))
2026-05-22 13:20.15 ---> saved as "e70d33e4a1dc4776464aa416651686213844b0f7b68f76525c800d9ac7b4f51d"


/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-05-22 13:20.17 ---> saved as "ea32e5f6aff1a83f201146b303298dca66231b819a7bf552bd88f667a8149f1c"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-22 13:20.18 ---> saved as "39dd545ee4696568a62ffcbf67c1d6ae1dc9b04edb7e49eef0a47b94445e6cda"


/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.23.1 dune-configurator.3.23.1 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.2 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-ports repository catalogue...
- [rosemary] Fetching data:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- Processing entries:
- .
- ..
- .
- ..
- .
- ..
- . done
- FreeBSD-ports repository update completed. 37078 packages processed.
- Updating FreeBSD-ports-kmods repository catalogue...
- [rosemary] Fetching data: ....
- . done
- Processing entries: .......... done
- FreeBSD-ports-kmods repository update completed. 240 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-ports]
- 
- Number of packages to be installed: 1
- 
- The process will require 2 MiB more space.
- 389 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-05-22 13:21.44 ---> saved as "c4a3bfb41da50c5d22384a576b8e45d7581bf7b0633aa4814d4b3427cac14b59"


/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.23.1
 dune-configurator       3.23.1
 ocaml-compiler-libs     v0.17.0
 ocaml_intrinsics_kernel v0.17.2
 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.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved ounit2.2.2.7  (cached)
 retrieved octavius.1.2.2  (cached)
 retrieved ppx_deriving.6.1.1  (cached)
 retrieved ppx_derivers.1.2.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 stdlib-random.1.2.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved yojson.3.0.0  (cached)
 retrieved ppxlib.0.38.0  (cached)
 retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
 installed ocamlfind.1.9.8
 installed dune.3.23.1
 installed csexp.1.5.2
 installed yojson.3.0.0
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed ppx_derivers.1.2.1
 installed octavius.1.2.2
 installed ocaml_intrinsics_kernel.v0.17.2
 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 dune-configurator.3.23.1
 installed ounit2.2.2.7
 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-05-22 13:24.17 ---> saved as "b7181f6e5df5142b5c9ac025f69caeeb03dc836159d7f8e5bedb9044e6208795"


/src: (copy (src .) (dst /src))
2026-05-22 13:24.19 ---> saved as "16d66b989f7bd22a9515a150515aff09898056485630a8a115758395a3258b66"


/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.11 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.23.1 dune-configurator.3.23.1 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.2 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_1312_40961" "mount.devfs" "path=/obuilder/result/ebec3a0131a5e5fd723cf983b86580e7c2e80b16e1e0c101a0adf3a84e0fe977/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.23.1 dune-configurator.3.23.1 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.2 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-05-22 13:31.44: Job failed: Failed: Build failed