Organisationsygrekocurleb8548 (master)alpine-3.23-5.4_opam-2.5

alpine-3.23-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-05-05 14:41.10: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (eb8548643637cd2a309043da1c82805468226d64) (linux-x86_64:alpine-3.23-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard eb854864
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
# 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 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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && git log --no-decorate -n1 --oneline && 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.0 dune-configurator.3.23.0 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-05-05 14:41.10: Using cache hint "ygrek/ocurl-ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366-alpine-3.23-5.4_opam-2.5-8d168bff14bb15edeef6de0a6d45399e"
2026-05-05 14:41.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
(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 (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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && git log --no-decorate -n1 --oneline && 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.0 dune-configurator.3.23.0 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-05-05 14:41.10: Waiting for resource in pool OCluster
2026-05-05 18:28.40: Waiting for worker…
2026-05-05 18:33.35: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at eb85486 fix CURLINFO_HTTP_VERSION


(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366' locally
docker.io/ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
a34595d6f491: Already exists
7333547f58a0: Already exists
803cdf5f2902: Already exists
d74501489c54: Already exists
628aecb9cafb: Already exists
0c52f398a865: Already exists
f4e18988783e: Pulling fs layer
d9b0005bf058: Pulling fs layer
f4e18988783e: Waiting
ac511140fcec: Pulling fs layer
e5e3b5898b4b: Pulling fs layer
d9b0005bf058: Waiting
08e53197d17a: Pulling fs layer
9502f6b2d19e: Pulling fs layer
ac511140fcec: Waiting
e5e3b5898b4b: Waiting
08e53197d17a: Waiting
9502f6b2d19e: Waiting
d9b0005bf058: Download complete
f4e18988783e: Verifying Checksum
f4e18988783e: Download complete
f4e18988783e: Pull complete
d9b0005bf058: Pull complete
08e53197d17a: Download complete
e5e3b5898b4b: Verifying Checksum
e5e3b5898b4b: Download complete
9502f6b2d19e: Verifying Checksum
9502f6b2d19e: Download complete
ac511140fcec: Verifying Checksum
ac511140fcec: Download complete
ac511140fcec: Pull complete
e5e3b5898b4b: Pull complete
08e53197d17a: Pull complete
9502f6b2d19e: Pull complete
Digest: sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
Status: Downloaded newer image for ocaml/opam@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
2026-05-05 18:59.45 ---> using "01c11b07ac2b5cd48e66007e5a5cac291b476dda37442ad969d24b0ab6dc0559" 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-05-05 18:59.45 ---> using "a8a9ea5c59254a5a0f8f67ea52c72885ad5d9b7a990b02c87babbf030ab69642" 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.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-05 18:59.45 ---> using "1e76191cb180700a1a4b4fb6f0b59791d7b11a581be0b4b93d5476ddfe3df3f0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-110-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-05-05 18:59.45 ---> using "059e0fa9bf335039c3fd833df6288d715762c1f93e9a1b08fa520560ef5ec6c3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-05-05 18:59.45 ---> using "df7006147f8edefa1d31bb335dd77eaeb1d134668f6ea6934fc058697cdbef27" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
045748b2d8..163a32c4d5  master     -> origin/master
a70af20c71 Merge pull request #29844 from shonfeder/release-dune-3.23.0


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


Everything as up-to-date as possible
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-05 18:59.45 ---> using "9a3e10daef7296c880c04ffbc3dd65d01430cdf9894c444e3c43148e1725237a" from cache


/src: (copy (src curl_lwt.opam curl.opam) (dst ./))
2026-05-05 18:59.46 ---> saved as "0de3ca83cd7436db4bce0f6a726c0b2d2c0fcb2e637617141218162efca9c299"


/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-05-05 18:59.49 ---> saved as "4581e853ea45663923f9723460cfcdcc88fe4afd829fb55432532d0faeb234df"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-05 18:59.49 ---> saved as "4b4f945fc017482c30b54ea51f6b7c3eb2bc4295872daf6dcf8b748a71b7de83"


/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.0 dune-configurator.3.23.0 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-136-g11c41b79f3b [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-131-gb5d853bc1dd [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-9047-gbf8898bdf81 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-9091-gce1ab05e030 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-9091-gce1ab05e030 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62171 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/13) Upgrading nghttp2-libs (1.68.0-r0 -> 1.69.0-r0)
- ( 2/13) Installing brotli (1.2.0-r0)
- ( 3/13) Installing brotli-dev (1.2.0-r0)
- ( 4/13) Installing c-ares-dev (1.34.6-r0)
- ( 5/13) Installing libidn2-dev (2.3.8-r0)
- ( 6/13) Installing libpsl-utils (0.21.5-r3)
- ( 7/13) Installing libpsl-dev (0.21.5-r3)
- ( 8/13) Installing nghttp2-dev (1.69.0-r0)
- ( 9/13) Installing nghttp3-dev (1.13.1-r0)
- (10/13) Installing openssl-dev (3.5.6-r0)
- (11/13) Installing zlib-dev (1.3.2-r0)
- (12/13) Installing zstd-dev (1.5.7-r2)
- (13/13) Installing curl-dev (8.17.0-r1)
- Executing busybox-1.37.0-r30.trigger
- OK: 343.9 MiB in 116 packages
# To update the current shell environment, run: eval $(opam env)
2026-05-05 19:00.01 ---> saved as "dd0735942ef0ed7bde8026cf7332f19f1e88e70680ceb019a2e23785c8029c6c"


/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.0
- install dune-configurator 3.23.0
- 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.0, dune-configurator.3.23.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.23.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.23.0
-> installed lwt.6.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-05 19:00.47 ---> saved as "99c48bd87de8f847e063c75d2296070cb8e059af59d8c80ecd76dc40acc65174"


/src: (copy (src .) (dst /src))
2026-05-05 19:00.47 ---> saved as "41282244474b0bfdef6bd334b84f0f5afda3601b77af37e544acd3cdab6a7a5d"


/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 && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -bin-annot-occurrences -I examples/.ocurl.eobjs/byte -I /home/opam/.opam/5.4/lib/ocaml/unix -I .curl.objs/byte -cmi-file examples/.ocurl.eobjs/byte/dune__exe__Ocurl.cmi -no-alias-deps -opaque -open Dune__exe -o examples/.ocurl.eobjs/byte/dune__exe__Ocurl.cmo -c -impl examples/ocurl.ml)
File "examples/ocurl.ml", line 21, characters 4-14:
21 | let getContent connection url =
^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value getContent.
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -bin-annot-occurrences -I examples/.opar.eobjs/byte -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I .curl.objs/byte -cmi-file examples/.opar.eobjs/byte/dune__exe__Opar.cmi -no-alias-deps -opaque -open Dune__exe -o examples/.opar.eobjs/byte/dune__exe__Opar.cmo -c -impl examples/opar.ml)
File "examples/opar.ml", line 9, characters 4-17:
9 | let show_progress fname conn =
^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value show_progress.
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -bin-annot -bin-annot-occurrences -I .curl_lwt.objs/byte -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I .curl.objs/byte -cmi-file .curl_lwt.objs/byte/curl_lwt.cmi -no-alias-deps -opaque -o .curl_lwt.objs/byte/curl_lwt.cmo -c -impl curl_lwt.ml)
File "curl_lwt.ml", line 42, characters 4-20:
42 |     M.action_timeout mt;
^^^^^^^^^^^^^^^^
Alert deprecated: M.action_timeout
Use action_timeout' instead
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-42-69-70 -warn-error -a+31 -g -I .curl_lwt.objs/byte -I .curl_lwt.objs/native -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I .curl.objs/byte -I .curl.objs/native -cmi-file .curl_lwt.objs/byte/curl_lwt.cmi -no-alias-deps -opaque -o .curl_lwt.objs/native/curl_lwt.cmx -c -impl curl_lwt.ml)
File "curl_lwt.ml", line 42, characters 4-20:
42 |     M.action_timeout mt;
^^^^^^^^^^^^^^^^
Alert deprecated: M.action_timeout
Use action_timeout' instead
(cd _build/default/examples && ./test_memory_leaks.exe)
RSS 5234688 -> 8146944 OK
RSS 8146944 -> 8638464 OK
RSS 8638464 -> 8638464 OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-05-05 19:00.52: Job failed: Failed: Build failed