Organisationsdinosaurecaravan375c09 (master)alpine-3.22-4.14_opam-2.4

alpine-3.22-4.14_opam-2.4

Logs

Show full logs
2025-10-15 18:31.52: New job: test dinosaure/caravan https://github.com/dinosaure/caravan.git#refs/heads/master (375c092fb24ac877a4d3aeccf5042ef389e87b32) (linux-x86_64:alpine-3.22-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/dinosaure/caravan.git" -b "master" && cd "caravan" && git reset --hard 375c092f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
# alpine-3.22-4.14_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 provision.opam caravan.opam ./
RUN opam pin add -yn provision.dev './' && \
    opam pin add -yn caravan.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 mmap.1.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y provision.dev caravan.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-10-15 18:31.52: Using cache hint "dinosaure/caravan-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e-alpine-3.22-4.14_opam-2.4-c536dd8e84f2dddc01373c4d790cdf6a"
2025-10-15 18:31.52: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
 (comment alpine-3.22-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/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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src provision.opam caravan.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn provision.dev './' && \
             \nopam pin add -yn caravan.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 mmap.1.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.0")
 (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 provision.dev caravan.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-10-15 18:31.52: Waiting for resource in pool OCluster
2025-10-15 18:34.00: Waiting for worker…
2025-10-15 18:36.27: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 375c092 Merge remote-tracking branch 'origin/master'

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e' locally
docker.io/ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e: Pulling from ocaml/opam
2d35ebdb57d9: Pulling fs layer
4eef589852a3: Pulling fs layer
9bcbf19aa70e: Pulling fs layer
c27157cc8c0d: Pulling fs layer
8eb40fc9ec7b: Pulling fs layer
cf28fbda269d: Pulling fs layer
bdb05ad1bb03: Pulling fs layer
14b089059d7b: Pulling fs layer
8fba92877dbb: Pulling fs layer
b46b8c2b2e76: Pulling fs layer
c5fe84151a2d: Pulling fs layer
d69ebb2cea14: Pulling fs layer
8987930d7936: Pulling fs layer
07e0ebe0bb32: Pulling fs layer
a8a8cd8bbc43: Pulling fs layer
cf28fbda269d: Waiting
0eee052a54e0: Pulling fs layer
bdb05ad1bb03: Waiting
9d0f02e69e08: Pulling fs layer
4f4fb700ef54: Pulling fs layer
a90897db75ef: Pulling fs layer
14b089059d7b: Waiting
678b7f997d9a: Pulling fs layer
55a17ca9d235: Pulling fs layer
c27157cc8c0d: Waiting
b0fc237f6c26: Pulling fs layer
8eb40fc9ec7b: Waiting
4a9f9668ab4a: Pulling fs layer
07e0ebe0bb32: Waiting
0eee052a54e0: Waiting
f4048786242d: Pulling fs layer
a8a8cd8bbc43: Waiting
322480b4b1d3: Pulling fs layer
8fba92877dbb: Waiting
d69ebb2cea14: Waiting
55a17ca9d235: Waiting
eda2d7da1b04: Pulling fs layer
8987930d7936: Waiting
b0fc237f6c26: Waiting
4a9f9668ab4a: Waiting
b46b8c2b2e76: Waiting
83325a5b2b26: Pulling fs layer
09b67e1d956f: Pulling fs layer
2adafa4b73e4: Pulling fs layer
8e04b3ec100b: Pulling fs layer
eda2d7da1b04: Waiting
7eac41d73ac6: Pulling fs layer
477769be07d7: Pulling fs layer
1121e0452bac: Pulling fs layer
2adafa4b73e4: Waiting
09b67e1d956f: Waiting
a7433c286e2f: Pulling fs layer
8e04b3ec100b: Waiting
d11ef3af080f: Pulling fs layer
595e38b8edfd: Pulling fs layer
3b6068bfc654: Pulling fs layer
d11ef3af080f: Waiting
595e38b8edfd: Waiting
e91a772be517: Pulling fs layer
7ab96ec90fc2: Pulling fs layer
9da6f0039b9b: Pulling fs layer
9da6f0039b9b: Waiting
477769be07d7: Waiting
7ab96ec90fc2: Waiting
9d0f02e69e08: Waiting
1121e0452bac: Waiting
a7433c286e2f: Waiting
4eef589852a3: Download complete
9bcbf19aa70e: Verifying Checksum
9bcbf19aa70e: Download complete
2d35ebdb57d9: Download complete
8eb40fc9ec7b: Verifying Checksum
8eb40fc9ec7b: Download complete
2d35ebdb57d9: Pull complete
4eef589852a3: Pull complete
9bcbf19aa70e: Pull complete
cf28fbda269d: Verifying Checksum
cf28fbda269d: Download complete
bdb05ad1bb03: Verifying Checksum
bdb05ad1bb03: Download complete
14b089059d7b: Verifying Checksum
14b089059d7b: Download complete
b46b8c2b2e76: Verifying Checksum
b46b8c2b2e76: Download complete
8fba92877dbb: Verifying Checksum
8fba92877dbb: Download complete
d69ebb2cea14: Verifying Checksum
d69ebb2cea14: Download complete
c5fe84151a2d: Verifying Checksum
c5fe84151a2d: Download complete
8987930d7936: Verifying Checksum
8987930d7936: Download complete
07e0ebe0bb32: Verifying Checksum
07e0ebe0bb32: Download complete
a8a8cd8bbc43: Download complete
0eee052a54e0: Verifying Checksum
0eee052a54e0: Download complete
9d0f02e69e08: Verifying Checksum
9d0f02e69e08: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
c27157cc8c0d: Verifying Checksum
c27157cc8c0d: Download complete
a90897db75ef: Download complete
678b7f997d9a: Verifying Checksum
678b7f997d9a: Download complete
55a17ca9d235: Download complete
b0fc237f6c26: Download complete
4a9f9668ab4a: Verifying Checksum
4a9f9668ab4a: Download complete
f4048786242d: Verifying Checksum
f4048786242d: Download complete
322480b4b1d3: Verifying Checksum
322480b4b1d3: Download complete
eda2d7da1b04: Download complete
83325a5b2b26: Verifying Checksum
83325a5b2b26: Download complete
09b67e1d956f: Verifying Checksum
09b67e1d956f: Download complete
2adafa4b73e4: Verifying Checksum
2adafa4b73e4: Download complete
8e04b3ec100b: Verifying Checksum
8e04b3ec100b: Download complete
477769be07d7: Download complete
a7433c286e2f: Download complete
d11ef3af080f: Verifying Checksum
d11ef3af080f: Download complete
595e38b8edfd: Download complete
c27157cc8c0d: Pull complete
8eb40fc9ec7b: Pull complete
cf28fbda269d: Pull complete
bdb05ad1bb03: Pull complete
14b089059d7b: Pull complete
8fba92877dbb: Pull complete
b46b8c2b2e76: Pull complete
c5fe84151a2d: Pull complete
d69ebb2cea14: Pull complete
8987930d7936: Pull complete
07e0ebe0bb32: Pull complete
a8a8cd8bbc43: Pull complete
0eee052a54e0: Pull complete
9d0f02e69e08: Pull complete
4f4fb700ef54: Pull complete
a90897db75ef: Pull complete
678b7f997d9a: Pull complete
55a17ca9d235: Pull complete
b0fc237f6c26: Pull complete
4a9f9668ab4a: Pull complete
f4048786242d: Pull complete
322480b4b1d3: Pull complete
eda2d7da1b04: Pull complete
83325a5b2b26: Pull complete
09b67e1d956f: Pull complete
2adafa4b73e4: Pull complete
8e04b3ec100b: Pull complete
3b6068bfc654: Verifying Checksum
3b6068bfc654: Download complete
e91a772be517: Verifying Checksum
e91a772be517: Download complete
7eac41d73ac6: Verifying Checksum
7eac41d73ac6: Download complete
7ab96ec90fc2: Download complete
9da6f0039b9b: Verifying Checksum
9da6f0039b9b: Download complete
7eac41d73ac6: Pull complete
477769be07d7: Pull complete
1121e0452bac: Verifying Checksum
1121e0452bac: Download complete
1121e0452bac: Pull complete
a7433c286e2f: Pull complete
d11ef3af080f: Pull complete
595e38b8edfd: Pull complete
3b6068bfc654: Pull complete
e91a772be517: Pull complete
7ab96ec90fc2: Pull complete
9da6f0039b9b: Pull complete
Digest: sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Status: Downloaded newer image for ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
2025-10-15 18:36.28 ---> using "764276640f5b3f4ce6b610321003cb55f6545c42846dc0b360f6be7a346afe65" from cache

/: (comment alpine-3.22-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/bin/opam-2.4 /usr/bin/opam"))
2025-10-15 18:36.28 ---> using "8d3a3f91c34bcb4a3c2c41af677916db1b1aeb69f4124523420d860741206e81" 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-10-15 18:36.28 ---> using "80cc2d73a3cce579a5d41018a065c4344586f5bbd715aef5b9c0e18667e50085" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-15 18:36.28 ---> using "6bcb34e5b8215558e18e4bcc0f747b6abee4482cbfcaa14a458779d5d7d78fd1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-15 18:36.28 ---> using "81df4a8c79746f89d234d628dd1ccfdec8212bedc95c89d950498203e2c8b140" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
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.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 18:36.28 ---> using "b46e1a6df96a56abf337f477756a970ac8e78c980d5fc472393e2c036cc8f8bc" from cache

/src: (copy (src provision.opam caravan.opam) (dst ./))
2025-10-15 18:36.28 ---> saved as "d597e21bf416ce4678e0cefaec3c83862d8dcde30f9976c32f4d1c8b6420e8de"

/src: (run (network host)
           (shell  "opam pin add -yn provision.dev './' && \
                  \nopam pin add -yn caravan.dev './'"))
[NOTE] Package provision does not exist in opam repositories registered in the current switch.
[provision.dev] synchronised (file:///src)
provision is now pinned to file:///src (version dev)
[NOTE] Package caravan does not exist in opam repositories registered in the current switch.
[caravan.dev] synchronised (file:///src)
caravan is now pinned to file:///src (version dev)
2025-10-15 18:36.36 ---> saved as "5341a49da8d7891911ae5e3378dbe90f0a530bb0f71a500065b7706bda1fa15a"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 18:36.37 ---> saved as "9d1e8791d2eec7537d6b521e165d1dba367d6566d8f350cb9cbc264bc91d5611"

/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 mmap.1.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.0")

/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 provision.dev caravan.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-33-g117b503544a [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-38-g69132b0c9b4 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-8269-gfe44dcd9829 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-8294-g0b869b460ac [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-8295-g1cafec2f0fe [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59568 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[caravan.dev] synchronised (file:///src)
[provision.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-10-15 18:36.58 ---> saved as "15de09a5db6239792f45c494c4a7bef1e43b66e6b9aae3bcbfd911c08b65adfa"

/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 17 packages
  - install astring           0.8.5
  - install base-bytes        base
  - install bigarray-compat   1.1.0
  - install bigstringaf       0.10.0
  - install bos               0.2.1
  - install cmdliner          2.0.0
  - install csexp             1.5.2
  - install dune              3.20.2
  - install dune-configurator 3.20.2
  - install fmt               0.11.0
  - install fpath             0.7.3
  - install logs              0.9.0
  - install mmap              1.2.0
  - install ocamlbuild        0.16.1
  - install ocamlfind         1.9.8
  - install rresult           0.7.0
  - install topkg             1.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.9.0
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed mmap.1.2.0
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 18:37.48 ---> saved as "5a6e6011cce948724b7307ef52c49a8939a47ce05a331e918f243dd48a097130"

/src: (copy (src .) (dst /src))
2025-10-15 18:37.48 ---> saved as "c8b5d08c92f73be10417ad7ccf7bbf86fba1b84148e2e8ad8700b8e47dc6304b"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "example/dune", line 4, characters 12-22:
4 |  (libraries hxd.string fmt provision))
                ^^^^^^^^^^
Error: Library "hxd.string" not found.
-> required by _build/default/example/ex01.exe
-> required by %{exe:../example/ex01.exe} at test/dune:4
-> required by _build/default/test/ex01.c.exe
-> required by %{exe:ex01.c.exe} at test/dune:6
-> required by _build/default/test/result.output
-> required by alias test/runtest in test/dune:8
File "mirage/dune", line 14, characters 15-21:
14 |           (run mirage configure -t hvt)
                    ^^^^^^
Error: Program mirage not found in the tree or in PATH
 (context: default)
File "mirage/dune", line 6, characters 15-21:
6 |           (run mirage configure -t unix)
                   ^^^^^^
Error: Program mirage not found in the tree or in PATH
 (context: default)
(cd _build/default/lib/freestanding && ./cflags.sh) > _build/default/lib/freestanding/cflags.sexp
[WARNING] var was deprecated in version 2.1 of the opam CLI. Use opam var instead or set OPAMCLI environment variable to 2.0.
Package ocaml-freestanding was not found in the pkg-config search path.
Perhaps you should add the directory containing `ocaml-freestanding.pc'
to the PKG_CONFIG_PATH environment variable
Package 'ocaml-freestanding' not found
(cd _build/default/lib/xen && ./cflags.sh) > _build/default/lib/xen/cflags.sexp
[WARNING] var was deprecated in version 2.1 of the opam CLI. Use opam var instead or set OPAMCLI environment variable to 2.0.
Package mirage-xen-posix was not found in the pkg-config search path.
Perhaps you should add the directory containing `mirage-xen-posix.pc'
to the PKG_CONFIG_PATH environment variable
Package 'mirage-xen-posix' not found
(cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/fmt -o load.o -c load.c)
In file included from load.c:1:
load.c: In function 'caml_load_vaddr_into_bytes':
/home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ^
load.c:9:19: note: in expansion of macro 'String_val'
    9 |   uint8_t * buf = String_val (v_buf) + Long_val (v_off) ;
      |                   ^~~~~~~~~~
(cd _build/default/lib/xen && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -std=c99 -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/fmt -o load.o -c load.c)
In file included from lib/load.c:1:
lib/load.c: In function 'caml_load_vaddr_into_bytes':
/home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ^
lib/load.c:9:19: note: in expansion of macro 'String_val'
(cd _build/default/lib/freestanding && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -std=c99 -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/fmt -o load.o -c load.c)
In file included from lib/load.c:1:
lib/load.c: In function 'caml_load_vaddr_into_bytes':
/home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ^
lib/load.c:9:19: note: in expansion of macro 'String_val'
(cd _build/default && /home/opam/.opam/4.14/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 -g -bin-annot -I bin/.caravan.eobjs/byte -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bos -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fmt/cli -I /home/opam/.opam/4.14/lib/fmt/tty -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/logs/cli -I /home/opam/.opam/4.14/lib/logs/fmt -I /home/opam/.opam/4.14/lib/mmap -I /home/opam/.opam/4.14/lib/rresult -no-alias-deps -opaque -o bin/.caravan.eobjs/byte/caravan.cmo -c -impl bin/caravan.ml)
File "bin/caravan.ml", line 965, characters 32-40:
965 |          else Bduff.copy ~name:(Fmt.strf "Segment %2d" i) ~src_off:off ~dst_off:off ~len:(Int64.of_int len) `Binary)
                                      ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 991, characters 30-38:
991 |           Bduff.insert ~name:(Fmt.strf "Section %2d" n) ~off ~len { off= 0L; len; raw= shdr_to_bigstring ~ehdr shdr }
                                    ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 992, characters 31-39:
992 |         else Bduff.copy ~name:(Fmt.strf "Section %2d" n) ~src_off ~dst_off:off ~len:(Int64.of_int len) `Binary)
                                     ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 1126, characters 32-40:
1126 |          else Bduff.copy ~name:(Fmt.strf "Segment %2d" i) ~src_off:off ~dst_off:off ~len:(Int64.of_int len) `Binary)
                                       ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 1158, characters 45-53:
1158 |           let old_hunk = Bduff.insert ~name:(Fmt.strf "Section %2d" on) ~off:Int64.(add off (of_int len)) ~len
                                                    ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 1166, characters 41-49:
1166 |           let hunk = Bduff.insert ~name:(Fmt.strf "Section %2d" on) ~off ~len { off= 0L; len; raw= shdr_to_bigstring ~ehdr shdr } in
                                                ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 1169, characters 39-47:
1169 |           let hunk = Bduff.copy ~name:(Fmt.strf "Section %2d" on) ~src_off ~dst_off:off ~len:(Int64.of_int len) `Binary in
                                              ^^^^^^^^
Error (alert deprecated): Fmt.strf
use Fmt.str instead.
File "bin/caravan.ml", line 1200, characters 28-31:
1200 |       let lenl = min Int64.(max - pos) maxl in
                                   ^^^
Error: This expression has type int64 -> int64 -> int64
       but an expression was expected of type int64
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-10-15 18:37.49: Job failed: Failed: Build failed