Organisationshyper-systemsocaml-mqttee6f43 (master)alpine-3.22-5.4_opam-2.5

alpine-3.22-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-20 10:08.37: New job: test hyper-systems/ocaml-mqtt https://github.com/hyper-systems/ocaml-mqtt.git#refs/heads/master (ee6f43c284b35e7d5f83012fd97daffa99302581) (linux-x86_64:alpine-3.22-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hyper-systems/ocaml-mqtt.git" -b "master" && cd "ocaml-mqtt" && git reset --hard ee6f43c2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5
# alpine-3.22-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 d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mqtt.opam ./
RUN opam pin add -yn mqtt.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.2.1 ipaddr.5.6.2 ipaddr-sexp.5.6.2 kdf.1.0.0 logs.0.10.0 lwt.6.1.0 lwt_ppx.6.1.0 macaddr.5.6.2 magic-mime.1.3.1 mirage-crypto.2.0.3 mirage-crypto-ec.2.0.3 mirage-crypto-pk.2.0.3 mirage-crypto-rng.2.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mqtt.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-02-20 10:08.37: Using cache hint "hyper-systems/ocaml-mqtt-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5-alpine-3.22-5.4_opam-2.5-b1e25618ab55d6e6929d300f57e6326f"
2026-02-20 10:08.37: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
(comment alpine-3.22-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 d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mqtt.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mqtt.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.2.1 ipaddr.5.6.2 ipaddr-sexp.5.6.2 kdf.1.0.0 logs.0.10.0 lwt.6.1.0 lwt_ppx.6.1.0 macaddr.5.6.2 magic-mime.1.3.1 mirage-crypto.2.0.3 mirage-crypto-ec.2.0.3 mirage-crypto-pk.2.0.3 mirage-crypto-rng.2.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")
(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 mqtt.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-02-20 10:08.37: Waiting for resource in pool OCluster
2026-02-20 10:51.23: Waiting for worker…
2026-02-20 10:58.34: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ee6f43c Merge pull request #20 from hyper-systems/rizo-opam-install


(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:7d7dd1f15b5b094a8c6ec589b462e81fe5f982c5d6f2ac4af2e5e3dcdc1525e5)
2026-02-20 10:58.34 ---> using "8e7368a35b514e2f693b7ef97549c85525e506baecfd9cb71dfa7c1285b9bf9e" from cache


/: (comment alpine-3.22-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-02-20 10:58.34 ---> using "5de1607ed24a4d9a94f038b30a5d26051019ad9d567bd9b920207c8a8790958e" 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-02-20 10:58.34 ---> using "9a9c4e5cee84ea1f4dd03ef20c73db2f8677135dce421b26bfc6a84a6e4cec86" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-20 10:58.34 ---> using "667074f5be2334a92415ceab74ec15bb59d47bdf0e2beb825eaa389555f40c78" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-20 10:58.34 ---> using "33c7b91e3a3fd17dd0b670dfb64c2fe390ea331270d4439429317512d6a40df2" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..d18d14011e  master     -> origin/master
d18d14011e Merge pull request #29430 from hannesm/release-ipaddr-v5.6.2


<><> 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.4.1"), 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-02-20 10:58.34 ---> using "20596d105a5b636b8fcc331dcef31bc4cfcb22e9d21af5e866a62805321eebe9" from cache


/src: (copy (src mqtt.opam) (dst ./))
2026-02-20 10:58.34 ---> saved as "4b0777851f2c7df1ce145170f6edd26131a512045b497616225b1df21c19cacc"


/src: (run (network host)
(shell "opam pin add -yn mqtt.dev './'"))
[mqtt.dev] synchronised (file:///src)
mqtt is now pinned to file:///src (version dev)
2026-02-20 10:58.36 ---> saved as "72e4ae10b3d948524a53df208f23c8d8c482327aad65ed593ef915d691d37f70"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-20 10:58.36 ---> saved as "b844deb9fca83ba6b3db60111edf9bed3647545e6e338ed1483638434010ab36"


/src: (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.2.1 ipaddr.5.6.2 ipaddr-sexp.5.6.2 kdf.1.0.0 logs.0.10.0 lwt.6.1.0 lwt_ppx.6.1.0 macaddr.5.6.2 magic-mime.1.3.1 mirage-crypto.2.0.3 mirage-crypto-ec.2.0.3 mirage-crypto-pk.2.0.3 mirage-crypto-rng.2.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")


/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 mqtt.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.22/main: temporary error (try again later)
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-336-g51b5b1242c1 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.3-25-gac70517ead7 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20260127-1412-gc8afd7ed078 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-1424-gec3b5645144 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-1420-gbcdc6d66c21 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- 0 unavailable, 1 stale; 60969 distinct packages available
Fatal error: System package update failed with exit code 1 at command:
sudo apk update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.5 --depext-only -y mqtt.dev $DEPS" failed with exit status 99
2026-02-20 10:58.44: Job failed: Failed: Build failed