Organisationsocaml-ppxppxlibef0e7a ()alpine-3.23-4.14_opam-2.5

alpine-3.23-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-05-28 18:41.45: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/640/head (ef0e7a3d35d47d7deae20411a938c6460280fd8b) (linux-x86_64:alpine-3.23-4.14_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-4.14@sha256:67a4db3be9fbc43c3af35834f8a6b5d412f802e74c3fb3658bb5bb8e19b50b21
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/640/head" && git reset --hard ef0e7a3d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-4.14@sha256:67a4db3be9fbc43c3af35834f8a6b5d412f802e74c3fb3658bb5bb8e19b50b21
# 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 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-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-05-28 18:41.45: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:alpine-3.23-ocaml-4.14@sha256:67a4db3be9fbc43c3af35834f8a6b5d412f802e74c3fb3658bb5bb8e19b50b21-alpine-3.23-4.14_opam-2.5-b6845581f92920747431b0604845e618"
2026-05-28 18:41.45: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:67a4db3be9fbc43c3af35834f8a6b5d412f802e74c3fb3658bb5bb8e19b50b21)
(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 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.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 ppxlib.dev ppxlib-tools.dev ppxlib-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-05-28 18:41.45: Waiting for resource in pool OCluster
2026-05-28 19:03.53: Waiting for worker…
2026-05-28 19:06.23: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at ef0e7a3d Add suggestions to invalid_encoding error


(from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:67a4db3be9fbc43c3af35834f8a6b5d412f802e74c3fb3658bb5bb8e19b50b21)
2026-05-28 19:06.23 ---> using "229e68010ae6e476bc60b9ae309a41d9390170ed3f6dbe2116af119f2c0f03f5" 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-05-28 19:06.23 ---> using "44247f53fa2c5fc28159cc7c93330dbb2e261e155d72ceea4d41d4ccf4d18ced" 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-05-28 19:06.23 ---> using "c9eaff0e70addede7c75116bfeee35586436c24f6838b285dfe59249a6606ad2" 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-05-28 19:06.23 ---> using "c529be589e3afb2e6a15a5dba9f00ee34aec88e17eb6f01e426bb76361719ca4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-05-28 19:06.23 ---> using "8b6daf49166dce6d08676a3a3d6c097fbf532595c8ee5a434d62f2a217675374" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-28 19:06.23 ---> using "4f4906d741e78ba79f0f690cde80bce6f7e80df42dfa77dce17fc0ae71dbe705" 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-05-28 19:06.23 ---> using "a507ebcbff6dcd2b2d661a56559618dbcaf02a1f507b2113feabe251c5c84cdf" from cache


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2026-05-28 19:06.24 ---> saved as "d043581ff04eef7bc1e89e1c8b3080b8693cc74a727ef9d4678c6aa194ca0285"


/src: (run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2026-05-28 19:06.29 ---> saved as "35b9442f7a41ae79209a0942d01624ab366f6b3193fcc249fbfe09cb9a62cbee"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-28 19:06.29 ---> saved as "51b863360669abadc5935ef4564265d7bd694b7a9d22237d7041c6e5f26156fd"


/src: (env DEPS "base.v0.16.5 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.16.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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-300-g0492819ba5c [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-304-g766b6d2432f [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10488-gf1bd5b6767a [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10505-gc9594a68fc4 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10497-g54efeb0370b [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62347 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.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-05-28 19:06.43 ---> saved as "0ab1f634e9ca23d501751e1894c2299715cd3267beb6a8b3d73400eb77cd3dfa"


/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 12 packages
- install base                v0.16.5
- install cinaps              v0.15.1
- install cmdliner            2.1.1
- install csexp               1.5.2
- install dune                3.23.1
- install dune-configurator   3.23.1
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install re                  1.14.0
- install sexplib0            v0.16.0
- install yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.5  (cached)
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed dune.3.23.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.23.1
-> installed base.v0.16.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-28 19:07.56 ---> saved as "6ce65eebaf3e1990b2d500c88dc19f00e6d76ca59fff8cc0fd2c5523240d70bf"


/src: (copy (src .) (dst /src))
2026-05-28 19:07.57 ---> saved as "ccebdea2e859626c311e19b4866ad153267695f4b5dff260a89014c79f87f37a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 21, characters 2-42:
21 |   (sexplib0 (and :with-test (>= "v0.15"))) ; Printexc.register_printer in sexplib0 changed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Duplicate dependency on package (sexplib0 (and :with-test (>=
v0.15))) in 'depends' field. If you want to specify multiple constraints,
combine them using (and ...).
Hint: To disable this warning, add the following to your dune-project file:
(warnings (duplicate_deps disabled))
2026-05-28 19:08.39 ---> saved as "d8bbc4a84723189532c2c5fe5568ebbfac0366fb0d5adc9f30f9e74dec188c72"
Job succeeded
2026-05-28 19:08.39: Job succeeded