Organisationsmirageke226785 (main)freebsd-14.2-4.14_opam-2.4

freebsd-14.2-4.14_opam-2.4

Logs

Show full logs
2025-09-10 00:49.41: New job: test mirage/ke https://github.com/mirage/ke.git#refs/heads/main (2267852fc634134c7de8a274c1b60b9f1a603629) (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/ke.git" -b "main" && cd "ke" && git reset --hard 2267852f
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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ke.opam ./
RUN opam pin add -yn ke.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hex.1.5.0 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 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 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ke.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-09-10 00:49.41: Using cache hint "mirage/ke-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-11b574997b0975c1ab58595c765d6b9d"
2025-09-10 00:49.41: 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ke.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ke.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hex.1.5.0 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 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 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 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 ke.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-09-10 00:49.41: Waiting for resource in pool OCluster
2025-09-10 12:52.52: Waiting for worker…
2025-09-10 13:39.17: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 2267852 Merge pull request #20 from edwintorok/master

(from freebsd-14.2-ocaml-4.14)
2025-09-10 13:38.08 ---> 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-09-10 13:38.08 ---> 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-09-10 13:38.09 ---> 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-09-10 13:38.09 ---> using "07a4e313abba0673771074c9860cdd9543e4761d68d2fb7c6d7221bc739a7e75" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-10 13:38.09 ---> 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2

<><> 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-09-10 13:38.09 ---> using "f375a32f8a606486050a6512e695133072c22ad57d7355c90c4c9672d74aa735" from cache

/src: (copy (src ke.opam) (dst ./))
2025-09-10 13:38.10 ---> saved as "6d19a00c2581446c6c0157df45cd7a7613de84a10d492e050657f1de5636d2b7"

/src: (run (network host)
           (shell "opam pin add -yn ke.dev './'"))
[ke.dev] synchronised (file:///src)
ke is now pinned to file:///src (version dev)
2025-09-10 13:38.11 ---> saved as "44d0fce125f4a260bab34d4630b78872e1c84be9d6b49dfe916e0c7e31b33a7d"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 13:38.11 ---> saved as "102b268b5da9e531584d3a054de185daa23ea61ca46e5604bb40db0af8210666"

/src: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hex.1.5.0 json-data-encoding.1.0.1 jsonm.1.0.2 lwt.5.9.2 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 psq.0.2.1 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 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 ke.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ke.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-09-10 13:38.18 ---> saved as "70d9ec231efd98cb4ec603df20a939ae314c438fc82708da9b6ac7f2bdffce9a"

/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 34 packages
   afl-persistent     1.4
   alcotest           1.9.0
   angstrom           0.16.1
   astring            0.8.5
   base-bytes         base
   bechamel           0.5.0
   bechamel-js        0.5.0
   bigstringaf        0.10.0
   cmdliner           1.3.0
   cppo               1.8.0
   crowbar            0.2.1
   csexp              1.5.2
   cstruct            6.2.0
   dune               3.20.2
   dune-configurator  3.20.2
   fmt                0.11.0
   hex                1.5.0
   json-data-encoding 1.0.1
   jsonm              1.0.2
   lwt                5.9.2
   ocaml-syntax-shims 1.0.0
   ocamlbuild         0.16.1
   ocamlfind          1.9.8
   ocplib-endian      1.2
   psq                0.2.1
   re                 1.13.2
   result             1.5
   rresult            0.7.0
   seq                base
   stdlib-shims       0.3.0
   stringext          1.6.0
   topkg              1.1.0
   uri                4.4.0
   uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved angstrom.0.16.1  (cached)
 retrieved alcotest.1.9.0  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved bigstringaf.0.10.0  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved afl-persistent.1.4  (https://github.com/stedolan/ocaml-afl-persistent/archive/refs/tags/v1.4.tar.gz)
 retrieved cppo.1.8.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved bechamel.0.5.0, bechamel-js.0.5.0  (https://github.com/mirage/bechamel/releases/download/v0.5.0/bechamel-0.5.0.tbz)
 retrieved cstruct.6.2.0  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved hex.1.5.0  (cached)
 retrieved crowbar.0.2.1  (https://github.com/stedolan/crowbar/archive/v0.2.1.tar.gz)
 retrieved jsonm.1.0.2  (cached)
 retrieved json-data-encoding.1.0.1  (https://gitlab.com/nomadic-labs/data-encoding/-/archive/v1.0.1/data-encoding-v1.0.1.tar.gz)
 retrieved lwt.5.9.2  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved re.1.13.2  (cached)
 retrieved psq.0.2.1  (cached)
 retrieved result.1.5  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved rresult.0.7.0  (cached)
 retrieved stringext.1.6.0  (cached)
 retrieved topkg.1.1.0  (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 ocamlbuild.0.16.1
 installed cmdliner.1.3.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.1.0
 installed rresult.0.7.0
 installed uutf.1.0.4
 installed fmt.0.11.0
 installed astring.0.8.5
 installed jsonm.1.0.2
 installed dune.3.20.2
 installed afl-persistent.1.4
 installed result.1.5
 installed stringext.1.6.0
 installed stdlib-shims.0.3.0
 installed csexp.1.5.2
 installed re.1.13.2
 installed psq.0.2.1
 installed ocaml-syntax-shims.1.0.0
 installed cstruct.6.2.0
 installed cppo.1.8.0
 installed bechamel.0.5.0
 installed hex.1.5.0
 installed ocplib-endian.1.2
 installed crowbar.0.2.1
 installed alcotest.1.9.0
 installed dune-configurator.3.20.2
 installed bigstringaf.0.10.0
 installed angstrom.0.16.1
 installed uri.4.4.0
 installed lwt.5.9.2
 installed json-data-encoding.1.0.1
 installed bechamel-js.0.5.0
Done.

<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, create an OCaml switch like:

     opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
2025-09-10 13:39.07 ---> saved as "92a9fd49002877f63a7e5a5e47334bb73ae2e8973edf77e6efa7f27a72d72ebb"

/src: (copy (src .) (dst /src))
2025-09-10 13:39.08 ---> saved as "209485d59fbfb59784d7668efaa15b43cc52e21288edc5c8b69043fd73423732"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe --color=always)
Testing `ke'.
This run has ID `P095V31Y'.

  [OK]          rke                   0   test-0.
  [OK]          rke                   1   test-1.
  [OK]          rke                   2   test-2.
  [OK]          rke                   3   test-3.
  [OK]          rke                   4   test-4.
  [OK]          rke                   5   test-5.
  [OK]          rke                   6   test-6.
  [OK]          rke                   7   test-7.
  [OK]          rke                   8   test-8.
  [OK]          rke:weighted          0   test-0.
  [OK]          rke:weighted          1   test-1.
  [OK]          rke:weighted          2   test-2.
  [OK]          rke:weighted          3   test-3.
  [OK]          rke:weighted          4   test-4.
  [OK]          rke:weighted          5   test-5.
  [OK]          rke:weighted          6   test-6.
  [OK]          rke:weighted          7   test-7.
  [OK]          rke:weighted          8   test-8.
  [OK]          rke:weighted          9   peek/keep.
  [OK]          rke:weighted         10   shift.
  [OK]          rke:weighted         11   push.

Full test results in `/src/_build/default/test/_build/_tests/ke'.
Test Successful in 0.003s. 21 tests run.
(cd _build/default/fuzz && ./fuzz.exe)
queue: PASS

2025-09-10 13:39.09 ---> saved as "80a030187998ab8470f9ca0bff9a8e06a0a75e5d000dc3011898c044a838fb0f"
Job succeeded
2025-09-10 13:40.19: Job succeeded