Build:
- 0
2026-01-22 01:47.30: New job: test ezcurl-lwt.0.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29257/head (e27994a1889f6ffc08620f425309575b9ad941a5)
on ubuntu-24.04-ocaml-4.14/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29257/head" && git reset --hard e27994a1
git fetch origin master
git merge --no-edit 5bcf75c1acf9cccbe4dfd7e6c4ad828446384c0f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ezcurl-lwt.0.3 0.3
RUN opam reinstall ezcurl-lwt.0.3; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ezcurl-lwt.0.3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test ezcurl-lwt.0.3) || true
RUN opam reinstall --with-test --verbose ezcurl-lwt.0.3; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ezcurl-lwt.0.3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-01-22 01:47.30: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966-ezcurl-lwt.0.3-e27994a1889f6ffc08620f425309575b9ad941a5"
2026-01-22 01:47.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn ezcurl-lwt.0.3 0.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ezcurl-lwt.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test ezcurl-lwt.0.3) || true"))
(run (shell "opam reinstall --with-test --verbose ezcurl-lwt.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-22 01:47.30: Waiting for resource in pool OCluster
2026-01-22 01:47.31: Waiting for worker…
2026-01-22 02:23.21: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
Updating files: 10% (2096/19249)
Updating files: 11% (2118/19249)
Updating files: 12% (2310/19249)
Updating files: 13% (2503/19249)
Updating files: 14% (2695/19249)
Updating files: 15% (2888/19249)
Updating files: 16% (3080/19249)
Updating files: 17% (3273/19249)
Updating files: 18% (3465/19249)
Updating files: 19% (3658/19249)
Updating files: 20% (3850/19249)
Updating files: 21% (4043/19249)
Updating files: 22% (4235/19249)
Updating files: 23% (4428/19249)
Updating files: 23% (4511/19249)
Updating files: 24% (4620/19249)
Updating files: 25% (4813/19249)
Updating files: 26% (5005/19249)
Updating files: 27% (5198/19249)
Updating files: 28% (5390/19249)
Updating files: 29% (5583/19249)
Updating files: 30% (5775/19249)
Updating files: 31% (5968/19249)
Updating files: 32% (6160/19249)
Updating files: 33% (6353/19249)
Updating files: 34% (6545/19249)
Updating files: 35% (6738/19249)
Updating files: 35% (6903/19249)
Updating files: 36% (6930/19249)
Updating files: 37% (7123/19249)
Updating files: 38% (7315/19249)
Updating files: 39% (7508/19249)
Updating files: 40% (7700/19249)
Updating files: 41% (7893/19249)
Updating files: 42% (8085/19249)
Updating files: 43% (8278/19249)
Updating files: 44% (8470/19249)
Updating files: 45% (8663/19249)
Updating files: 46% (8855/19249)
Updating files: 47% (9048/19249)
Updating files: 48% (9240/19249)
Updating files: 48% (9346/19249)
Updating files: 49% (9433/19249)
Updating files: 50% (9625/19249)
Updating files: 51% (9817/19249)
Updating files: 52% (10010/19249)
Updating files: 53% (10202/19249)
Updating files: 54% (10395/19249)
Updating files: 55% (10587/19249)
Updating files: 56% (10780/19249)
Updating files: 57% (10972/19249)
Updating files: 58% (11165/19249)
Updating files: 59% (11357/19249)
Updating files: 60% (11550/19249)
Updating files: 60% (11619/19249)
Updating files: 61% (11742/19249)
Updating files: 62% (11935/19249)
Updating files: 63% (12127/19249)
Updating files: 64% (12320/19249)
Updating files: 65% (12512/19249)
Updating files: 66% (12705/19249)
Updating files: 67% (12897/19249)
Updating files: 68% (13090/19249)
Updating files: 69% (13282/19249)
Updating files: 70% (13475/19249)
Updating files: 71% (13667/19249)
Updating files: 72% (13860/19249)
Updating files: 72% (13961/19249)
Updating files: 73% (14052/19249)
Updating files: 74% (14245/19249)
Updating files: 75% (14437/19249)
Updating files: 76% (14630/19249)
Updating files: 77% (14822/19249)
Updating files: 78% (15015/19249)
Updating files: 79% (15207/19249)
Updating files: 80% (15400/19249)
Updating files: 81% (15592/19249)
Updating files: 82% (15785/19249)
Updating files: 83% (15977/19249)
Updating files: 84% (16170/19249)
Updating files: 85% (16362/19249)
Updating files: 85% (16364/19249)
Updating files: 86% (16555/19249)
Updating files: 87% (16747/19249)
Updating files: 88% (16940/19249)
Updating files: 89% (17132/19249)
Updating files: 90% (17325/19249)
Updating files: 91% (17517/19249)
Updating files: 92% (17710/19249)
Updating files: 93% (17902/19249)
Updating files: 94% (18095/19249)
Updating files: 95% (18287/19249)
Updating files: 96% (18480/19249)
Updating files: 97% (18672/19249)
Updating files: 97% (18732/19249)
Updating files: 98% (18865/19249)
Updating files: 99% (19057/19249)
Updating files: 100% (19249/19249)
Updating files: 100% (19249/19249), done.
HEAD is now at 5bcf75c1ac Merge pull request #29261 from panglesd/release-slipshow-v0.8.1
Updating 5bcf75c1ac..e27994a188
Fast-forward
packages/ezcurl-lwt/ezcurl-lwt.0.3/opam | 41 +++++++++++++++++++++++++++++++++
packages/ezcurl/ezcurl.0.3/opam | 40 ++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
create mode 100644 packages/ezcurl-lwt/ezcurl-lwt.0.3/opam
create mode 100644 packages/ezcurl/ezcurl.0.3/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966)
2026-01-22 02:23.33 ---> using "4626d4a5a131a88d02479f5c3b21defc447f75fbe8e0dea7762a8bf70d192939" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-22 02:23.33 ---> using "2cf77de0c9217b9f307fb96292f7e750553dddea1ae1c3af3d877c5064cd48be" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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-01-22 02:23.33 ---> using "e97b1f5b3923c1d4406517373572055c44243d2c7e5d515860195f8caac29ab2" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-01-22 02:23.33 ---> using "7446a1617c0a540a3bcb1fa66767241aea48568e6441847fecb4c62276a88c16" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-22 02:23.33 ---> using "6a1c59d3cd71ed778ec1a09ca3f6c9b8135cf735686be40ac73fa2d2fb3e5849" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-22 02:23.39 ---> using "28b4e30bf42cebe2625e342c75e1d5820f92a3937ef14c6f19cd0a3b48bf9450" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-22 02:23.39 ---> using "7db4beb4303fa2236af3c3cedee09d91243b9a6d7826fbf6a02e5043c1956f75" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [908 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse riscv64 Packages [4801 B]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1479 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [587 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [931 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse riscv64 Packages [3443 B]
- Fetched 4292 kB in 2s (2024 kB/s)
- Reading package lists...
-
2026-01-22 02:23.39 ---> using "39d97c6db9265e83b135c4035b4ff26e84f498b40474edcec9d17138a26d3f1a" from cache
/home/opam: (run (shell "opam pin add -k version -yn ezcurl-lwt.0.3 0.3"))
ezcurl-lwt is now pinned to version 0.3
2026-01-22 02:23.39 ---> using "77273ec9eb6730639a19224e8fe645ef27cc96eb499b8f0b46c2eb2a35c0bac9" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ezcurl-lwt.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ezcurl-lwt.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
- install base-bytes base [required by ocplib-endian]
- install conf-libcurl 2 [required by ocurl]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.21.0 [required by ezcurl-lwt]
- install dune-configurator 3.21.0 [required by lwt]
- install ezcurl 0.3 [required by ezcurl-lwt]
- install ezcurl-lwt 0.3 (pinned)
- install lwt 5.9.2 [required by ezcurl-lwt]
- install ocamlfind 1.9.8 [required by ocurl]
- install ocplib-endian 1.2 [required by lwt]
- install ocurl 0.9.2 [required by ezcurl]
The following system packages will first need to be installed:
libcurl4-gnutls-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev:riscv64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16249 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_8.5.0-2ubuntu10.6_riscv64.deb ...
- Unpacking libcurl4-gnutls-dev:riscv64 (8.5.0-2ubuntu10.6) ...
- Setting up libcurl4-gnutls-dev:riscv64 (8.5.0-2ubuntu10.6) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> installed conf-libcurl.2
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved ezcurl.0.3, ezcurl-lwt.0.3 (https://github.com/c-cube/ezcurl/releases/download/v0.3/ezcurl-0.3.tbz)
-> retrieved lwt.5.9.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocurl.0.9.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.0
-> installed lwt.5.9.2
-> installed ocurl.0.9.2
-> installed ezcurl.0.3
-> installed ezcurl-lwt.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-22 02:23.39 ---> using "732da6fc60294d73982806a701905698359fed7d312e189306bd35cdf05cca94" from cache
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ezcurl-lwt.0.3) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ezcurl-lwt 0.3 (pinned)
=== install 11 packages
- install astring 0.8.5 [required by mdx]
- install camlp-streams 5.0.1 [required by mdx]
- install cmdliner 2.1.0 [required by mdx]
- install fmt 0.11.0 [required by mdx]
- install logs 0.10.0 [required by mdx]
- install mdx 2.5.1 [required by ezcurl-lwt]
- install ocaml-version 4.0.3 [required by mdx]
- install ocamlbuild 0.16.1 [required by fmt, astring, logs]
- install re 1.14.0 [required by mdx]
- install result 1.5 [required by mdx]
- install topkg 1.1.1 [required by fmt, astring, logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved camlp-streams.5.0.1 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0 (https://opam.ocaml.org/cache)
-> installed camlp-streams.5.0.1
-> retrieved mdx.2.5.1 (https://opam.ocaml.org/cache)
-> retrieved ocaml-version.4.0.3 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved result.1.5 (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> installed ocaml-version.4.0.3
-> installed re.1.14.0
-> installed result.1.5
-> installed cmdliner.2.1.0
-> removed ezcurl-lwt.0.3
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed mdx.2.5.1
[ERROR] The compilation of ezcurl-lwt.0.3 failed at "dune build -p ezcurl-lwt -j 3 @install @runtest".
#=== ERROR while compiling ezcurl-lwt.0.3 =====================================#
# context 2.5.0 | linux/riscv64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/c-cube/ezcurl/releases/download/v0.3/ezcurl-0.3.tbz)
# path ~/.opam/4.14/.opam-switch/build/ezcurl-lwt.0.3
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ezcurl-lwt -j 3 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ezcurl-lwt-8-0164c7.env
# output-file ~/.opam/log/ezcurl-lwt-8-0164c7.out
### output ###
# File "test/dune", line 3, characters 19-29:
# 3 | (libraries ezcurl tiny_httpd threads.posix))
# ^^^^^^^^^^
# Error: Library "tiny_httpd" not found.
# -> required by _build/default/test/basic_test.exe
# -> required by _build/default/test/basic_test.exe.output
# -> required by alias test/runtest-basic_test in test/dune:2
# -> required by alias test/runtest
# File "README.md", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/README.md _build/default/README.md.corrected
# diff --git a/_build/default/README.md b/_build/default/README.md.corrected
# index e73e485..f3ba1fa 100644
# --- a/_build/default/README.md
# +++ b/_build/default/README.md.corrected
# @@ -33,11 +33,11 @@ val url : string = "https://curl.haxx.se/"
# # let res = Ezcurl.get ~url ();;
# ...
# # let content = match res with Ok c -> c | Error (_,s) -> failwith s;;
# -val content : string Ezcurl_core.response =
# -...
# +Exception: Failure "Couldn't resolve host name".
#
# # content.Ezcurl.code;;
# -- : int = 200
# +Line 1, characters 1-8:
# +Error: Unbound value content
# ```
#
# It is also possible to create a client with `Ezcurl.make()` and re-use
# @@ -71,5 +71,5 @@ val urls : string list =
# ;;
# ...
# # codes;;
# -- : int list = [200; 200; 200]
# +Exception: Failure "oh no".
# ```
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ezcurl-lwt 0.3
+-
+- The following changes have been performed
| - remove ezcurl-lwt 0.3
| - install astring 0.8.5
| - install camlp-streams 5.0.1
| - install cmdliner 2.1.0
| - install fmt 0.11.0
| - install logs 0.10.0
| - install mdx 2.5.1
| - install ocaml-version 4.0.3
| - install ocamlbuild 0.16.1
| - install re 1.14.0
| - install result 1.5
| - install topkg 1.1.1
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260122022341.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-01-22 02:25.25 ---> saved as "efc53ac0d7b1fa461f30632eb63983041f7b985b7dd95e5a34aef3c71a1b5a04"
/home/opam: (run (shell "opam reinstall --with-test --verbose ezcurl-lwt.0.3;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ezcurl-lwt.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ezcurl-lwt.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ezcurl-lwt 0.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/3: [ezcurl-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ezcurl-lwt" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ezcurl-lwt.0.3)
- File "test/dune", line 3, characters 19-29:
- 3 | (libraries ezcurl tiny_httpd threads.posix))
- ^^^^^^^^^^
- Error: Library "tiny_httpd" not found.
- -> required by _build/default/test/basic_test.exe
- -> required by _build/default/test/basic_test.exe.output
- -> required by alias test/runtest-basic_test in test/dune:2
- -> required by alias test/runtest
- File "README.md", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/README.md _build/default/README.md.corrected
- diff --git a/_build/default/README.md b/_build/default/README.md.corrected
- index e73e485..f3ba1fa 100644
- --- a/_build/default/README.md
- +++ b/_build/default/README.md.corrected
- @@ -33,11 +33,11 @@ val url : string = "https://curl.haxx.se/"
- # let res = Ezcurl.get ~url ();;
- ...
- # let content = match res with Ok c -> c | Error (_,s) -> failwith s;;
- -val content : string Ezcurl_core.response =
- -...
- +Exception: Failure "Couldn't resolve host name".
-
- # content.Ezcurl.code;;
- -- : int = 200
- +Line 1, characters 1-8:
- +Error: Unbound value content
- ```
-
- It is also possible to create a client with `Ezcurl.make()` and re-use
- @@ -71,5 +71,5 @@ val urls : string list =
- ;;
- ...
- # codes;;
- -- : int list = [200; 200; 200]
- +Exception: Failure "oh no".
- ```
[ERROR] The compilation of ezcurl-lwt.0.3 failed at "dune build -p ezcurl-lwt -j 3 @install @runtest".
#=== ERROR while compiling ezcurl-lwt.0.3 =====================================#
# context 2.5.0 | linux/riscv64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/c-cube/ezcurl/releases/download/v0.3/ezcurl-0.3.tbz)
# path ~/.opam/4.14/.opam-switch/build/ezcurl-lwt.0.3
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ezcurl-lwt -j 3 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ezcurl-lwt-7-6abfdc.env
# output-file ~/.opam/log/ezcurl-lwt-7-6abfdc.out
### output ###
# File "test/dune", line 3, characters 19-29:
# 3 | (libraries ezcurl tiny_httpd threads.posix))
# ^^^^^^^^^^
# Error: Library "tiny_httpd" not found.
# -> required by _build/default/test/basic_test.exe
# -> required by _build/default/test/basic_test.exe.output
# -> required by alias test/runtest-basic_test in test/dune:2
# -> required by alias test/runtest
# File "README.md", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/README.md _build/default/README.md.corrected
# diff --git a/_build/default/README.md b/_build/default/README.md.corrected
# index e73e485..f3ba1fa 100644
# --- a/_build/default/README.md
# +++ b/_build/default/README.md.corrected
# @@ -33,11 +33,11 @@ val url : string = "https://curl.haxx.se/"
# # let res = Ezcurl.get ~url ();;
# ...
# # let content = match res with Ok c -> c | Error (_,s) -> failwith s;;
# -val content : string Ezcurl_core.response =
# -...
# +Exception: Failure "Couldn't resolve host name".
#
# # content.Ezcurl.code;;
# -- : int = 200
# +Line 1, characters 1-8:
# +Error: Unbound value content
# ```
#
# It is also possible to create a client with `Ezcurl.make()` and re-use
# @@ -71,5 +71,5 @@ val urls : string list =
# ;;
# ...
# # codes;;
# -- : int list = [200; 200; 200]
# +Exception: Failure "oh no".
# ```
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ezcurl-lwt 0.3
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ezcurl-lwt.0.3' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ezcurl-lwt.0.3;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ezcurl-lwt.0.3' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-01-22 02:26.23: Job failed: Failed: Build failed
2026-01-22 02:26.23: Log analysis:
2026-01-22 02:26.23: >>>
[ERROR] The compilation of ezcurl-lwt.0.3 failed at "dune build -p ezcurl-lwt -j 3 @install @runtest".
(score = 20)
2026-01-22 02:26.23: >>>
# Error: Library "tiny_httpd" not found.
(score = 48)
2026-01-22 02:26.23: >>>
[ERROR] The compilation of ezcurl-lwt.0.3 failed at "dune build -p ezcurl-lwt -j 3 @install @runtest".
(score = 20)
2026-01-22 02:26.23: >>>
# Error: Library "tiny_httpd" not found.
(score = 48)
2026-01-22 02:26.23: Library "tiny_httpd" not found.