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:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
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:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
# ubuntu-22.04-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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.1.0 uutf.1.0.4"
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:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a-ubuntu-22.04-4.14_opam-2.4-29ab03efeafc79edd4a7e1b507fda9c7"
2025-07-31 07:27.55: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a)
(comment ubuntu-22.04-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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.1.0 uutf.1.0.4")
(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 09:07.08: Waiting for worker…
2025-07-31 09:10.18: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at f044172 fix typo
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a' locally
docker.io/ocaml/opam@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a: Pulling from ocaml/opam
514f7f9a70b9: Already exists
260f39967dc6: Pulling fs layer
080682957692: Pulling fs layer
496cffd3e0db: Pulling fs layer
080682957692: Waiting
260f39967dc6: Waiting
cccae36efa92: Pulling fs layer
496cffd3e0db: Waiting
cccae36efa92: Waiting
080682957692: Download complete
496cffd3e0db: Download complete
cccae36efa92: Verifying Checksum
cccae36efa92: Download complete
260f39967dc6: Verifying Checksum
260f39967dc6: Download complete
260f39967dc6: Pull complete
080682957692: Pull complete
496cffd3e0db: Pull complete
cccae36efa92: Pull complete
Digest: sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
Status: Downloaded newer image for ocaml/opam@sha256:ca3027de326cacc5274455175c0a1ecc28bb1c6747cb1b09e38dbc2fd13a188a
2025-07-31 09:15.07 ---> using "703c56f41cc54852e5691c48b2697241ed9dc9772436a19ac0903e42512bf78d" from cache
/: (comment ubuntu-22.04-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-07-31 09:15.07 ---> using "ccd04543be5b31bade9c13e30822b6576d9f499370ef4c7472bb516a15f2bae5" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 09:15.07 ---> using "4d4569e4a8b19d4d0f83abeba5228664bcdb030cec129ad6bbf2bbeb96872f7d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 09:15.07 ---> using "d446935a96660e369b503d2f9febc4a2764fc4af69076e1e4de0c2a0d39dda96" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:15.07 ---> using "cf314af0afe6fff8657b3d29f3209115150809f03091d77f72b9493a02399d62" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.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-07-31 09:15.07 ---> using "2eb6aec18ad97013873b3825695f6bf4a161dde936e32e785df315532e095344" from cache
/src: (copy (src dune-compiledb.opam) (dst ./))
2025-07-31 09:15.08 ---> saved as "65002357040f5b5a6e9b3a5e2b2ff5cf24860619565d714d086b85715c7486b0"
/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 09:15.12 ---> saved as "30f105da6989ae998e8e2a1ca846a36bdea2bb9fc6c66f5dfeb33f537d24c97a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:15.13 ---> saved as "5b078f5d45281a093f72fb00041cf1d7a9852aafc0ec0b878b6f974ddbcfba69"
/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.1.0 uutf.1.0.4")
/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"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1270 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5094 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3204 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1575 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5290 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3519 kB]
- Fetched 20.3 MB in 3s (6257 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.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-07-31 09:15.41 ---> saved as "e2ea1a19a61b368048682d6b6253d129e7ee1f7ee965cc8257e757733afc7973"
/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 16 packages
- install astring 0.8.5
- install cstruct 6.2.0
- install dune 3.19.1
- install ezjsonm 1.3.0
- install fmt 0.11.0
- install fpath 0.7.3
- install hex 1.5.0
- install jsonm 1.0.2
- install num 1.6
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install parsexp v0.16.0
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved ezjsonm.1.3.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:17.57 ---> saved as "63e874888d6f4b317b976fca736d7a8121557f9ab957bbba89e438d5427e9fc6"
/src: (copy (src .) (dst /src))
2025-07-31 09:17.58 ---> saved as "074c9b74e60b9c25dbd9cf82377821d154d4a7936adcb45c3941f8fc8fd447cb"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-31 09:18.00 ---> saved as "3e907d84ff40a25c40a8f6d53c0a1bf21f6f523d2b25253c57d0082b4c6635ea"
Job succeeded
2025-07-31 09:18.00: Job succeeded