Organisationsahrefsmonorobot4c3f4e (re2-2-re)(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2026-04-13 16:28.42: New job: test ahrefs/monorobot https://github.com/ahrefs/monorobot.git#refs/heads/re2-2-re (4c3f4eb0fc0d387b4c5d59b40856258d34272921) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/monorobot.git" -b "re2-2-re" && cd "monorobot" && git reset --hard 4c3f4eb0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
# debian-13-5.0_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 monorobot.opam ./
RUN opam pin add -yn monorobot.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 camlzip.1.14 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-sqlite3.1 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 devkit.1.20240429 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 duration.0.3.0 dyn.3.20.2 easy-format.1.3.4 eqaf.0.10 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 hex.1.5.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 libevent.0.9.0 logs.0.10.0 lwt.5.9.2 lwt_ppx.5.9.3 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mybuild.7 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamldiff.1.2 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition ohex.0.2.0 omd.1.3.2 opam-core.2.5.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.20.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 patch.3.1.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 sqlgg.20231201 sqlite3.5.4.0 stdlib-shims.0.3.0 stdune.3.20.2 stringext.1.6.0 swhid_core.0.1 topkg.1.1.1 trace.0.12 uri.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y monorobot.dev $DEPS
RUN opam install $DEPS
ENV CI="true"
ENV OCAMLCI="true"
WORKDIR /src
COPY --chown=1000:1000 . /src/
RUN opam lint
RUN opam exec -- opam-dune-lint


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-04-13 16:28.42: Using cache hint "ahrefs/monorobot-ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c-debian-13-5.0_opam-2.5-0ee9ae9d774c156c21b69158d26844e2"
2026-04-13 16:28.42: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
(comment debian-13-5.0_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src monorobot.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn monorobot.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 camlzip.1.14 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-sqlite3.1 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 devkit.1.20240429 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 duration.0.3.0 dyn.3.20.2 easy-format.1.3.4 eqaf.0.10 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 hex.1.5.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 libevent.0.9.0 logs.0.10.0 lwt.5.9.2 lwt_ppx.5.9.3 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mybuild.7 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamldiff.1.2 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition ohex.0.2.0 omd.1.3.2 opam-core.2.5.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.20.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 patch.3.1.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 sqlgg.20231201 sqlite3.5.4.0 stdlib-shims.0.3.0 stdune.3.20.2 stringext.1.6.0 swhid_core.0.1 topkg.1.1.1 trace.0.12 uri.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14")
(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.2 --depext-only -y monorobot.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(env CI true)
(env OCAMLCI true)
(workdir /src)
(copy (src .) (dst /src/))
(run (shell "opam lint"))
(run (shell "opam exec -- opam-dune-lint"))
)


2026-04-13 16:28.42: Waiting for resource in pool OCluster
2026-04-13 16:28.46: Waiting for worker…
2026-04-13 16:55.25: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 4c3f4eb Merge branch 'master' into re2-2-re


(from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c' locally
docker.io/ocaml/opam@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Already exists
2d346d36dcf2: Already exists
cdc35e289b8d: Already exists
aeb7244bb580: Already exists
fc1943254a0d: Already exists
84238c416f8e: Already exists
fbbfe75d3112: Already exists
221fdc5d9929: Already exists
1fec9149b52a: Already exists
9c6e52557f24: Already exists
8737f5036aae: Already exists
d69c4074de14: Already exists
7237152a5f04: Already exists
fba4b414d8a0: Already exists
40d552afb3ef: Already exists
077cc17dc8e4: Already exists
077cc17dc8e4: Already exists
169e1be36a55: Already exists
0a8a005097ab: Already exists
caba3ec4b361: Already exists
6a364dc641f8: Already exists
4f4fb700ef54: Already exists
ab8052928cdc: Already exists
f5717a28dd6a: Already exists
79233a9b9bed: Already exists
d832d53e7392: Already exists
1872dad82243: Already exists
bfd849b08ba7: Already exists
834a8024ef15: Already exists
98ccec79258b: Already exists
fb48f36a0542: Already exists
3688b13db8e7: Already exists
a5c099f5f72c: Already exists
1ff1760de5b0: Already exists
98eec6764aa5: Already exists
aa22ae69debd: Already exists
12bfb7b962a2: Already exists
ec25ce9bb816: Already exists
beadd3cf7357: Already exists
d0d0c65a426d: Already exists
df506dc1e167: Pulling fs layer
7bfa149e0cf6: Pulling fs layer
8ebf58b62512: Pulling fs layer
6ca53b029af3: Pulling fs layer
6ca53b029af3: Waiting
7bfa149e0cf6: Verifying Checksum
7bfa149e0cf6: Download complete
8ebf58b62512: Verifying Checksum
8ebf58b62512: Download complete
6ca53b029af3: Download complete
df506dc1e167: Verifying Checksum
df506dc1e167: Download complete
df506dc1e167: Pull complete
7bfa149e0cf6: Pull complete
8ebf58b62512: Pull complete
6ca53b029af3: Pull complete
Digest: sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
Status: Downloaded newer image for ocaml/opam@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
2026-04-13 16:55.26 ---> using "6116e7795090b394b692c35f7698f578c9549652048c83e565dc2c1a06de6fcb" from cache


/: (comment debian-13-5.0_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2026-04-13 16:55.26 ---> using "9f73e888f58f205f4ed693bd846edc639b3f05bd35d8e2971ce8b8ce8c397995" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 16:55.26 ---> using "780d275652ad88d59acd83f29ed61097c4e7168968b11df2f2b7fd8f47199406" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.0.0
2.2.1
2026-04-13 16:55.26 ---> using "1b7c40935a87bdb99d644323913de44f778053297527df776c078014031615c6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-13 16:55.26 ---> using "1fb5a6bcfbd3c2f530a34194a9aa41f2286c1c6c2f40ada798afb80f61bc5b82" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 || git fetch origin master) && git reset -q --hard 19a1fb6eac6a1f8acb9c2207ce5fba034d8b3ce9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
95972b8834..ba4685aeec  master     -> origin/master
19a1fb6eac Merge pull request #29709 from mjambon/release-atd-4.1.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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-04-13 16:56.10 ---> saved as "af79a12dd83622fbeb79774609f09f718be9ad598d2f4a575d46a40c818f170f"


/src: (copy (src monorobot.opam) (dst ./))
2026-04-13 16:56.11 ---> saved as "242ae755f24a7dd1e1dcc9d687b02cd63a8106bbe0dd47f05f3288f98efda94c"


/src: (run (network host)
(shell "opam pin add -yn monorobot.dev './'"))
[monorobot.dev] synchronised (file:///src)
monorobot is now pinned to file:///src (version dev)
2026-04-13 16:56.14 ---> saved as "54973f6b8f62328de758125117434a88afb0c9df020e434f47b0749d71d10e69"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 16:56.15 ---> saved as "2aad5a03f8e6e1d1b878379374b95bcf31d832594a3e83381eb6f8fdc93784a8"


/src: (env DEPS "angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.4.1.0 atdgen.4.1.0 atdgen-runtime.4.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 camlzip.1.14 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-sqlite3.1 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 devkit.1.20240429 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 duration.0.3.0 dyn.3.20.2 easy-format.1.3.4 eqaf.0.10 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 hex.1.5.0 ipaddr.5.6.2 jsonm.1.0.2 kdf.1.0.0 libevent.0.9.0 logs.0.10.0 lwt.5.9.2 lwt_ppx.5.9.3 macaddr.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 mirage-crypto.2.1.0 mirage-crypto-ec.2.1.0 mirage-crypto-pk.2.1.0 mirage-crypto-rng.2.1.0 mybuild.7 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamldiff.1.2 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition ohex.0.2.0 omd.1.3.2 opam-core.2.5.0 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.20.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 patch.3.1.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.38.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 sqlgg.20231201 sqlite3.5.4.0 stdlib-shims.0.3.0 stdune.3.20.2 stringext.1.6.0 swhid_core.0.1 topkg.1.1.1 trace.0.12 uri.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14")


/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.2 --depext-only -y monorobot.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (1018 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[monorobot.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[ERROR] Package conf-libpcre.2 depends on the unavailable system package 'libpcre3-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y monorobot.dev $DEPS" failed with exit status 5
2026-04-13 16:56.22: Job failed: Failed: Build failed