Organisationsocaml-ppxocamlformat0b8ec2 (fix-lexer-error-message)alpine-3.23-4.14_opam-2.5

alpine-3.23-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-06-02 15:01.10: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/fix-lexer-error-message (0b8ec2039cc1b26d95e6b7c23b88d9a8b509d0e7) (linux-x86_64:alpine-3.23-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "fix-lexer-error-message" && cd "ocamlformat" && git reset --hard 0b8ec203
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387
# alpine-3.23-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/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 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.1 astring.0.8.5 base.v0.16.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-build-info.3.23.1 dune-configurator.3.23.1 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-06-02 15:01.10: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387-alpine-3.23-4.14_opam-2.5-d5fee1aa253b6325d0b7d0df5ffba719"
2026-06-02 15:01.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
(comment alpine-3.23-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/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 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-build-info.3.23.1 dune-configurator.3.23.1 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.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.5 --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"))
)


2026-06-02 15:01.10: Waiting for resource in pool OCluster
2026-06-02 16:08.18: Waiting for worker…
2026-06-02 16:15.34: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 0b8ec2039 Print readable error messages in doc code blocks


(from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:e6d488fded0eb95c5f2ff49163d2fc1dc2ab9519311b8ec28ef97d1d3e026387)
2026-06-02 16:15.38 ---> using "645db74cf2f6617db2ad81b0e818e4f1f9c438bf86fc197e2b1f68b1d3dfdf29" from cache


/: (comment alpine-3.23-4.14_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-06-02 16:15.38 ---> using "cf8a7eb63fdaa4274d5ee8634b4a7b94f9670fcdafb4f064aa00246fcc10cd06" 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"))
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-06-02 16:15.38 ---> using "a218be502030aa9bb7f549b3ce1a3ae2557dd57f02075fadfc67380f505ae4ad" 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.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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com (Could not contact DNS servers)"
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-02 16:15.38 ---> using "4f523c7d4745fce438a54b36da96f723989e2e5d4ec70c21de877c0cdc177935" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-06-02 16:15.38 ---> using "7949df54ce6970c564a4bf56d43ea82ed8285a3985c52812abb95e52dedffc44" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-02 16:15.38 ---> using "e3756b85b4c17d4e5ed9bed65403d563aab03a7f8a591074112948d13345d3bd" from cache


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
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.
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:15.38 ---> using "93cd4ee304db1fd84732798229edd34654aa56cf7a5998999d544ac3c636fd6d" from cache


/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2026-06-02 16:15.38 ---> using "b0f4ffda831441458c5b5d296d214147c6d3540e5b959a8bd11dcf8c59b3766a" 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)
2026-06-02 16:15.38 ---> using "1badf986237decaf6b6c4968e578d4249b6d27925c6876bdb15f1ca0a864925d" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-02 16:15.38 ---> using "b3b460a553ed1d0275374939de78a592044cb6d41bbace6f519a061a563ad6e2" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-build-info.3.23.1 dune-configurator.3.23.1 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.17.0.0 uuseg.17.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.5 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-bench.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-321-gd7ba2f7929f [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-326-g3e2b6523bc0 [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10687-gd9e76d56b8e [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10753-g6b63703a58e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10749-g6db09ef5474 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62392 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat.dev] synchronised (file:///src)
[ocamlformat-bench.dev] synchronised (file:///src)
[ocamlformat-lib.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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:15.38 ---> using "6620165373c50105f526836f0982035c863d5181d48abee284c1868da948314e" 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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 33 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base               v0.16.5
- install bechamel           0.5.0
- install camlp-streams      5.0.1
- install cmdliner           2.1.1
- install csexp              1.5.2
- install dune               3.23.1
- install dune-build-info    3.23.1
- install dune-configurator  3.23.1
- install either             1.0.0
- install fix                20250919
- install fmt                0.11.0
- install fpath              0.7.3
- install menhir             20260209
- install menhirCST          20260209
- install menhirGLR          20260209
- install menhirLib          20260209
- install menhirSdk          20260209
- install ocaml-syntax-shims 1.0.0
- install ocaml-version      4.1.1
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocp-indent         1.9.0
- install re                 1.14.0
- install sexplib0           v0.16.0
- install stdio              v0.16.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uucp               17.0.0
- install uuseg              17.0.0
- install uutf               1.0.4
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.5  (cached)
-> retrieved bechamel.0.5.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.1.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved dune.3.23.1, dune-build-info.3.23.1, dune-configurator.3.23.1  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.23.1
-> installed bechamel.0.5.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed dune-build-info.3.23.1
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.1.1
-> installed re.1.14.0
-> installed ocp-indent.1.9.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-configurator.3.23.1
-> installed alcotest.1.9.1
-> installed base.v0.16.5
-> installed stdio.v0.16.0
-> installed menhir.20260209
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
Done.


<><> ocp-indent.1.9.0 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/share/emacs/site-lisp")
(require 'ocp-indent)


* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.14/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2026-06-02 16:15.38 ---> using "482903e434c2d8d168c8f5536d1626d7c615805924bb6fad6ce9275bfaa5c2de" from cache


/src: (copy (src .) (dst /src))
2026-06-02 16:15.56 ---> saved as "af932ce2cbdeeb324cbc281631f69cb983ee1c4a4d0d2fd817cb332cb04ad676"


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


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


2026-06-02 16:16.36 ---> saved as "d335351bfccc13e42932c937b12152e14533974ef62d259dd8f41804aab0d421"
Job succeeded
2026-06-02 16:16.37: Job succeeded