2025-06-30 10:25.39: New job: test ocurrent/opam-dune-lint https://github.com/ocurrent/opam-dune-lint.git#refs/heads/master (04aed0bd0e3e766f8e45c4af55a2051afd0b3b36) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/opam-dune-lint.git" -b "master" && cd "opam-dune-lint" && git reset --hard 04aed0bd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# 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 70ed6dc3809eac914120062fdc7a82492f5c3ef9 || git fetch origin master) && git reset -q --hard 70ed6dc3809eac914120062fdc7a82492f5c3ef9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-dune-lint.opam ./
RUN opam pin add -yn opam-dune-lint.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 dyn.3.15.3 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.15.3 parsexp.v0.14.0 pp.1.2.0 re.1.9.0 result.1.5 rresult.0.6.0 seq.0.3 sexplib.v0.14.0 sexplib0.v0.14.0 stdune.3.15.3 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-dune-lint.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-06-30 10:25.39: Using cache hint "ocurrent/opam-dune-lint-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-dc4f25ebd78c1a84d20f5d54eeb0205d"
2025-06-30 10:25.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(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 70ed6dc3809eac914120062fdc7a82492f5c3ef9 || git fetch origin master) && git reset -q --hard 70ed6dc3809eac914120062fdc7a82492f5c3ef9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-dune-lint.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 dyn.3.15.3 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.15.3 parsexp.v0.14.0 pp.1.2.0 re.1.9.0 result.1.5 rresult.0.6.0 seq.0.3 sexplib.v0.14.0 sexplib0.v0.14.0 stdune.3.15.3 topkg.1.0.8")
(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 opam-dune-lint.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-06-30 10:25.39: Waiting for resource in pool OCluster
2025-06-30 10:25.39: Waiting for worker…
2025-06-30 10:25.39: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 04aed0b Merge pull request #72 from amongonz/newline-patch
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-06-30 10:25.39 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" 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-06-30 10:25.39 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-30 10:25.39 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-06-30 10:25.39 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-30 10:25.39 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 70ed6dc3809eac914120062fdc7a82492f5c3ef9 || git fetch origin master) && git reset -q --hard 70ed6dc3809eac914120062fdc7a82492f5c3ef9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c7269f729a..70ed6dc380 master -> origin/master
70ed6dc380 Merge pull request #28112 from hannesm/keep-dune-3-15-3
<><> 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-06-30 10:25.39 ---> using "2c1fbf56c97353457809f062536c2f4e6ec12bbbd06f3acc7d4bc61cc499809f" from cache
/src: (copy (src opam-dune-lint.opam) (dst ./))
2025-06-30 10:25.39 ---> saved as "66067801d06eb4f9865f61dacf77eb1d673ded34ffe6132a00dc71b47ac5c99a"
/src: (run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
[opam-dune-lint.dev] synchronised (file:///src)
opam-dune-lint is now pinned to file:///src (version dev)
2025-06-30 10:25.41 ---> saved as "eae21f3c3aa763d6da3e792f4a6e456e6573981635e23d32a1f96955ec56caad"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-30 10:25.41 ---> saved as "2046ffd897ab6f9adb486ad2ea8bc438b66f0858d2bf3a462c74d1ba0e5dac4e"
/src: (env DEPS "astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.12.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 dyn.3.15.3 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 num.1.5 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.15.3 parsexp.v0.14.0 pp.1.2.0 re.1.9.0 result.1.5 rresult.0.6.0 seq.0.3 sexplib.v0.14.0 sexplib0.v0.14.0 stdune.3.15.3 topkg.1.0.8")
/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 opam-dune-lint.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-security bookworm-security/main amd64 Packages [269 kB]
- Fetched 373 kB in 0s (822 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-dune-lint.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-06-30 10:25.52 ---> saved as "eb7a557d85167ed16f56d17fed74c9147d455d698dc98e13605ebfa3b0f53168"
/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 36 packages
- install astring 0.8.5
- install base v0.14.0
- install base-bytes base
- install bos 0.2.0
- install cmdliner 1.3.0
- install conf-m4 1
- install cppo 1.6.1
- install csexp 1.5.1
- install dune 3.12.1
- install dune-configurator 2.5.1
- install dune-private-libs 2.5.1
- install dyn 3.15.3
- install fmt 0.9.0
- install fpath 0.7.3
- install jbuilder 1.0+beta20.1 (deprecated)
- install logs 0.7.0
- install num 1.5
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ocamlgraph 1.8.8
- install opam-core 2.1.0
- install opam-file-format 2.1.3
- install opam-format 2.1.0
- install opam-repository 2.1.0
- install opam-state 2.1.0
- install ordering 3.15.3
- install parsexp v0.14.0
- install pp 1.2.0
- install re 1.9.0
- install result 1.5
- install rresult 0.6.0
- install seq 0.3
- install sexplib v0.14.0
- install sexplib0 v0.14.0
- install stdune 3.15.3
- install topkg 1.0.8
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bos.0.2.0 (cached)
-> retrieved base.v0.14.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved csexp.1.5.1 (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1 (cached)
-> retrieved dune.3.12.1 (cached)
-> retrieved dyn.3.15.3, ordering.3.15.3, stdune.3.15.3 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved num.1.5 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ocamlgraph.1.8.8 (cached)
-> retrieved opam-core.2.1.0, opam-format.2.1.0, opam-repository.2.1.0, opam-state.2.1.0 (cached)
-> retrieved opam-file-format.2.1.3 (cached)
-> retrieved parsexp.v0.14.0 (cached)
-> retrieved pp.1.2.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.6.0 (cached)
-> retrieved re.1.9.0 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved sexplib.v0.14.0 (cached)
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved topkg.1.0.8 (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 cppo.1.6.1
-> installed topkg.1.0.8
-> installed ocamlgraph.1.8.8
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed dune.3.12.1
-> installed csexp.1.5.1
-> installed opam-file-format.2.1.3
-> installed seq.0.3
-> installed result.1.5
-> installed pp.1.2.0
-> installed sexplib0.v0.14.0
-> installed rresult.0.6.0
-> installed ordering.3.15.3
-> installed re.1.9.0
-> installed dune-private-libs.2.5.1
-> installed dyn.3.15.3
-> installed bos.0.2.0
-> installed dune-configurator.2.5.1
-> installed opam-core.2.1.0
-> installed stdune.3.15.3
-> installed base.v0.14.0
-> installed parsexp.v0.14.0
-> installed sexplib.v0.14.0
-> installed opam-format.2.1.0
-> installed opam-repository.2.1.0
-> installed opam-state.2.1.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-06-30 10:26.49 ---> saved as "29366a375ce5c5e30af9827cb2966556e36e48fd20fbcea502fa632be3d88445"
/src: (copy (src .) (dst /src))
2025-06-30 10:26.50 ---> saved as "1fd37f8ff570e9eff67e515a2e898ee33c4d4c747329b7280d2d6847389bd478"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-30 10:26.53 ---> saved as "562af06511768009ec79cf8f6eddc0ff8bd52e0199173b38b5a2fe78f775f42d"
Job succeeded
2025-06-30 10:26.53: Job succeeded