2025-07-31 07:27.55: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/edwintorok/dune-compiledb.git" -b "main" && cd "dune-compiledb" && git reset --hard f0441721
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a
# debian-12-4.08_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam ./
RUN opam pin add -yn dune-compiledb.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cstruct.3.3.0 dune.2.7.1 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.2 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.11.0 result.1.5 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.1.0.8 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dune-compiledb.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-07-31 07:27.55: Using cache hint "edwintorok/dune-compiledb-ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a-debian-12-4.08_opam-2.4-5b2d026250358da18349a4b597c12a57"
2025-07-31 07:27.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a)
(comment debian-12-4.08_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cstruct.3.3.0 dune.2.7.1 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.2 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.11.0 result.1.5 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.1.0.8 uutf.1.0.3")
(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 dune-compiledb.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-07-31 07:27.55: Waiting for resource in pool OCluster
2025-07-31 11:43.53: Waiting for worker…
2025-07-31 11:46.01: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at f044172 fix typo
(from ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a' locally
docker.io/ocaml/opam@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a: Pulling from ocaml/opam
2b437dab448b: Already exists
348b54b4f842: Pulling fs layer
d67c1d522a4e: Pulling fs layer
dea856d1a4d8: Pulling fs layer
b580a9d7b5b1: Pulling fs layer
b580a9d7b5b1: Waiting
d67c1d522a4e: Verifying Checksum
d67c1d522a4e: Download complete
dea856d1a4d8: Download complete
b580a9d7b5b1: Verifying Checksum
b580a9d7b5b1: Download complete
348b54b4f842: Verifying Checksum
348b54b4f842: Download complete
348b54b4f842: Pull complete
d67c1d522a4e: Pull complete
dea856d1a4d8: Pull complete
b580a9d7b5b1: Pull complete
Digest: sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a
Status: Downloaded newer image for ocaml/opam@sha256:474656ea1593a299054f8966c700443fa0944c9534de3da94ca6dfab4a44c47a
2025-07-31 11:46.02 ---> using "1d0024db739bd078f91b2384c47919652a4b72a425e3e24ce24cfd1f6debdfbc" from cache
/: (comment debian-12-4.08_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-07-31 11:46.02 ---> using "7c9b92ef386a8da9c2e75f7044137791a7311b190ead8e9e381296c8d41378bb" 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-07-31 11:46.02 ---> using "f1456e91084a46a3e1d56436da9fa221c414844537bd7379a29b0244678cb91f" 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.4.1
2025-07-31 11:46.02 ---> using "f260e0fd4912d5fef9b0aba7805638c6dfb25d4becbe140fd869cb705083c276" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 11:46.02 ---> using "d99c114268662aaf006d8a9af1c20b298bcb56d707f08131b61dd62d3ac71a8c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> 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-07-31 11:46.02 ---> using "aaed5f0970dd3c078fd39759d4031d1af51ac40b0aa0bcb8aeafe741d2de50a8" from cache
/src: (copy (src dune-compiledb.opam) (dst ./))
2025-07-31 11:46.03 ---> saved as "bdea2ca2149e1050d6fc172917635489f0e4297ba8bfc8064b154541f9cf88a2"
/src: (run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
[dune-compiledb.dev] synchronised (file:///src)
dune-compiledb is now pinned to file:///src (version dev)
2025-07-31 11:46.05 ---> saved as "20284bd6b1b6950eb720de671ae8627b66945a77694da5bdb4a365577aa3fd02"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 11:46.06 ---> saved as "3d05974a340bcedfe69c68bd3bf202626b6ac9cb1257cfee8c80fc8662a90eeb"
/src: (env DEPS "astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cstruct.3.3.0 dune.2.7.1 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.2 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.11.0 result.1.5 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.1.0.8 uutf.1.0.3")
/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 dune-compiledb.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-updates/main amd64 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 1s (570 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.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-07-31 11:46.29 ---> saved as "458ee08d3b538dbb4f5ca4fcb7d47f16d6014a78a374096f8b6f295cbcd54e24"
/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 19 packages
- install astring 0.8.3
- install base-bytes base
- install conf-m4 1
- install cstruct 3.3.0
- install dune 2.7.1
- install ezjsonm 1.0.0
- install fpath 0.7.1
- install hex 1.2.0
- install jbuilder 1.0+beta20.1 (deprecated)
- install jsonm 1.0.2
- install num 1.5
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install parsexp v0.11.0
- install result 1.5
- install sexplib v0.11.0
- install sexplib0 v0.11.0
- install topkg 1.0.8
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3 (cached)
-> retrieved cstruct.3.3.0 (cached)
-> retrieved dune.2.7.1 (cached)
-> installed conf-m4.1
-> retrieved ezjsonm.1.0.0 (cached)
-> retrieved fpath.0.7.1 (cached)
-> retrieved hex.1.2.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved num.1.5 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved parsexp.v0.11.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved sexplib.v0.11.0 (cached)
-> retrieved sexplib0.v0.11.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed num.1.5
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed sexplib0.v0.11.0
-> installed dune.2.7.1
-> installed result.1.5
-> installed topkg.1.0.8
-> installed parsexp.v0.11.0
-> installed uutf.1.0.3
-> installed sexplib.v0.11.0
-> installed astring.0.8.3
-> installed cstruct.3.3.0
-> installed jsonm.1.0.2
-> installed hex.1.2.0
-> installed ezjsonm.1.0.0
-> installed fpath.0.7.1
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 11:47.08 ---> saved as "59412a9caa3001b593abfc053866d812cf3734ef45ba82d7b9c250b50d27830d"
/src: (copy (src .) (dst /src))
2025-07-31 11:47.09 ---> saved as "280b5d53cb0ced63cdfe3d64e7449f758c73c9c7e7524764ba863f9af456d954"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/hex/hex.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/sexplib.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/num/sexplib.num.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/unix/sexplib.unix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/parsexp/parsexp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib0/sexplib0.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
2025-07-31 11:47.10 ---> saved as "94aa4135a6f4f3a6952057af3435d0d261d1b24d0330cb6a9968aac025b9d518"
Job succeeded
2025-07-31 11:47.10: Job succeeded