Organisationsdinosaurecaravan375c09 (master)alpine-3.23-5.5_opam-2.5

alpine-3.23-5.5_opam-2.5

Link Copied
Code Copied

Logs

2026-06-25 14:40.36: New job: test dinosaure/caravan https://github.com/dinosaure/caravan.git#refs/heads/master (375c092fb24ac877a4d3aeccf5042ef389e87b32) (linux-x86_64:alpine-3.23-5.5_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
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.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
# alpine-3.23-5.5_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 cd ~/opam-repository && (git cat-file -e 2569983dbf3e7bba6895aaa326c068232317845d || git fetch origin master) && git reset -q --hard 2569983dbf3e7bba6895aaa326c068232317845d && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.3.0 cmdliner.2.1.1 compiler-cloning.enabled csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 mmap.1.2.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-06-25 14:40.36: Using cache hint "dinosaure/caravan-ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0-alpine-3.23-5.5_opam-2.5-1f111a5dee7fb73e43449da781bf1b79"
2026-06-25 14:40.36: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0)
(comment alpine-3.23-5.5_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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2569983dbf3e7bba6895aaa326c068232317845d || git fetch origin master) && git reset -q --hard 2569983dbf3e7bba6895aaa326c068232317845d && git log --no-decorate -n1 --oneline"))
(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 "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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "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 bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.3.0 cmdliner.2.1.1 compiler-cloning.enabled csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 mmap.1.2.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.1")
(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 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"))
)


2026-06-25 14:40.36: Waiting for resource in pool OCluster
2026-06-25 15:20.30: Connecting to build cluster…
2026-06-25 16:14.47: Waiting for worker…
2026-06-25 16:17.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/caravan.git-9a809696812b71980feaf6cd6cbee0afaeef1e9a/.git/
HEAD is now at 375c092 Merge remote-tracking branch 'origin/master'


(from ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0' locally
docker.io/ocaml/opam@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0: Pulling from ocaml/opam
6a0ac1617861: Already exists
8c1277c353f1: Already exists
34be8855427d: Already exists
339af0713143: Already exists
b2462bc62474: Already exists
761bb48a5f01: Already exists
47dd93cae5c7: Already exists
7b0078d3a527: Already exists
02d30e50850c: Already exists
5692fc74511b: Already exists
20dab20d672b: Already exists
341a1b87a247: Already exists
bf503d897e7f: Already exists
1e5cd5bb92a7: Already exists
f8cac21f3a35: Already exists
34f16e2e39cd: Already exists
5acd66bbcbd1: Already exists
4f4fb700ef54: Already exists
27b319946611: Already exists
a3c8900c50fc: Already exists
93da24dd7c26: Already exists
410603bbc62a: Already exists
26dfda85a83b: Already exists
e93e35717857: Already exists
f785fe951a90: Already exists
618c95c6ceec: Already exists
0c6902838456: Already exists
48958aa9bdee: Already exists
484d0f508bbb: Already exists
88c5e5b0914c: Already exists
416e1f7f6ea5: Already exists
778217fb7082: Already exists
257461da1599: Already exists
259217d0d4f7: Already exists
35cc2d0dc418: Already exists
dd32fcc5e732: Already exists
94d528122fe2: Pulling fs layer
76b8e2d3d51e: Pulling fs layer
94d528122fe2: Waiting
02c359219769: Pulling fs layer
868c229f6be0: Pulling fs layer
76b8e2d3d51e: Waiting
02c359219769: Waiting
7ad6d016a3dc: Pulling fs layer
4b1e1484d125: Pulling fs layer
7ad6d016a3dc: Waiting
868c229f6be0: Waiting
4b1e1484d125: Waiting
76b8e2d3d51e: Download complete
94d528122fe2: Verifying Checksum
94d528122fe2: Download complete
94d528122fe2: Pull complete
76b8e2d3d51e: Pull complete
868c229f6be0: Verifying Checksum
868c229f6be0: Download complete
7ad6d016a3dc: Download complete
4b1e1484d125: Download complete
02c359219769: Verifying Checksum
02c359219769: Download complete
02c359219769: Pull complete
868c229f6be0: Pull complete
7ad6d016a3dc: Pull complete
4b1e1484d125: Pull complete
Digest: sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
Status: Downloaded newer image for ocaml/opam@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
2026-06-25 16:17.16 ---> using "0b35f8b26e4386fd12f40b83ae7659fc3ebbf123c3d51d923791dfd019e9285b" from cache


/: (comment alpine-3.23-5.5_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-06-25 16:17.17 ---> using "e06ed0bc18de005b13232449b2ae2e5bdea528d1ee355cf8b7034f84b7fcade9" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2569983dbf3e7bba6895aaa326c068232317845d || git fetch origin master) && git reset -q --hard 2569983dbf3e7bba6895aaa326c068232317845d && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b85f65c75d..ceed23f9d3  master     -> origin/master
2569983dbf Merge pull request #30085 from Octachron/OCaml_5.5.0_fix_relocatable_build
2026-06-25 16:17.19 ---> using "64a1af6d056b3595cee8296abf9e38556d10877708dc09350b3ee5883ebde615" 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


[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
Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-25 16:17.19 ---> using "62233b7abe7c0a252088a8e86a90807caca5e2b30cad881cfb31f4e39e323dae" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 5.5.0
2.5.1
2026-06-25 16:17.20 ---> using "af2627ee32adce5634a6182199b24565f3f015dd9082d3402cdb6e6c9dce02bf" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-25 16:17.20 ---> using "c99fa28e8c83acbcf30ea4736aa353ce62f892f77fc6ae2f3f4c37038ed08433" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


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


The following actions will be performed:
=== recompile 7 packages
- recompile base-domains        base           [uses ocaml]
- recompile base-effects        base           [uses ocaml]
- recompile base-nnp            base           [uses base-domains]
- recompile ocaml               5.5.0          [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.5.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler      5.5.0          [upstream or system changes]
- recompile opam-depext         1.2.3          [uses ocaml]
=== install 1 package
- install   compiler-cloning    enabled        [required by ocaml-compiler]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.5.0  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> installed compiler-cloning.enabled
-> retrieved ocaml-compiler.5.5.0  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.5.0
-> removed   ocaml-base-compiler.5.5.0
-> removed   ocaml-compiler.5.5.0
-> installed ocaml-compiler.5.5.0
-> installed ocaml-base-compiler.5.5.0
-> installed ocaml.5.5.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead


<><> ocaml-compiler.5.5.0 installed successfully ><><><><><><><><><><><><><><><>
=> This switch had to be compiled from sources, but future switches with the 🐌
same compiler version and configuration should assemble instantly.
# To update the current shell environment, run: eval $(opam env)
2026-06-25 16:17.20 ---> using "7b88fa69cf55685500857086f9bd4bb558eb342d57424cf982426837bb4bf48f" from cache


/src: (copy (src provision.opam caravan.opam) (dst ./))
2026-06-25 16:17.27 ---> saved as "8e7de523b7b5c818ff352cc703a3cd10cf4a99458fdb903b19a626e77fc1eaaa"


/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)
2026-06-25 16:17.36 ---> saved as "ead4741b8eb92ca21254f6200ec0e808adeeea51df3b42b11b321ede59556d50"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-25 16:17.38 ---> saved as "8e3c63533a253eb14ed9dcd28b21a2f8e55ee69658e95342c77cbc48a09d02e3"


/src: (env DEPS "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 bigarray-compat.1.1.0 bigstringaf.0.10.0 bos.0.3.0 cmdliner.2.1.1 compiler-cloning.enabled csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 mmap.1.2.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 rresult.0.7.0 topkg.1.1.1")


/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 provision.dev caravan.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- v3.23.5-5-gaed5e711c81 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.5-4-g6ca65efa01a [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v3.24.0-798-gb385ac4cb5d [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.24.0-810-g1e8a1e165e8 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.24.0-809-g6b7a31c59dc [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62477 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-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-06-25 16:17.56 ---> saved as "c788479157e400720e23419d2c576b8a7d0e6bb834288027b7cb10fdbfd60c9d"


/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-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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 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.3.0
- install cmdliner          2.1.1
- install csexp             1.5.2
- install dune              3.23.1
- install dune-configurator 3.23.1
- install fmt               0.11.0
- install fpath             0.7.3
- install logs              0.10.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.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.3.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed bos.0.3.0
-> installed dune.3.23.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed mmap.1.2.0
-> installed dune-configurator.3.23.1
-> installed bigstringaf.0.10.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-25 16:18.45 ---> saved as "86282a2782e375f0455995a6da0410c69a602f21c48921c38dbfe74ba25fbade"


/src: (copy (src .) (dst /src))
2026-06-25 16:19.18 ---> saved as "f732f88acb26e0b948df361bf087439fe54016a67cc1d6ca39d2504bec06a5cc"


/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/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/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 && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/5.5/lib/ocaml -I /home/opam/.opam/5.5/lib/bigstringaf -I /home/opam/.opam/5.5/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/5.5/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
366 | #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 -fPIC -pthread -D_FILE_OFFSET_BITS=64 -std=c99 -g -I /home/opam/.opam/5.5/lib/ocaml -I /home/opam/.opam/5.5/lib/bigstringaf -I /home/opam/.opam/5.5/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/5.5/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
366 | #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 -fPIC -pthread -D_FILE_OFFSET_BITS=64 -std=c99 -g -I /home/opam/.opam/5.5/lib/ocaml -I /home/opam/.opam/5.5/lib/bigstringaf -I /home/opam/.opam/5.5/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/5.5/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
366 | #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/5.5/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 -bin-annot-occurrences -I bin/.caravan.eobjs/byte -I /home/opam/.opam/5.5/lib/astring -I /home/opam/.opam/5.5/lib/bigarray-compat -I /home/opam/.opam/5.5/lib/bigstringaf -I /home/opam/.opam/5.5/lib/bos -I /home/opam/.opam/5.5/lib/cmdliner -I /home/opam/.opam/5.5/lib/fmt -I /home/opam/.opam/5.5/lib/fmt/cli -I /home/opam/.opam/5.5/lib/fmt/tty -I /home/opam/.opam/5.5/lib/fpath -I /home/opam/.opam/5.5/lib/logs -I /home/opam/.opam/5.5/lib/logs/cli -I /home/opam/.opam/5.5/lib/logs/fmt -I /home/opam/.opam/5.5/lib/mmap -I /home/opam/.opam/5.5/lib/ocaml/unix -I /home/opam/.opam/5.5/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: The value max 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
2026-06-25 16:19.30: Job failed: Failed: Build failed