Organisationsdinosaurecaravan375c09 (master)fedora-42-5.5_opam-2.5

fedora-42-5.5_opam-2.5

Logs

Show full 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:fedora-42-5.5_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f
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:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f
# fedora-42-5.5_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f-fedora-42-5.5_opam-2.5-1f111a5dee7fb73e43449da781bf1b79"
2026-06-25 14:40.36: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f)
 (comment fedora-42-5.5_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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.50: Waiting for worker…
2026-06-25 16:17.12: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 375c092 Merge remote-tracking branch 'origin/master'

(from ocaml/opam:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.5@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f' locally
docker.io/ocaml/opam@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f: Pulling from ocaml/opam
accf5bbc0c67: Already exists
416e4a8866bb: Already exists
09b2fb3c52f4: Already exists
7d4fe74f60d8: Already exists
bbcb95d43ae8: Already exists
98c9e9bc3c3f: Already exists
59aec800fed7: Already exists
34843ed0e584: Already exists
424f865e9d0e: Already exists
5594cf317ecb: Already exists
7d9cba6e4af6: Already exists
f8e47f2173a6: Already exists
cde03adba68d: Already exists
d670f2c79209: Already exists
2c9204fad5a4: Already exists
2c9204fad5a4: Already exists
e6729152ebda: Already exists
38838b679ce8: Already exists
e81ed02324ae: Already exists
416e5bed9209: Already exists
4f4fb700ef54: Already exists
d97d403a554d: Already exists
120f1228e350: Already exists
5818b24e8ca2: Already exists
bf4e4b4c0901: Already exists
b31f5381f4f1: Already exists
4445c4223195: Already exists
a1a8982696e1: Already exists
7ab4ccef3cde: Already exists
8a8a38b5d8d7: Already exists
19f2332bf3a3: Already exists
a1f0867da660: Already exists
a604f4114989: Already exists
6fa30da69599: Already exists
edd10e318c1a: Already exists
a2e4cf71ba4d: Already exists
9bbc7103c603: Already exists
ef5a3d458142: Already exists
3810c8e7380c: Already exists
8935ec72daad: Pulling fs layer
d1e9fb442ec5: Pulling fs layer
66e6e6db4ec4: Pulling fs layer
73b3a7b3e712: Pulling fs layer
755e9d83d188: Pulling fs layer
8935ec72daad: Waiting
d1e9fb442ec5: Waiting
73b3a7b3e712: Waiting
66e6e6db4ec4: Waiting
755e9d83d188: Waiting
8935ec72daad: Verifying Checksum
8935ec72daad: Download complete
8935ec72daad: Pull complete
d1e9fb442ec5: Verifying Checksum
d1e9fb442ec5: Download complete
66e6e6db4ec4: Verifying Checksum
66e6e6db4ec4: Download complete
73b3a7b3e712: Verifying Checksum
73b3a7b3e712: Download complete
755e9d83d188: Verifying Checksum
755e9d83d188: Download complete
d1e9fb442ec5: Pull complete
66e6e6db4ec4: Pull complete
73b3a7b3e712: Pull complete
755e9d83d188: Pull complete
Digest: sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f
Status: Downloaded newer image for ocaml/opam@sha256:3163a8929bf4141ea9094f26c00cbef22e191e782859749ef4cdb9a1bdf58a9f
2026-06-25 16:18.01 ---> using "2487185c6b922ab3a5145fd1e2764b1761247016c9347fe6415cd7ee7266cc7e" from cache

/: (comment fedora-42-5.5_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 42 - x86_64 - Updates           100% | 120.2 KiB/s |  17.8 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.

Nothing to do.
2026-06-25 16:18.01 ---> using "13abb467fd49bf1e0893a1bb8c29c5cdd1151972b089b618e9b0541cbccd9416" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-06-25 16:18.01 ---> using "f9a9f6c08e164b91a387025885aba2bb50bc3d493b713a87e380c44b77cb60b7" 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:18.01 ---> using "658e82f1f1a5844acf5cb395011ba465d7ae1fae275b286d10cd6c0d4ed2fce8" 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:18.01 ---> using "b31245414438a1097420423cecd3cc7abac92d5e5d19daa0524cb4d9b0b0da98" 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:18.01 ---> using "c1ea32f974d29058d95fd2949df4f5f4070d0e8cb7c55b9c8b8e749fde55f6f1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-06-25 16:18.01 ---> using "78f69751565679e6842800a3cb3404d50db71c8c8a7babf74f0adc9d5490eebb" 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:18.01 ---> using "a63d692b553b22ebef9e416a49fd8ff6de101b51b2fd074f0a79150087683615" from cache

/src: (copy (src provision.opam caravan.opam) (dst ./))
2026-06-25 16:18.01 ---> saved as "85d5fa7481e84191960cb4db4ca32eef59bdd4a901665d23e15c11055dacf7e5"

/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:18.05 ---> saved as "ab00c48117866e99e92548319d1f20f3e633a1c2bc9f31d3834eee3a13f68d89"

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

/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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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:18.24 ---> saved as "f9f52bded45596357c398da1b15138628e6562dd2f919516282dbfa9309b0c12"

/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 csexp.1.5.2  (cached)
-> retrieved bos.0.3.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved logs.0.10.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:22.08 ---> saved as "bcc3c5364662ee6f1f24b9d71bfa5d45504003a9943130d94c10af3528cce856"

/src: (copy (src .) (dst /src))
2026-06-25 16:22.09 ---> saved as "20fd8e0588fd72ff8868a7e2770972e5d20bb64570fd80712b82a1242a7e5605"

/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/xen && /usr/sbin/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/sbin/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 && /usr/sbin/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 && /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:22.13: Job failed: Failed: Build failed