Organisationsocaml-ppxocamlformat201949 ()freebsd-14.2-5.3_opam-2.4

freebsd-14.2-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-08-20 17:09.37: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/pull/2720/head (201949ed24a5884f9c720b9c5bb8e73253e9ba76) (freebsd-x86_64:freebsd-14.2-5.3_opam-2.4)
Base: freebsd-14.2-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" && cd "ocamlformat" && git fetch origin "refs/pull/2720/head" && git reset --hard 201949ed
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-5.3
# freebsd-14.2-5.3_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.20.0 dune-build-info.3.20.0 dune-configurator.3.20.0 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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-08-20 17:09.37: Using cache hint "ocaml-ppx/ocamlformat-freebsd-14.2-ocaml-5.3-freebsd-14.2-5.3_opam-2.4-287a8279af951fdc6c5075d291e08e27"
2025-08-20 17:09.37: Using OBuilder spec:
((from freebsd-14.2-ocaml-5.3)
(comment freebsd-14.2-5.3_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.20.0 dune-build-info.3.20.0 dune-configurator.3.20.0 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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-08-20 17:09.37: Waiting for resource in pool OCluster
2025-08-21 10:19.25: Waiting for worker…
2025-08-21 18:12.07: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (2417/2417), done.
HEAD is now at 201949ed update CHANGES.md


(from freebsd-14.2-ocaml-5.3)
2025-08-21 18:13.23 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache


/: (comment freebsd-14.2-5.3_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-08-21 18:13.27 ---> using "3cf9d05e5eb2b3cab7746fab6ccc73ebe3b43051756027b7ee3d88bc2433384a" 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-08-21 18:13.29 ---> using "6be513be757734d73b41a31e19f8ae22aa3fe2fd424869d3fd3c8b16bb4fa69a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-21 18:13.31 ---> using "6406a960b971760de52a319d92e3ade2dc00fc29daba60f2a83f980f00dde731" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-21 18:13.32 ---> using "ceecf1d51f19afc7e1cbf641861a5e731a764903c017a5b842658d708b08899c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f1d3c77350..0978bfceb7  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0


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


Already up-to-date.
Nothing to do.
2025-08-21 18:13.33 ---> using "28c396d48a5c5c0e5fecd58606cf9cd79a9b85fdb56a4ba76238acbe9810beef" from cache


/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2025-08-21 18:13.35 ---> using "cd147efef8907a81f3fd3add0413acd4dba35a11d24a1163b174d9e5b1116ab3" 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-08-21 18:13.36 ---> using "28a54bedd24697369e70e566302f64d8e18a8d437d77396dc7003f8fad2b3481" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-21 18:13.39 ---> using "2056d329637e34ba0e1a2ccb4ba5cc48a3625f2e89e5937ac62be3ab565563b1" from cache


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.20.0 dune-build-info.3.20.0 dune-configurator.3.20.0 either.1.0.0 fix.20250428 fmt.0.11.0 fpath.0.7.3 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.8.1 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-08-21 18:13.41 ---> using "01015e5cb74e6a520f84bb66c73d697f7ae4f11ab1d6e16d724345f677d89618" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 35 packages
 alcotest                1.9.0
 astring                 0.8.5
 base                    v0.17.3
 base-bytes              base
 bechamel                0.5.0
 camlp-streams           5.0.1
 cmdliner                1.3.0
 csexp                   1.5.2
 dune                    3.20.0
 dune-build-info         3.20.0
 dune-configurator       3.20.0
 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
 ocaml_intrinsics_kernel v0.17.1
 ocamlbuild              0.16.1
 ocamlfind               1.9.8
 ocp-indent              1.8.1
 re                      1.13.2
 seq                     base
 sexplib0                v0.17.0
 stdio                   v0.17.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.17.3  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved alcotest.1.9.0  (cached)
 retrieved camlp-streams.5.0.1  (cached)
 retrieved bechamel.0.5.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved either.1.0.0  (cached)
 retrieved fix.20250428  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved fpath.0.7.3  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocaml-version.4.0.1  (cached)
 retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
 retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
 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 ocp-indent.1.8.1  (cached)
 retrieved sexplib0.v0.17.0  (cached)
 retrieved stdio.v0.17.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved topkg.1.1.0  (cached)
 retrieved uuseg.16.0.0  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved yojson.3.0.0  (cached)
 retrieved uucp.16.0.0  (cached)
 retrieved dune.3.20.0, dune-build-info.3.20.0, dune-configurator.3.20.0  (cached)
 installed cmdliner.1.3.0
 installed ocamlbuild.0.16.1
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.1.0
 installed uutf.1.0.4
 installed astring.0.8.5
 installed fmt.0.11.0
 installed fpath.0.7.3
 installed dune.3.20.0
 installed ocaml_intrinsics_kernel.v0.17.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.17.0
 installed ocaml-syntax-shims.1.0.0
 installed fix.20250428
 installed re.1.13.2
 installed ocp-indent.1.8.1
 installed either.1.0.0
 installed yojson.3.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.20.0
 installed dune-configurator.3.20.0
 installed uuseg.16.0.0
 installed menhir.20240715
 installed base.v0.17.3
 installed stdio.v0.17.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/5.3.0/share/emacs/site-lisp")
(require 'ocp-indent)


* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/5.3.0/share/ocp-indent/vim"
2025-08-21 18:13.44 ---> using "06d641a9142b4a281fc5aec82250520b8256eee0db50e1c77b0242728ce29d53" from cache


/src: (copy (src .) (dst /src))
2025-08-21 18:15.50 ---> saved as "fd7c05126a1fe5fa5b64f9c11b97e59c133ca746109bf60e5dfad19b2732eb70"


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


................................................................................
................................................................................
............................................


2025-08-21 18:19.55 ---> saved as "97d9cda8287152a122778148971374b37cd4b2d5d6a1186da6d02f53463cd935"
Job succeeded
2025-08-21 18:19.12: Job succeeded