2025-05-21 11:44.47: New job: test dinosaure/caravan https://github.com/dinosaure/caravan.git#refs/heads/master (375c092fb24ac877a4d3aeccf5042ef389e87b32) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
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:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.1.9.2 fmt.0.8.0 fpath.0.7.0 jbuilder.transition logs.0.6.3 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 rresult.0.4.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-05-21 11:44.47: Using cache hint "dinosaure/caravan-ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7-debian-12-4.08_opam-2.3-f3dfeab11895ef01a24c9320f1ded665"
2025-05-21 11:44.47: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.1.9.2 fmt.0.8.0 fpath.0.7.0 jbuilder.transition logs.0.6.3 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 rresult.0.4.0 topkg.0.7.5")
(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.3 --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-05-21 11:44.47: Waiting for resource in pool OCluster
2025-05-21 14:54.59: Waiting for worker…
2025-05-21 15:02.01: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 375c092 Merge remote-tracking branch 'origin/master'
(from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
2025-05-21 15:02.02 ---> using "d1b97f3f32fc7cff4791d73e3fff398d19cc5b0541c709028ff05a921e22d2c8" from cache
/: (comment debian-12-4.08_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-21 15:02.02 ---> using "252a7fccff4a04534e7678f99648f936030516efe1d086ecbac29219212e3fdc" 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 development 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-21 15:02.02 ---> using "07d2507753443e39db4311af058ef649e00f49fdd7db583b849fca416004669c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-05-21 15:02.02 ---> using "aa37332da28f8b7a081fb8fdfbe234755e3fa3ed79d08677ecac1ff024d05f2e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-21 15:02.02 ---> using "47bcb9fdd26c4d6b24176b7653f9efad72225270ac7f6fdf758ae1e1ff905ad9" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..c7d6d1d2aa master -> origin/master
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora
<><> 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, 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-05-21 15:02.02 ---> using "66ff02a54b840a023494b5595be748ab3cc7ba7ff65edf109a455c65b7c4cf12" from cache
/src: (copy (src provision.opam caravan.opam) (dst ./))
2025-05-21 15:02.02 ---> saved as "26d928e253343588e9cc05e636344bf7ec17e92312edb85929ef44f27539e448"
/src: (run (network host)
(shell "opam pin add -yn provision.dev './' && \
\nopam pin add -yn caravan.dev './'"))
Package provision does not exist, create as a NEW package? [y/n] y
[provision.dev] synchronised (file:///src)
provision is now pinned to file:///src (version dev)
Package caravan does not exist, create as a NEW package? [y/n] y
[caravan.dev] synchronised (file:///src)
caravan is now pinned to file:///src (version dev)
2025-05-21 15:02.05 ---> saved as "4b25534943803b72ce38f3a16dc549628d84ea23d1fd9e319b7d0971d007c83f"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-21 15:02.05 ---> saved as "ee968748ed7ea5d2c1b5e457e2fe718d0d9e694af02216ecc68d8480fdbc691c"
/src: (env DEPS "astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.1.9.2 fmt.0.8.0 fpath.0.7.0 jbuilder.transition logs.0.6.3 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 rresult.0.4.0 topkg.0.7.5")
/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.3 --depext-only -y provision.dev caravan.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB]
- Fetched 9306 kB in 2s (5956 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[caravan.dev] synchronised (file:///src)
[provision.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-05-21 15:02.18 ---> saved as "50c4cf67ba3578e470f26ca37d1eeb6304313a2bce95e116dfc678d4722f990b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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.2
- install base-bytes base
- install bigstringaf 0.1.0
- install bos 0.1.0
- install cmdliner 1.0.3
- install conf-m4 1
- install dune 1.9.2
- install fmt 0.8.0
- install fpath 0.7.0
- install jbuilder transition (deprecated)
- install logs 0.6.3
- install mmap 1.0.2
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install result 1.5
- install rresult 0.4.0
- install topkg 0.7.5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.1.0 (cached)
-> retrieved bos.0.1.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cmdliner.1.0.3 (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0 (cached)
-> retrieved fpath.0.7.0 (cached)
-> retrieved logs.0.6.3 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved dune.1.9.2 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.4.0 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed dune.1.9.2
-> installed jbuilder.transition
-> installed mmap.1.0.2
-> installed bigstringaf.0.1.0
-> installed result.1.5
-> installed topkg.0.7.5
-> installed rresult.0.4.0
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed fpath.0.7.0
-> installed logs.0.6.3
-> installed bos.0.1.0
Done.
<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# To update the current shell environment, run: eval $(opam env)
2025-05-21 15:02.53 ---> saved as "fe04c96f428c1b83d2066f2a0d470ccff658970f742b64a969f5f9b1be9dae86"
/src: (copy (src .) (dst /src))
2025-05-21 15:02.53 ---> saved as "89c17d89946cc414a19772cae30afae264e721425e077232fdb36d93a5db8c9a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 1, characters 11-15:
1 | (lang dune 1.11)
^^^^
Error: Version 1.11 of dune is not supported.
Supported versions:
- 0.0
- 1.0 to 1.9
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-21 15:02.53: Job failed: Failed: Build failed