2025-07-31 07:30.52: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (1851bc47e2ba3ff79b66f967986a853c23bed445) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.4)
Base: freebsd-14.2-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard 1851bc47
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam ./
RUN opam pin add -yn ocamlformat.dev './' && \
opam pin add -yn ocamlformat-rpc-lib.dev './' && \
opam pin add -yn ocamlformat-lib.dev './' && \
opam pin add -yn ocamlformat-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-build-info.3.19.1 dune-configurator.3.19.1 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.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-07-31 07:30.52: Using cache hint "ocaml-ppx/ocamlformat-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-63a6a015cc0703082f08230b45f5f894"
2025-07-31 07:30.52: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-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/local/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn ocamlformat.dev './' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
\nopam pin add -yn ocamlformat-lib.dev './' && \
\nopam pin add -yn ocamlformat-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-build-info.3.19.1 dune-configurator.3.19.1 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 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 ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.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-07-31 07:30.52: Waiting for resource in pool OCluster
2025-07-31 09:49.40: Waiting for worker…
2025-07-31 11:02.59: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 1851bc47 Add module indent option (#2711)
(from freebsd-14.2-ocaml-4.14)
2025-07-31 11:03.05 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache
/: (comment freebsd-14.2-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/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-07-31 11:03.05 ---> using "ab3b72ff1bef5200ab51bf41b5ce466d603a607c082bc77b8cb9a89bd0ee8e2b" 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
2025-07-31 11:03.06 ---> using "4f5272944a297469599fadae70be6af0a741315c350ad35dc552c1741ce274b4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 11:03.06 ---> using "07a4e313abba0673771074c9860cdd9543e4761d68d2fb7c6d7221bc739a7e75" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 11:03.07 ---> using "3a9f22eefbfbdecb5fa973f708084041cdbe652271a081208757b5e926d582b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0
<><> 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.3.0
- ocaml-config.3
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.
2025-07-31 11:03.08 ---> using "e7812d859964501a6fcf518d13515fab7a12f42283fbac93edfb284488c01928" from cache
/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2025-07-31 11:03.09 ---> using "38305f46a8321d00927ab2ea4bf2f883c27eb4c0fa429254c3380a09a03fee8c" from cache
/src: (run (network host)
(shell "opam pin add -yn ocamlformat.dev './' && \
\nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
\nopam pin add -yn ocamlformat-lib.dev './' && \
\nopam pin add -yn ocamlformat-bench.dev './'"))
[ocamlformat.dev] synchronised (file:///src)
ocamlformat is now pinned to file:///src (version dev)
[ocamlformat-rpc-lib.dev] synchronised (file:///src)
ocamlformat-rpc-lib is now pinned to file:///src (version dev)
[ocamlformat-lib.dev] synchronised (file:///src)
ocamlformat-lib is now pinned to file:///src (version dev)
[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.
[ocamlformat-bench.dev] synchronised (file:///src)
[WARNING] Failed checks on ocamlformat-bench package definition from source at file:///src:
warning 68: Missing field 'license'
ocamlformat-bench is now pinned to file:///src (version dev)
2025-07-31 11:03.10 ---> using "1cc7ff7a409685ac62931358f524ea7e59393ef487780cb183bb426e736dbf9f" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 11:03.10 ---> using "8958ad6a59f615901106d14a4ae16da2e44c5098c4413e3e337530a8557e418e" from cache
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-build-info.3.19.1 dune-configurator.3.19.1 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4 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 ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat-lib.dev] synchronised (file:///src)
[ocamlformat-bench.dev] synchronised (file:///src)
[ocamlformat.dev] synchronised (file:///src)
[ocamlformat-rpc-lib.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-07-31 11:03.11 ---> using "daac8ebf6ab8da3b40ff1e98937035fa76536a911ec051cc9c9ae88fdcce9234" from cache
/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 34 packages
∗ alcotest 1.9.0
∗ astring 0.8.5
∗ base v0.16.4
∗ base-bytes base
∗ bechamel 0.5.0
∗ camlp-streams 5.0.1
∗ cmdliner 1.3.0
∗ csexp 1.5.2
∗ dune 3.19.1
∗ dune-build-info 3.19.1
∗ dune-configurator 3.19.1
∗ either 1.0.0
∗ fix 20250428
∗ fmt 0.11.0
∗ fpath 0.7.3
∗ menhir 20240715
∗ menhirCST 20240715
∗ menhirLib 20240715
∗ menhirSdk 20240715
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 4.0.1
∗ ocamlbuild 0.16.1
∗ ocamlfind 1.9.8
∗ ocp-indent 1.8.1
∗ re 1.13.2
∗ seq base
∗ sexplib0 v0.16.0
∗ stdio v0.16.0
∗ stdlib-shims 0.3.0
∗ topkg 1.1.0
∗ uucp 16.0.0
∗ uuseg 16.0.0
∗ uutf 1.0.4
∗ yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved base.v0.16.4 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved alcotest.1.9.0 (cached)
⬇ retrieved camlp-streams.5.0.1 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cmdliner.1.3.0 (cached)
⬇ retrieved either.1.0.0 (https://github.com/mirage/either/releases/download/1.0.0/either-1.0.0.tbz)
⬇ retrieved bechamel.0.5.0 (https://github.com/mirage/bechamel/releases/download/v0.5.0/bechamel-0.5.0.tbz)
⬇ retrieved fmt.0.11.0 (cached)
⬇ retrieved fpath.0.7.3 (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
⬇ retrieved dune.3.19.1, dune-build-info.3.19.1, dune-configurator.3.19.1 (cached)
⬇ retrieved ocaml-version.4.0.1 (cached)
⬇ retrieved fix.20250428 (https://gitlab.inria.fr/fpottier/fix/-/archive/20250428/archive.tar.gz)
⬇ retrieved ocamlbuild.0.16.1 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved re.1.13.2 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.16.0 (cached)
⬇ retrieved stdio.v0.16.0 (cached)
⬇ retrieved ocp-indent.1.8.1 (https://github.com/OCamlPro/ocp-indent/archive/1.8.1.tar.gz)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved topkg.1.1.0 (cached)
⬇ retrieved uutf.1.0.4 (cached)
⬇ retrieved uucp.16.0.0 (cached)
⬇ retrieved uuseg.16.0.0 (https://erratique.ch/software/uuseg/releases/uuseg-16.0.0.tbz)
⬇ retrieved yojson.3.0.0 (cached)
∗ installed cmdliner.1.3.0
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed ocamlbuild.0.16.1
∗ installed topkg.1.1.0
∗ installed uutf.1.0.4
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed fpath.0.7.3
∗ installed dune.3.19.1
∗ installed ocaml-version.4.0.1
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed menhirCST.20240715
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.16.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed fix.20250428
∗ installed yojson.3.0.0
∗ installed re.1.13.2
∗ installed ocp-indent.1.8.1
∗ installed either.1.0.0
∗ installed csexp.1.5.2
∗ installed alcotest.1.9.0
∗ installed camlp-streams.5.0.1
∗ installed bechamel.0.5.0
∗ installed uucp.16.0.0
∗ installed dune-build-info.3.19.1
∗ installed dune-configurator.3.19.1
∗ installed uuseg.16.0.0
∗ installed menhir.20240715
∗ installed base.v0.16.4
∗ installed stdio.v0.16.0
Done.
<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/4.14.2/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.14.2/share/ocp-indent/vim"
2025-07-31 11:08.27 ---> saved as "028582e46db495ca441bdd9a082acd70e9780bfa669783ddbd6af4d717c9cb50"
/src: (copy (src .) (dst /src))
2025-07-31 11:09.10 ---> saved as "d2339f34747fef7a73b8f9aa58fddd3edef24a4f0bde164df5564ce486d81c86"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test_unit.exe)
Testing `ocamlformat'.
This run has ID `U1RG57E8'.
................................................................................
................................................................................
............................................
2025-07-31 11:11.06 ---> saved as "952b0395a433d98844e1f1f7b63715999abca8e3ec6900729c481aedcd2b8d63"
Job succeeded
2025-07-31 11:11.04: Job succeeded