Organisationsahrefsocannl4013f2 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-12-16 13:36.17: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (4013f26ca12f384cafcb24343e4cb8aa36b1cb4e) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "master" && cd "ocannl" && git reset --hard 4013f26c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
# 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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.1.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.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 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-12-16 13:36.17: Using cache hint "ahrefs/ocannl-ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb-debian-13-5.0_opam-2.4-5c773c04e06fdad9b7a4f61e8600e202"
2025-12-16 13:36.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb)
(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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.1.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.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 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-12-16 13:36.17: Waiting for resource in pool OCluster
2025-12-16 13:36.17: Waiting for worker…
2025-12-16 13:36.17: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 4013f26c Track neutral elements during shape inference for padding reset


(from ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb' locally
docker.io/ocaml/opam@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb: Pulling from ocaml/opam
2981f7e8980b: Pulling fs layer
9c63e1c4ba84: Pulling fs layer
02578b9c9f1b: Pulling fs layer
3801cb7ba5e6: Pulling fs layer
1c4cdedd39f1: Pulling fs layer
40f6006c5f5a: Pulling fs layer
c451a17216ec: Pulling fs layer
2981f7e8980b: Waiting
e4104b8f72ee: Pulling fs layer
3801cb7ba5e6: Waiting
7c7dbc5e7919: Pulling fs layer
9c63e1c4ba84: Waiting
02578b9c9f1b: Waiting
40f6006c5f5a: Waiting
c451a17216ec: Waiting
aa82be714e7c: Pulling fs layer
922520f12384: Pulling fs layer
7c7dbc5e7919: Waiting
e4104b8f72ee: Waiting
9bfea042cef8: Pulling fs layer
1244979f7c21: Pulling fs layer
aa82be714e7c: Waiting
1c4cdedd39f1: Waiting
922520f12384: Waiting
7583a0e34f94: Pulling fs layer
14bef3f2665a: Pulling fs layer
1244979f7c21: Waiting
3a4b42ce6cb5: Pulling fs layer
7583a0e34f94: Waiting
b0a08a900877: Pulling fs layer
14bef3f2665a: Waiting
9bfea042cef8: Waiting
3a4b42ce6cb5: Waiting
16ac87e68d60: Pulling fs layer
b0a08a900877: Waiting
74ac6e8c9b82: Pulling fs layer
16ac87e68d60: Waiting
b41290a57dc5: Pulling fs layer
592e5bcb7159: Pulling fs layer
4f4fb700ef54: Pulling fs layer
74ac6e8c9b82: Waiting
1db0705661a3: Pulling fs layer
b41290a57dc5: Waiting
76bb8e35b9cc: Pulling fs layer
592e5bcb7159: Waiting
4f4fb700ef54: Waiting
3bc9d98c3b49: Pulling fs layer
7096ef42e6c0: Pulling fs layer
1db0705661a3: Waiting
76bb8e35b9cc: Waiting
cd0e70de8125: Pulling fs layer
7096ef42e6c0: Waiting
23ffab57f98e: Pulling fs layer
b974353d8023: Pulling fs layer
cd0e70de8125: Waiting
c74fba566723: Pulling fs layer
23ffab57f98e: Waiting
3bc9d98c3b49: Waiting
5ad399846f45: Pulling fs layer
b974353d8023: Waiting
3e7203fa3980: Pulling fs layer
c74fba566723: Waiting
5ad399846f45: Waiting
0b8915d2a92b: Pulling fs layer
e68c7a56c438: Pulling fs layer
3e7203fa3980: Waiting
9024d680a167: Pulling fs layer
3c7c73421b6e: Pulling fs layer
7134fa9b4278: Pulling fs layer
9d94fb523099: Pulling fs layer
9024d680a167: Waiting
0b8915d2a92b: Waiting
3c7c73421b6e: Waiting
20d06dbdae7e: Pulling fs layer
7134fa9b4278: Waiting
b9a45e537661: Pulling fs layer
e68c7a56c438: Waiting
9d94fb523099: Waiting
1244d0a6dd53: Pulling fs layer
20d06dbdae7e: Waiting
e99898bc5ad2: Pulling fs layer
b9a45e537661: Waiting
1244d0a6dd53: Waiting
594e2481e296: Pulling fs layer
d60e4a6dbe2f: Pulling fs layer
d60e4a6dbe2f: Waiting
9c63e1c4ba84: Download complete
02578b9c9f1b: Download complete
2981f7e8980b: Verifying Checksum
2981f7e8980b: Download complete
1c4cdedd39f1: Verifying Checksum
1c4cdedd39f1: Download complete
3801cb7ba5e6: Verifying Checksum
3801cb7ba5e6: Download complete
c451a17216ec: Verifying Checksum
c451a17216ec: Download complete
e4104b8f72ee: Verifying Checksum
e4104b8f72ee: Download complete
7c7dbc5e7919: Verifying Checksum
7c7dbc5e7919: Download complete
aa82be714e7c: Download complete
922520f12384: Verifying Checksum
922520f12384: Download complete
2981f7e8980b: Pull complete
9c63e1c4ba84: Pull complete
02578b9c9f1b: Pull complete
9bfea042cef8: Verifying Checksum
9bfea042cef8: Download complete
3801cb7ba5e6: Pull complete
1244979f7c21: Verifying Checksum
1244979f7c21: Download complete
1c4cdedd39f1: Pull complete
7583a0e34f94: Verifying Checksum
7583a0e34f94: Download complete
14bef3f2665a: Download complete
3a4b42ce6cb5: Download complete
b0a08a900877: Download complete
16ac87e68d60: Download complete
74ac6e8c9b82: Verifying Checksum
74ac6e8c9b82: Download complete
b41290a57dc5: Download complete
592e5bcb7159: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
1db0705661a3: Download complete
76bb8e35b9cc: Verifying Checksum
76bb8e35b9cc: Download complete
3bc9d98c3b49: Verifying Checksum
3bc9d98c3b49: Download complete
7096ef42e6c0: Download complete
cd0e70de8125: Verifying Checksum
cd0e70de8125: Download complete
23ffab57f98e: Download complete
b974353d8023: Download complete
c74fba566723: Verifying Checksum
c74fba566723: Download complete
5ad399846f45: Verifying Checksum
5ad399846f45: Download complete
0b8915d2a92b: Download complete
3e7203fa3980: Verifying Checksum
3e7203fa3980: Download complete
e68c7a56c438: Download complete
3c7c73421b6e: Download complete
9024d680a167: Verifying Checksum
9024d680a167: Download complete
9d94fb523099: Download complete
20d06dbdae7e: Verifying Checksum
20d06dbdae7e: Download complete
b9a45e537661: Download complete
40f6006c5f5a: Verifying Checksum
40f6006c5f5a: Download complete
40f6006c5f5a: Pull complete
c451a17216ec: Pull complete
e4104b8f72ee: Pull complete
7c7dbc5e7919: Pull complete
aa82be714e7c: Pull complete
922520f12384: Pull complete
9bfea042cef8: Pull complete
1244979f7c21: Pull complete
7134fa9b4278: Verifying Checksum
7134fa9b4278: Download complete
7583a0e34f94: Pull complete
14bef3f2665a: Pull complete
3a4b42ce6cb5: Pull complete
b0a08a900877: Pull complete
16ac87e68d60: Pull complete
74ac6e8c9b82: Pull complete
b41290a57dc5: Pull complete
592e5bcb7159: Pull complete
4f4fb700ef54: Pull complete
1db0705661a3: Pull complete
76bb8e35b9cc: Pull complete
3bc9d98c3b49: Pull complete
7096ef42e6c0: Pull complete
cd0e70de8125: Pull complete
23ffab57f98e: Pull complete
b974353d8023: Pull complete
c74fba566723: Pull complete
5ad399846f45: Pull complete
3e7203fa3980: Pull complete
0b8915d2a92b: Pull complete
e68c7a56c438: Pull complete
9024d680a167: Pull complete
3c7c73421b6e: Pull complete
7134fa9b4278: Pull complete
9d94fb523099: Pull complete
20d06dbdae7e: Pull complete
b9a45e537661: Pull complete
e99898bc5ad2: Download complete
594e2481e296: Verifying Checksum
594e2481e296: Download complete
d60e4a6dbe2f: Verifying Checksum
d60e4a6dbe2f: Download complete
1244d0a6dd53: Verifying Checksum
1244d0a6dd53: Download complete
1244d0a6dd53: Pull complete
e99898bc5ad2: Pull complete
594e2481e296: Pull complete
d60e4a6dbe2f: Pull complete
Digest: sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
Status: Downloaded newer image for ocaml/opam@sha256:a02c1a0b7a5d28f99108d0e1c8ee85f661a8d952731fb6a3d63fa57a3dcd7ebb
2025-12-16 13:36.19 ---> using "115e19c94ffea8f0289657e7bdf7e8af959005f00162f42ce222e9431770c297" 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-12-16 13:36.19 ---> using "e2d1fcba138c65d0b368e6af9bef77504436de6e0c72fb995ca6601e1ef18760" 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-12-16 13:36.19 ---> using "dd9430ca301e96434d9ccda11866a10391f3c5a8ad3fc73179a3d81aa01c31cc" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-12-16 13:36.19 ---> using "ae6644479d064e098c36b1cafb924ee71689af00a0b8d7191550c81756c0d81f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-16 13:36.19 ---> using "840afb74a4041c85210ff4165e99e80cdf488386f58d8496e9c080416cd38320" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..c199949faa  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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-12-16 13:36.19 ---> using "b5c7d3049e74c499b1900654c9060f6d8526690a0770443d19e190407a753571" from cache


/src: (copy (src neural_nets_lib.opam arrayjit.opam) (dst ./))
2025-12-16 13:36.19 ---> using "f833533c38aac8538446b2055328ec66ee69a530d7a63ade916eed388ac17ad5" from cache


/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)
The following additional pinnings are required by neural_nets_lib.dev:
- ppx_minidebug.dev at git+https://github.com/lukstafi/ppx_minidebug.git#86a19de906add05caa0aa1626add1572da2f070d
- notty-community.dev at git+https://github.com/lukstafi/notty-community.git#708e36ba78ecb4ec1bf12de2b087e549d6e42893
Pin and install them? [y/n] y
[ppx_minidebug.dev] synchronised (no changes)
ppx_minidebug is now pinned to git+https://github.com/lukstafi/ppx_minidebug.git#86a19de906add05caa0aa1626add1572da2f070d (version dev)
[notty-community.dev] synchronised (no changes)
notty-community is now pinned to git+https://github.com/lukstafi/notty-community.git#708e36ba78ecb4ec1bf12de2b087e549d6e42893 (version dev)
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-12-16 13:36.19 ---> using "90ef90758339bac606d74c696c2b78579d130e0e5591ce203926e477fb45f5f7" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-16 13:36.19 ---> using "8c0b8408c71e3b98e8b7ae7feccb6fddefdb1fa740d189199643eb4c7dd1950f" from cache


/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.1.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.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 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"
- 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 [84.8 kB]
- Fetched 176 kB in 0s (1736 kB/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-12-16 13:36.21: Job failed: Failed: Build failed