Organisationsygrekocurl1bff22 (fix_warnings)alpine-3.23-5.4_opam-2.5

alpine-3.23-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-06-14 12:31.58: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/fix_warnings (1bff2264290564e010b056158862180aaadcb42a) (linux-x86_64:alpine-3.23-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "fix_warnings" && cd "ocurl" && git reset --hard 1bff2264
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073
# alpine-3.23-5.4_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 e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && 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 curl_lwt.opam curl.opam ./
RUN opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y curl_lwt.dev curl.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-14 12:31.58: Using cache hint "ygrek/ocurl-ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073-alpine-3.23-5.4_opam-2.5-50ad28da2981df628a8da127617b6252"
2026-06-14 12:31.58: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
(comment alpine-3.23-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/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 e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && 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 curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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 curl_lwt.dev curl.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-14 12:31.58: Waiting for resource in pool OCluster
2026-06-14 14:03.08: Waiting for worker…
2026-06-14 14:07.12: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 1bff226 Fix warnings


(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:028af757d3b496dd68a0fcf388f881a2a87f49999ddaa27ebf936d83ba718073)
2026-06-14 14:07.12 ---> using "81271f136a5c405ab344f21038f3fe129030b1e91d3407a93a063db52e4a8f3d" from cache


/: (comment alpine-3.23-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/bin/opam-2.5 /usr/bin/opam"))
2026-06-14 14:07.12 ---> using "6176ab3c1596fbc0dee7463fd2836ffd2f58884dcc6e1ac71012c114e0dba47c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e8dee6070985e2146f9ef14e5432de435831e572 || git fetch origin master) && git reset -q --hard e8dee6070985e2146f9ef14e5432de435831e572 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
d6a960ed95..bfde4320ee  master     -> origin/master
e8dee60709 Merge pull request #30040 from dra27/mingw-w64-shims
2026-06-14 14:07.12 ---> using "e7e1140cd67ee8e5f511c5bffe19c266fde39d424a43afb0e66bc9b930da9bae" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-14 14:07.12 ---> using "bbc4a098d7bb69e4f1480bc6852163e3336284bd50fc23dcbb475d555bb12967" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-06-14 14:07.12 ---> using "f1e58316b40e5c6e71f78466480c44bcb7823fe318f950994f8885aef442063e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-14 14:07.12 ---> using "c2cb33f03d96ddf52f5c0050137c24cce0bfbe3410b9c0fa638ca9e96a0d1cfc" 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
- ocaml-compiler.5.4.1+lrgrep
-- ocaml-base-compiler.5.4.1 is installed and requires ocaml-compiler = 5.4.1
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-14 14:07.12 ---> using "5ceddcb4215fb85f32aecd3835e176ecb0b5a6ffb0df48782ae545d382eb3f4e" from cache


/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2026-06-14 14:07.12 ---> using "22b23b5b11c5674ab79916f75a786245cf17392df2ed510ad88614383877c9ad" from cache


/src: (run (network host)
(shell  "opam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2026-06-14 14:07.12 ---> using "a0d61604f2337bacb0e5605fdf104e8535cad7fe220b6645d2d4be8575b426b2" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-14 14:07.12 ---> using "2219c8214cca14d072f2fdf14f99a98bcab1e1d49790105d8e89b8308c05c3ed" from cache


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 lwt.6.1.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")


/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 curl_lwt.dev curl.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-376-gaf3d5eb0e42 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-377-gcb206250bc6 [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v3.24.0-252-g636279548e5 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.24.0-253-g7ff90a57aa1 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.24.0-249-ge281df6abba [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62439 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.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:
curl-dev


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "curl-dev"
- ( 1/15) Upgrading libcrypto3 (3.5.6-r0 -> 3.5.7-r0)
- ( 2/15) Upgrading libssl3 (3.5.6-r0 -> 3.5.7-r0)
- ( 3/15) Installing brotli (1.2.0-r0)
- ( 4/15) Installing brotli-dev (1.2.0-r0)
- ( 5/15) Installing c-ares-dev (1.34.6-r0)
- ( 6/15) Installing libidn2-dev (2.3.8-r0)
- ( 7/15) Installing libpsl-utils (0.21.5-r3)
- ( 8/15) Installing libpsl-dev (0.21.5-r3)
- ( 9/15) Installing nghttp2-dev (1.69.0-r0)
- (10/15) Installing nghttp3 (1.13.1-r0)
- (11/15) Installing nghttp3-dev (1.13.1-r0)
- (12/15) Installing openssl-dev (3.5.7-r0)
- (13/15) Installing zlib-dev (1.3.2-r0)
- (14/15) Installing zstd-dev (1.5.7-r2)
- (15/15) Installing curl-dev (8.19.0-r0)
- Executing busybox-1.37.0-r30.trigger
- Executing ca-certificates-20260413-r0.trigger
- OK: 343.9 MiB in 116 packages
# To update the current shell environment, run: eval $(opam env)
2026-06-14 14:07.12 ---> using "80306f0a1cab1f202178c4be4cb58bbc539d6bf681c0cc2c908c8fcdd8bf340f" 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.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 9 packages
- install base-bytes        base
- install conf-libcurl      2
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.23.1
- install dune-configurator 3.23.1
- install lwt               6.1.2
- install ocamlfind         1.9.8
- install ocplib-endian     1.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> retrieved lwt.6.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.23.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.23.1
-> installed lwt.6.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-14 14:07.12 ---> using "4a3e9c7c17c1fbb5f036041ef1c6dcac8f0c8650ebb1542a57698eb84bb7139f" from cache


/src: (copy (src .) (dst /src))
2026-06-14 14:07.12 ---> saved as "92766d51b431988e3b68c34a11ed218e74ac506af2c12d561a16247cbfbf9500"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "examples/dune", line 35, characters 18-25:
35 |  (preprocess (pps lwt_ppx))
^^^^^^^
Error: Library "lwt_ppx" not found.
-> required by
_build/default/examples/.merlin-conf/exe-test_lwt-7ea57e54dfcdb31d8ef2be2c4623f56b
-> required by alias examples/check
(cd _build/default/examples && ./test_memory_leaks.exe)
RSS 5124096 -> 7942144 OK
RSS 7942144 -> 8568832 OK
RSS 8568832 -> 8568832 OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-06-14 14:07.18: Job failed: Failed: Build failed