Organisationsahrefsdevkitaadac3 (tianyi/dot-attribute-name)(lint-opam)

(lint-opam)

Logs

Show full logs
2025-09-22 12:26.41: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/tianyi/dot-attribute-name (aadac3be5044b3a299426a1ed4ca57a3537b9a57) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
Opam files lint

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "tianyi/dot-attribute-name" && cd "devkit" && git reset --hard aadac3be
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d
# debian-13-5.0_opam-2.4
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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 dyn.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 logs.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition opam-core.2.4.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 ounit2.2.2.7 parsexp.v0.16.0 patch.3.0.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.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 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y devkit.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

2025-09-22 12:26.41: Using cache hint "ahrefs/devkit-ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d-debian-13-5.0_opam-2.4-fbb2f25a82dbbf9a47c0beff76dbcacc"
2025-09-22 12:26.41: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
 (comment debian-13-5.0_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.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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src devkit.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn devkit.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 dyn.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 logs.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition opam-core.2.4.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 ounit2.2.2.7 parsexp.v0.16.0 patch.3.0.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.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 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")
 (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 devkit.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"))
)

2025-09-22 12:26.41: Waiting for resource in pool OCluster
2025-09-22 12:26.41: Waiting for worker…
2025-09-22 12:26.41: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at aadac3b make gen_ragel

(from ocaml/opam:debian-13-ocaml-5.0@sha256:33e9689e5fd80c50356dcf1f3f4a489001e441c6f4fd811414fdb4344ccb003d)
2025-09-22 12:26.42 ---> using "8495c7ba27b99334ff112cc0115bd07f740312d7c326ce9a8bba3c40fc36016c" from cache

/: (comment debian-13-5.0_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.2 /usr/bin/opam"))
2025-09-22 12:26.42 ---> using "92f49341879931933eaabd3c461bc3aad525398580281860d86456a6d2320213" 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
2025-09-22 12:26.42 ---> using "5e4c5da4a4dada2193b29ae642a8256a7700c7df04041928545ae309578939f2" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-83-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-09-22 12:26.42 ---> using "9b1a3b66ad305e69eeb73b691b275e00ed65e23b844066f804a44ecb5601064d" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-22 12:26.42 ---> using "878c05f7e5bca3ac4a225c9eab5bd641ab49c83a6ff6dcf75baa381d7ce5d321" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bcac5d1731..3f21ebe342  master     -> origin/master
3f21ebe342 Merge pull request #28544 from vouillon/opam-publish-re.1.14.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
2025-09-22 12:26.59 ---> saved as "7077dfc18ca229b42d5f069ac342c6bd712892c4d098bb61fe41550dd75879f9"

/src: (copy (src devkit.opam) (dst ./))
2025-09-22 12:26.59 ---> saved as "7824b8b16e5fda029c2fdad7543b207a707c755975a2604bbcfc290fd95b4944"

/src: (run (network host)
           (shell "opam pin add -yn devkit.dev './'"))
[devkit.dev] synchronised (file:///src)
devkit is now pinned to file:///src (version dev)
2025-09-22 12:27.01 ---> saved as "1823f9f61fab388264973ceb1d25cd3ded8b2f11653960857378c3d31a403090"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-22 12:27.01 ---> saved as "2bbfbfe641725cc6165e6ce55b2166f891b3d0084bf82e4ae7d3a2f287d91d80"

/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 dyn.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 logs.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 ocplib-endian.1.2 ocurl.transition opam-core.2.4.1 opam-dune-lint.0.6 opam-file-format.2.2.0 opam-format.2.4.1 opam-repository.2.4.1 opam-state.2.4.1 ordering.3.20.2 ounit2.2.2.7 parsexp.v0.16.0 patch.3.0.0 pcre.8.0.5 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.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 stdlib-shims.0.3.0 stdune.3.20.2 swhid_core.0.1 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")

/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 devkit.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 [44.3 kB]
- Fetched 135 kB in 0s (1213 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.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 devkit.dev $DEPS" failed with exit status 5
2025-09-22 12:27.06: Job failed: Failed: Build failed