2024-12-18 17:26.24: New job: test ahrefs/atd https://github.com/ahrefs/atd.git#refs/pull/418/head (94051f98de3a7e8c91a285a9465646b12d6c4111) (linux-x86_64:(lint-opam)) Base: ocaml/opam:debian-12-ocaml-5.0@sha256:253ce5052753f1dd9fa314877903b7bd7f3025b1901e6b4c4debecc08724dcb2 Opam files lint To reproduce locally: git clone --recursive "https://github.com/ahrefs/atd.git" && cd "atd" && git fetch origin "refs/pull/418/head" && git reset --hard 94051f98 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.0@sha256:253ce5052753f1dd9fa314877903b7bd7f3025b1901e6b4c4debecc08724dcb2 # debian-12-5.0_opam-2.3 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 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 || git fetch origin master) && git reset -q --hard 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam ./ RUN opam pin add -yn atdts.dev './' && \ opam pin add -yn atds.dev './' && \ opam pin add -yn atdpy.dev './' && \ opam pin add -yn atdj.dev './' && \ opam pin add -yn atdgen.dev './' && \ opam pin add -yn atdgen-runtime.dev './' && \ opam pin add -yn atdgen-codec-runtime.dev './' && \ opam pin add -yn atdd.dev './' && \ opam pin add -yn atdcpp.dev './' && \ opam pin add -yn atd.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 csexp.1.5.2 dune.3.17.0 dyn.3.17.0 easy-format.1.3.4 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 logs.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-core.2.3.0 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.17.0 parsexp.v0.16.0 pp.2.0.0 re.1.12.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.17.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.2 --depext-only -y atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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 2024-12-18 17:26.24: Using cache hint "ahrefs/atd-ocaml/opam:debian-12-ocaml-5.0@sha256:253ce5052753f1dd9fa314877903b7bd7f3025b1901e6b4c4debecc08724dcb2-debian-12-5.0_opam-2.3-a2761bfae397080fd3ca94d45a227a29" 2024-12-18 17:26.24: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.0@sha256:253ce5052753f1dd9fa314877903b7bd7f3025b1901e6b4c4debecc08724dcb2) (comment debian-12-5.0_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.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 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 || git fetch origin master) && git reset -q --hard 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src atdts.opam atds.opam atdpy.opam atdj.opam atdgen.opam atdgen-runtime.opam atdgen-codec-runtime.opam atdd.opam atdcpp.opam atd.opam) (dst ./)) (run (network host) (shell "opam pin add -yn atdts.dev './' && \ \nopam pin add -yn atds.dev './' && \ \nopam pin add -yn atdpy.dev './' && \ \nopam pin add -yn atdj.dev './' && \ \nopam pin add -yn atdgen.dev './' && \ \nopam pin add -yn atdgen-runtime.dev './' && \ \nopam pin add -yn atdgen-codec-runtime.dev './' && \ \nopam pin add -yn atdd.dev './' && \ \nopam pin add -yn atdcpp.dev './' && \ \nopam pin add -yn atd.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-python-3.9.0.0 csexp.1.5.2 dune.3.17.0 dyn.3.17.0 easy-format.1.3.4 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 jsonm.1.0.2 logs.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-core.2.3.0 opam-dune-lint.0.6 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.17.0 parsexp.v0.16.0 pp.2.0.0 re.1.12.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.17.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2") (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 atdts.dev atds.dev atdpy.dev atdj.dev atdgen.dev atdgen-runtime.dev atdgen-codec-runtime.dev atdd.dev atdcpp.dev atd.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")) ) 2024-12-18 17:26.24: Waiting for resource in pool OCluster 2024-12-18 17:26.24: Waiting for worker… 2024-12-18 17:26.28: Got resource from pool OCluster Building on x86-bm-c1.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/atd.git-0522986d61cf6e9ad51db72a3d5660d347be8a7a/.git/ HEAD is now at 94051f9 add unix library (from ocaml/opam:debian-12-ocaml-5.0@sha256:253ce5052753f1dd9fa314877903b7bd7f3025b1901e6b4c4debecc08724dcb2) 2024-12-18 17:27.38 ---> saved as "d659d8becf3f26334116d2aae1c48e40b51fd3ef300f4b9b3360a0bd80c4ea24" /: (comment debian-12-5.0_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.2 /usr/bin/opam")) 2024-12-18 17:27.38 ---> saved as "e4d08a1c0e42a72952f4e27a2e5e30cafda78bef2fd8b93dba3ee55798225320" /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] synchronised from file:///home/opam/opam-repository 2024-12-18 17:29.06 ---> saved as "7da8ba53f98cbe3bd465144dfc4b83d370ad6e4d288a4d6cf44388063a75612c" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-126-generic The OCaml toplevel, version 5.0.0 2.2.1 2024-12-18 17:29.06 ---> saved as "80f0457e526e26483d997b4b31985d5328b7b83483b43b7e30c266cb582bd24f" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-12-18 17:29.06 ---> saved as "46a95b88bccba0b35319c58594539c66c7c1bf322a01f8b7bf97bcc3064e9435" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 || git fetch origin master) && git reset -q --hard 1b58d8c4dd40d1b4a0893c7b9182b698c1b34c44 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 11bdbee611..f195fd3ffc master -> origin/master 1b58d8c4dd Merge pull request #26975 from maiste/release-dune-3.17.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> 2024-12-18 17:29.30: Cancelling: Auto-cancelling job because it is no longer needed Job cancelled