Organisationsmirageocaml-hvsock6f7854 (main)alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-17 13:51.46: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/main (6f7854ab245645727a7fd06844b9a4745e02e0fe) (linux-x86_64:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-hvsock.git" -b "main" && cd "ocaml-hvsock" && git reset --hard 6f7854ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66
# alpine-3.22-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 hvsock.opam ./
RUN opam pin add -yn hvsock.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 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 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 logs.0.10.0 lwt.5.9.2 mirage-flow.5.0.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y hvsock.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


2025-12-17 13:51.46: Using cache hint "mirage/ocaml-hvsock-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66-alpine-3.22-5.4_opam-2.4-98cab822976f6e14c2ec0b0a0caf51fc"
2025-12-17 13:51.46: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66)
(comment alpine-3.22-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src hvsock.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn hvsock.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 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 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 logs.0.10.0 lwt.5.9.2 mirage-flow.5.0.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4")
(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.4 --depext-only -y hvsock.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"))
)


2025-12-17 13:51.46: Waiting for resource in pool OCluster
2025-12-17 17:32.50: Waiting for worker…
2025-12-17 17:37.58: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 6f7854a add maintenance intent, fix link


(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66)
2025-12-17 17:37.59 ---> using "d0327f940a3c6a061e0c402e9328a78119d7dfd715a32de8de339388ce4c3eef" from cache


/: (comment alpine-3.22-5.4_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-17 17:37.59 ---> using "5dee9b950486dfb3089cc431b3d79d731cac566432611d92e2af71d796efa3f6" 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
2025-12-17 17:37.59 ---> using "2201c82fbbea424d8922cfff96a8636118d76b7d777b2668dd0c8a0002190b0e" 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.4.1
2025-12-17 17:37.59 ---> using "0a4c323c7414f4e6678e49268fcc6862031004115b008dfc46899f1c4fb8b11a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-17 17:37.59 ---> using "157d49f864f4b916c270d9ecb2d620b36de25c8cc3e7177a0dc6f45bc76f3840" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..c199949faa  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-17 17:37.59 ---> using "4d7cb0a6422c357918900d555b6f16ab8249d0099a9d58bc7c8055393cbc21a8" from cache


/src: (copy (src hvsock.opam) (dst ./))
2025-12-17 17:37.59 ---> saved as "d9e6047a53a85b57a5ff17b2d07bf5ef74bd80e387a27202ecc104795d48aaf0"


/src: (run (network host)
(shell "opam pin add -yn hvsock.dev './'"))
[hvsock.dev] synchronised (file:///src)
hvsock is now pinned to file:///src (version dev)
2025-12-17 17:38.01 ---> saved as "a3f882f5865d1a88a58cdb07c8c18437124cf407be25b18a30dd1ca0c132938a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-17 17:38.02 ---> saved as "cfc4f5ce97f2c64d6ee21b7da12e868e62b43a0f3ff16d3f779da721eb8c06bf"


/src: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 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 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 fmt.0.11.0 logs.0.10.0 lwt.5.9.2 mirage-flow.5.0.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4")


/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.4 --depext-only -y hvsock.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- 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-308-gfeaeb3000e3 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-307-g4886c13aeed [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0-1125-g8f98e20b3b5 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0-1130-g2c1ab938b27 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0-1124-g7ee8a5be022 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60372 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hvsock.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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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:
linux-headers


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


+ /usr/bin/sudo "apk" "add" "linux-headers"
- (1/1) Installing linux-headers (6.14.2-r0)
- OK: 313 MiB in 104 packages
2025-12-17 17:38.13 ---> saved as "4a2ebd2686cfaf086a39a3fadf3cd5676baedcda98e331f3fab0bb810f374e72"


/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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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 29 packages
- install alcotest           1.9.1
- install angstrom           0.16.1
- install astring            0.8.5
- install base-bytes         base
- install base64             3.5.2
- install bigstringaf        0.10.0
- install cmdliner           2.1.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install dune               3.20.2
- install dune-configurator  3.20.2
- install duration           0.2.1
- install fmt                0.11.0
- install logs               0.10.0
- install lwt                5.9.2
- install mirage-flow        5.0.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install re                 1.14.0
- install sha                1.15.4
- install stdlib-shims       0.3.0
- install stringext          1.6.0
- install topkg              1.1.1
- install uri                4.4.0
- install uuidm              0.9.10
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uuidm.0.9.10  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed uuidm.0.9.10
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed sha.1.15.4
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed lwt.5.9.2
-> installed uri.4.4.0
-> installed mirage-flow.5.0.0
-> installed logs.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-17 17:38.50 ---> saved as "493a32109a033b9010cd01737caf5875be0cd807677a741e2d4b87c0fc979cc6"


/src: (copy (src .) (dst /src))
2025-12-17 17:38.50 ---> saved as "948be3b15512b98ac66f10ead049081e6d70e724cb17f6a3de226dee84244d7a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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-41-44 -warn-error +1..49 -safe-string -principal -strict-sequence -g -bin-annot -bin-annot-occurrences -I lib/.hvsock.objs/byte -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/stringext -I /home/opam/.opam/5.4/lib/uri -I /home/opam/.opam/5.4/lib/uuidm -I /home/opam/.opam/5.4/lib/uutf -no-alias-deps -opaque -open Hvsock -o lib/.hvsock.objs/byte/hvsock__Af_common.cmo -c -impl lib/af_common.ml)
File "lib/af_common.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
2025-12-17 17:38.51 ---> saved as "109e7add9eee6c412b107d64f3352670a188ac6268107481d98fcaee728bad36"
Job succeeded
2025-12-17 17:38.52: Job succeeded