Organisationsahrefsocannl72314c ()(lint-opam)

(lint-opam)

Logs

Show full logs
2025-11-17 11:21.43: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (72314c62d5ecf205f16c75b1fe10bb7d7f51e1ab) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Opam files lint

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "master" && cd "ocannl" && git reset --hard 72314c62
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
# 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 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 neural_nets_lib.opam arrayjit.opam ./
RUN opam pin add -yn neural_nets_lib.dev './' && \
    opam pin add -yn arrayjit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 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 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 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.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam $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-11-17 11:21.43: Using cache hint "ahrefs/ocannl-ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28-debian-13-5.0_opam-2.4-7856ed05f9e4e974fa5a52ca77849074"
2025-11-17 11:21.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
 (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 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src neural_nets_lib.opam arrayjit.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn neural_nets_lib.dev './' && \
             \nopam pin add -yn arrayjit.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 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 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 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.1 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.2 --depext-only -y deps_for_opam_dune_lint.opam $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-11-17 11:21.43: Waiting for resource in pool OCluster
2025-11-17 11:21.43: Waiting for worker…
2025-11-17 11:21.43: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 72314c62 Missing from the previous commit: LUB computation in `dim_ineq`

(from ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28' locally
docker.io/ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28: Pulling from ocaml/opam
13cc39f8244a: Pulling fs layer
b27d53669817: Pulling fs layer
062c909e206e: Pulling fs layer
265baae72087: Pulling fs layer
b6b7b385247c: Pulling fs layer
bfb7bf5b7c6d: Pulling fs layer
b18c76fc18f2: Pulling fs layer
6bdbb37ee35f: Pulling fs layer
b6b7b385247c: Waiting
84035aa4da2d: Pulling fs layer
265baae72087: Waiting
b18c76fc18f2: Waiting
bfb7bf5b7c6d: Waiting
0c3307e14207: Pulling fs layer
30b92d637d72: Pulling fs layer
991b07583706: Pulling fs layer
e1d7a79a1495: Pulling fs layer
84035aa4da2d: Waiting
6b08d63c6214: Pulling fs layer
6bdbb37ee35f: Waiting
0c3307e14207: Waiting
4c7236344711: Pulling fs layer
12506f41e8b0: Pulling fs layer
991b07583706: Waiting
30b92d637d72: Waiting
e1d7a79a1495: Waiting
6b08d63c6214: Waiting
2330d596aec1: Pulling fs layer
a48299f5ec62: Pulling fs layer
04618a577568: Pulling fs layer
12506f41e8b0: Waiting
8c4b002d072b: Pulling fs layer
4c7236344711: Waiting
a48299f5ec62: Waiting
4f4fb700ef54: Pulling fs layer
2330d596aec1: Waiting
ff68f05e2976: Pulling fs layer
d5543b560a3e: Pulling fs layer
8c4b002d072b: Waiting
04618a577568: Waiting
4a9030bbb1ef: Pulling fs layer
ff68f05e2976: Waiting
4f4fb700ef54: Waiting
c59b3bec3411: Pulling fs layer
d5543b560a3e: Waiting
4a9030bbb1ef: Waiting
85a7c9be9495: Pulling fs layer
c59b3bec3411: Waiting
dbc6bd8f2e44: Pulling fs layer
6680a5133ca2: Pulling fs layer
85a7c9be9495: Waiting
470c0056084c: Pulling fs layer
dbc6bd8f2e44: Waiting
6b9af56b67cf: Pulling fs layer
6680a5133ca2: Waiting
c572cde25fb3: Pulling fs layer
470c0056084c: Waiting
033b2d405acf: Pulling fs layer
663cc5b3d424: Pulling fs layer
6b9af56b67cf: Waiting
c572cde25fb3: Waiting
033b2d405acf: Waiting
840bbd47fded: Pulling fs layer
663cc5b3d424: Waiting
fb8f644ba010: Pulling fs layer
66735543f230: Pulling fs layer
840bbd47fded: Waiting
7896354b8c11: Pulling fs layer
a0063722d8c2: Pulling fs layer
7018e4a5881b: Pulling fs layer
66735543f230: Waiting
fb8f644ba010: Waiting
06436fd7f62d: Pulling fs layer
a0063722d8c2: Waiting
7018e4a5881b: Waiting
7896354b8c11: Waiting
cde927a0d81e: Pulling fs layer
06436fd7f62d: Waiting
4199a76c0c74: Pulling fs layer
4729d62cb70e: Pulling fs layer
cde927a0d81e: Waiting
4199a76c0c74: Waiting
4729d62cb70e: Waiting
062c909e206e: Download complete
b27d53669817: Verifying Checksum
b27d53669817: Download complete
b6b7b385247c: Verifying Checksum
b6b7b385247c: Download complete
265baae72087: Verifying Checksum
265baae72087: Download complete
13cc39f8244a: Verifying Checksum
13cc39f8244a: Download complete
b18c76fc18f2: Verifying Checksum
b18c76fc18f2: Download complete
6bdbb37ee35f: Verifying Checksum
6bdbb37ee35f: Download complete
0c3307e14207: Verifying Checksum
0c3307e14207: Download complete
84035aa4da2d: Verifying Checksum
84035aa4da2d: Download complete
991b07583706: Verifying Checksum
991b07583706: Download complete
30b92d637d72: Verifying Checksum
30b92d637d72: Download complete
6b08d63c6214: Verifying Checksum
6b08d63c6214: Download complete
4c7236344711: Verifying Checksum
4c7236344711: Download complete
bfb7bf5b7c6d: Verifying Checksum
bfb7bf5b7c6d: Download complete
e1d7a79a1495: Verifying Checksum
e1d7a79a1495: Download complete
12506f41e8b0: Verifying Checksum
12506f41e8b0: Download complete
2330d596aec1: Verifying Checksum
2330d596aec1: Download complete
a48299f5ec62: Download complete
04618a577568: Verifying Checksum
04618a577568: Download complete
8c4b002d072b: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ff68f05e2976: Verifying Checksum
ff68f05e2976: Download complete
4a9030bbb1ef: Verifying Checksum
4a9030bbb1ef: Download complete
d5543b560a3e: Download complete
13cc39f8244a: Pull complete
b27d53669817: Pull complete
062c909e206e: Pull complete
c59b3bec3411: Verifying Checksum
c59b3bec3411: Download complete
85a7c9be9495: Verifying Checksum
85a7c9be9495: Download complete
dbc6bd8f2e44: Verifying Checksum
6680a5133ca2: Verifying Checksum
6680a5133ca2: Download complete
470c0056084c: Download complete
6b9af56b67cf: Verifying Checksum
6b9af56b67cf: Download complete
265baae72087: Pull complete
b6b7b385247c: Pull complete
c572cde25fb3: Verifying Checksum
c572cde25fb3: Download complete
663cc5b3d424: Download complete
033b2d405acf: Download complete
fb8f644ba010: Verifying Checksum
fb8f644ba010: Download complete
7896354b8c11: Verifying Checksum
7896354b8c11: Download complete
a0063722d8c2: Verifying Checksum
a0063722d8c2: Download complete
7018e4a5881b: Verifying Checksum
7018e4a5881b: Download complete
66735543f230: Verifying Checksum
66735543f230: Download complete
cde927a0d81e: Verifying Checksum
cde927a0d81e: Download complete
4199a76c0c74: Verifying Checksum
4199a76c0c74: Download complete
4729d62cb70e: Download complete
06436fd7f62d: Verifying Checksum
06436fd7f62d: Download complete
840bbd47fded: Verifying Checksum
840bbd47fded: Download complete
bfb7bf5b7c6d: Pull complete
b18c76fc18f2: Pull complete
6bdbb37ee35f: Pull complete
84035aa4da2d: Pull complete
0c3307e14207: Pull complete
30b92d637d72: Pull complete
991b07583706: Pull complete
e1d7a79a1495: Pull complete
6b08d63c6214: Pull complete
4c7236344711: Pull complete
12506f41e8b0: Pull complete
2330d596aec1: Pull complete
a48299f5ec62: Pull complete
04618a577568: Pull complete
8c4b002d072b: Pull complete
4f4fb700ef54: Pull complete
ff68f05e2976: Pull complete
d5543b560a3e: Pull complete
4a9030bbb1ef: Pull complete
c59b3bec3411: Pull complete
85a7c9be9495: Pull complete
dbc6bd8f2e44: Pull complete
6680a5133ca2: Pull complete
470c0056084c: Pull complete
6b9af56b67cf: Pull complete
c572cde25fb3: Pull complete
033b2d405acf: Pull complete
663cc5b3d424: Pull complete
840bbd47fded: Pull complete
fb8f644ba010: Pull complete
66735543f230: Pull complete
7896354b8c11: Pull complete
a0063722d8c2: Pull complete
7018e4a5881b: Pull complete
06436fd7f62d: Pull complete
cde927a0d81e: Pull complete
4199a76c0c74: Pull complete
4729d62cb70e: Pull complete
Digest: sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
Status: Downloaded newer image for ocaml/opam@sha256:a0cf5c5cb1f8ca4efebab87b6c14f9310ef972c73f209901227e88810a32ae28
2025-11-17 11:24.23 ---> saved as "7ab6011a357d375af0d8162f2ea16d9122504ea3adf94e8562c73e2e151b67be"

/: (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-11-17 11:24.23 ---> saved as "d170a22d07787e60664687dd32b2af5a435a96aebbb3cd3d54c36cb6e659e1b4"

/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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-17 11:24.44 ---> saved as "cf87cad028e6bd050ea52fa27caaeaa2214f107a7d04293f0270f2b105606c07"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-11-17 11:24.45 ---> saved as "9c8bd9253ccdab80263cf6d30ae25308f68342fe920a8446c0901c2eb35eaa05"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-11-17 11:24.45 ---> saved as "53612552b08bab28c2decf9d62b776367e02910661f7561f808470f517ebea14"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 || git fetch origin master) && git reset -q --hard 1ec0eeb78dfedb9d754ae7abb8baed71c715f786 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   21f97b2e6d..1c92c86556  master     -> origin/master
1ec0eeb78d Merge pull request #28897 from dra27/ocamlfind-msys2-cygwin

<><> 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-11-17 11:25.02 ---> saved as "b0820e20af05d6aeb2dde1a3a00c623dec95ab0b3b0052f80a539ceec582cb5c"

/src: (copy (src neural_nets_lib.opam arrayjit.opam) (dst ./))
2025-11-17 11:25.02 ---> saved as "cd7b389088510346a490a63663311020c6a7ab00a5c2aa78734c1bcc9dbbb130"

/src: (run (network host)
           (shell  "opam pin add -yn neural_nets_lib.dev './' && \
                  \nopam pin add -yn arrayjit.dev './'"))
[neural_nets_lib.dev] synchronised (file:///src)
neural_nets_lib is now pinned to file:///src (version dev)
[arrayjit.dev] synchronised (file:///src)
arrayjit is now pinned to file:///src (version dev)
2025-11-17 11:25.05 ---> saved as "b960d692ce06005d9c66084c1de6390e4bc8377cfb831ac5ec140163568137ec"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-17 11:25.05 ---> saved as "a012f1089d3972ce884f968694a6ac556fe8ab6cf8286a2cbc7c7a90222f7da9"

/src: (env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 csexp.1.5.2 dune.3.20.2 dyn.3.20.2 fmt.0.11.0 fpath.0.7.3 jsonm.1.0.2 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 num.1.6 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 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 parsexp.v0.16.0 patch.3.1.0 pp.2.0.0 re.1.14.0 rresult.0.7.0 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.1 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.2 --depext-only -y deps_for_opam_dune_lint.opam $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (10.5 MB/s)
- Reading package lists...
- 
[ERROR] No package named deps_for_opam_dune_lint found.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam $DEPS" failed with exit status 5
2025-11-17 11:25.07: Job failed: Failed: Build failed