2025-08-24 12:36.22: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/main (9236656298b4044a636e1baf6b11d021a2ece634) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.4)
Base: freebsd-14.2-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-hvsock.git" -b "main" && cd "ocaml-hvsock" && git reset --hard 92366562
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 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-08-24 12:36.22: Using cache hint "mirage/ocaml-hvsock-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-f656eac710ddef283d88d0fb934ea07b"
2025-08-24 12:36.22: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 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-08-24 12:36.22: Waiting for resource in pool OCluster
2025-08-24 12:36.22: Waiting for worker…
2025-08-24 12:36.22: Got resource from pool OCluster
Building on rosemary
Updating files: 100% (51/51), done.
HEAD is now at aa970b9 Merge pull request #70 from hannesm/rm-mirage-time
HEAD is now at 9236656 change for 3.1.0
(from freebsd-14.2-ocaml-4.14)
2025-08-24 12:37.30 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache
/: (comment freebsd-14.2-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-08-24 12:37.31 ---> using "ab3b72ff1bef5200ab51bf41b5ce466d603a607c082bc77b8cb9a89bd0ee8e2b" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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] no changes from git+file:///home/opam/opam-repository
2025-08-24 12:37.31 ---> using "4f5272944a297469599fadae70be6af0a741315c350ad35dc552c1741ce274b4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.4.1
2025-08-24 12:37.32 ---> using "07a4e313abba0673771074c9860cdd9543e4761d68d2fb7c6d7221bc739a7e75" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-24 12:37.32 ---> using "3a9f22eefbfbdecb5fa973f708084041cdbe652271a081208757b5e926d582b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f1d3c77350..ee24528071 master -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised 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.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-08-24 12:37.32 ---> using "bda57289868fbcd1e338d9e84c681ce36dfce019962d653e32487e0832f26358" from cache
/src: (copy (src hvsock.opam) (dst ./))
2025-08-24 12:37.33 ---> using "0da864c06d729369fa0568751cff0d0d2d372b4da76b2ecf9693cde8c9db15dc" from cache
/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-08-24 12:37.33 ---> using "b3e9cbec3532cdf02040a78b78bc9813cfaa503d7efe8e2988ed647dfac81dbf" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-24 12:37.33 ---> using "eeb685b46abad2b87237d54f8e3ec1322a843cbbc1f3a41c50584a9bca169e51" from cache
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 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"))
[WARNING] Unknown update command for bsd, skipping system update
<><> 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-08-24 12:37.34 ---> using "7d05676fad497d98a438a17cce805dd3840fd4e2bc85fc0deb52e7160ad20699" 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 30 packages
∗ alcotest 1.9.0
∗ angstrom 0.16.1
∗ astring 0.8.5
∗ base-bytes base
∗ base64 3.5.1
∗ bigstringaf 0.10.0
∗ cmdliner 1.3.0
∗ cppo 1.8.0
∗ csexp 1.5.2
∗ cstruct 6.2.0
∗ dune 3.20.0
∗ dune-configurator 3.20.0
∗ duration 0.2.1
∗ fmt 0.11.0
∗ logs 0.9.0
∗ lwt 5.9.1
∗ mirage-flow 5.0.0
∗ ocaml-syntax-shims 1.0.0
∗ ocamlbuild 0.16.1
∗ ocamlfind 1.9.8
∗ ocplib-endian 1.2
∗ re 1.13.2
∗ seq base
∗ sha 1.15.4
∗ stdlib-shims 0.3.0
∗ stringext 1.6.0
∗ topkg 1.1.0
∗ uri 4.4.0
∗ uuidm 0.9.10
∗ uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved angstrom.0.16.1 (cached)
⬇ retrieved base64.3.5.1 (cached)
⬇ retrieved alcotest.1.9.0 (cached)
⬇ retrieved bigstringaf.0.10.0 (https://github.com/inhabitedtype/bigstringaf/archive/0.10.0.tar.gz)
⬇ retrieved csexp.1.5.2 (https://github.com/ocaml-dune/csexp/releases/download/1.5.2/csexp-1.5.2.tbz)
⬇ retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
⬇ retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
⬇ retrieved cstruct.6.2.0 (https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
⬇ retrieved duration.0.2.1 (https://github.com/hannesm/duration/releases/download/v0.2.1/duration-0.2.1.tbz)
⬇ retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
⬇ retrieved logs.0.9.0 (https://erratique.ch/software/logs/releases/logs-0.9.0.tbz)
⬇ retrieved mirage-flow.5.0.0 (https://github.com/mirage/mirage-flow/releases/download/v5.0.0/mirage-flow-5.0.0.tbz)
⬇ retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
2025-08-24 12:39.01: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled