2026-02-15 17:59.58: New job: test ocurrent/opam-dune-lint https://github.com/ocurrent/opam-dune-lint.git#refs/heads/master (04aed0bd0e3e766f8e45c4af55a2051afd0b3b36) (linux-x86_64:opensuse-16.0-4.14_opam-2.5) Base: ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocurrent/opam-dune-lint.git" -b "master" && cd "opam-dune-lint" && git reset --hard 04aed0bd cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24 # opensuse-16.0-4.14_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 opam-dune-lint.opam ./ RUN opam pin add -yn opam-dune-lint.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.1 dyn.3.21.1 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 jsonm.1.0.2 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.5.0 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.21.1 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.21.1 swhid_core.0.1 top-closure.3.21.1 topkg.1.1.1 uutf.1.0.4" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y opam-dune-lint.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-02-15 17:59.58: Using cache hint "ocurrent/opam-dune-lint-ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24-opensuse-16.0-4.14_opam-2.5-9a5944df2ee5eb50a7986ae0069f6736" 2026-02-15 17:59.58: Using OBuilder spec: ((from ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24) (comment opensuse-16.0-4.14_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.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src opam-dune-lint.opam) (dst ./)) (run (network host) (shell "opam pin add -yn opam-dune-lint.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.1 dyn.3.21.1 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 jsonm.1.0.2 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.5.0 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.21.1 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.21.1 swhid_core.0.1 top-closure.3.21.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.5 --depext-only -y opam-dune-lint.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2026-02-15 17:59.58: Waiting for resource in pool OCluster 2026-02-15 20:44.25: Waiting for worker… 2026-02-15 20:47.21: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at 04aed0b Merge pull request #72 from amongonz/newline-patch (from ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24) Unable to find image 'ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24' locally docker.io/ocaml/opam@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24: Pulling from ocaml/opam 64cfa2a65095: Already exists 692f5537ba42: Already exists 43d4ccad78cf: Already exists 70070cd3c955: Already exists ec78a4ac80e5: Already exists eefb9793fafd: Already exists 4c43fcde2d96: Already exists f8ebe3d69c53: Already exists 5701de31e7b4: Already exists 6f0d4e876bbd: Already exists 514a778e56ac: Already exists 6f18741b08bc: Already exists b55a7ea2c456: Already exists 2feb3e941e06: Already exists 653f3a3f03c4: Already exists c33d44c2fe4b: Already exists 4fea671b1885: Already exists b9f264b7c21f: Already exists 6d5265cd7803: Already exists 4f4fb700ef54: Already exists 7d8fef25b78c: Already exists 6b0aa9646d3b: Already exists 10db3a3b9be6: Already exists 2d2da8b6b9b7: Already exists 1ec924573b5f: Already exists 6073c773f2c4: Already exists bb3927dba7ec: Already exists 2fe1303967bb: Already exists 8f6ca5296dbb: Already exists a3cfb92e75bb: Already exists a8021b72a568: Already exists 1ec42febf652: Already exists a97cb0151adc: Already exists 49c1029be156: Already exists 89e146cf2a15: Already exists c205ee7826da: Already exists a1bc65435ed6: Already exists 42d855c8ca83: Already exists da6404631fa3: Pulling fs layer 47b2fa122fda: Pulling fs layer da6404631fa3: Waiting 7822984ee8ab: Pulling fs layer 47b2fa122fda: Waiting 7822984ee8ab: Waiting 424bc6dca278: Pulling fs layer 424bc6dca278: Waiting 47b2fa122fda: Download complete 7822984ee8ab: Download complete 424bc6dca278: Download complete da6404631fa3: Verifying Checksum da6404631fa3: Download complete da6404631fa3: Pull complete 47b2fa122fda: Pull complete 7822984ee8ab: Pull complete 424bc6dca278: Pull complete Digest: sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24 Status: Downloaded newer image for ocaml/opam@sha256:bc9402df5e62337a46a305774c8027b5065bdc70d2c2589b8ee8188136692f24 2026-02-15 20:47.22 ---> using "d24bdd8603442a0d7912975028b0ce88114965e0f6ed3b35a5a8333e7774aba7" from cache /: (comment opensuse-16.0-4.14_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.5 /usr/bin/opam")) 2026-02-15 20:47.22 ---> using "996ffe17ac4a10c9b2b821a4508e4e1e4518eb1960823fc421a8e661afa4309b" 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 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-02-15 20:47.22 ---> using "1d7b0a91902b43346c4e8ab2e9874d7471306deec503ec41fcc28264a4b1c2ab" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-87-generic The OCaml toplevel, version 4.14.2 2.5.0 2026-02-15 20:47.22 ---> using "f0ea699475bc3e945ddb203d11c27b5445c0ff5c6dd75e87dbc3cda5aa232632" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-02-15 20:47.22 ---> using "34be3f037acd9f856fc47e146277b81620ba69be0149e86caa6915f9a25d5af3" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u")) 302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1 <><> 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-02-15 20:47.22 ---> using "f635dec762c1439d34e5b3e8e44aafe55da5f07eaf1110147d65c475fe66eccc" from cache /src: (copy (src opam-dune-lint.opam) (dst ./)) 2026-02-15 20:47.22 ---> using "1a635385879b272b62bd2ac0c0657dcd09f9acf0a350987c42a6405c691b5450" from cache /src: (run (network host) (shell "opam pin add -yn opam-dune-lint.dev './'")) [opam-dune-lint.dev] synchronised (file:///src) opam-dune-lint is now pinned to file:///src (version dev) 2026-02-15 20:47.22 ---> using "464dee4115551103270f0a2f6c8eb3fe25e4d965f48bb20c97ef1895660da48a" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-02-15 20:47.22 ---> using "d56a5f0592cd4deb3181d71d3f55b93aaf59d9a9f16aeb0a1e372433127fd956" from cache /src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.1 dyn.3.21.1 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 jsonm.1.0.2 logs.0.10.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.5.0 opam-file-format.2.2.0 opam-format.2.5.0 opam-repository.2.5.0 opam-state.2.5.0 ordering.3.21.1 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.21.1 swhid_core.0.1 top-closure.3.21.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.5 --depext-only -y opam-dune-lint.dev $DEPS")) + /usr/bin/sudo "zypper" "--non-interactive" "refresh" - Repository 'repo-openh264 (16.0)' is up to date. - Retrieving repository 'repo-oss (16.0)' metadata [.. - Looking for gpg keys in repository repo-oss (16.0). - gpgkey=http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml.key - .. - - Note: Received 1 new package signing key from repository "repo-oss (16.0)": - - Those additional keys are usually used to sign packages shipped by the repository. In order to - validate those packages upon download and installation the new keys will be imported into the rpm - database. - - New: - Key Fingerprint: F044 C2C5 07A1 262B 538A AADD 8A49 EB03 25DB 7AE0 - Key Name: openSUSE:Backports OBS Project <openSUSE:Backports@build.opensuse.org> - Key Algorithm: RSA 4096 - Key Created: Wed May 10 14:46:12 2023 - Key Expires: Sun May 9 14:46:12 2027 - Rpm Name: gpg-pubkey-25db7ae0-645bae34 - - The repository metadata introducing the new keys have been signed and validated by the trusted - key: - - Repository: repo-oss (16.0) - Key Fingerprint: AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4 - Key Name: openSUSE Project Signing Key <opensuse@opensuse.org> - Key Algorithm: RSA 4096 - Key Created: Mon Jun 20 14:03:14 2022 - Key Expires: Fri Jun 19 14:03:14 2026 - Rpm Name: gpg-pubkey-29b700a4-62b07e22 - - . - .... - .......... - ......... - .......... - .......... - .....done] - Building repository 'repo-oss (16.0)' cache [.. - ..done] - All repositories have been refreshed. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-dune-lint.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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-bigarray is already installed (current version is base). # To update the current shell environment, run: eval $(opam env) 2026-02-15 20:47.39 ---> saved as "3aa6957918dff360623bd111138dd2f609158f16435a7f178543cdd884031d28" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-bigarray is already installed (current version is base). The following actions will be performed: === install 41 packages - install astring 0.8.5 - install bos 0.2.1 - install cmdliner 2.1.0 - install csexp 1.5.2 - install dune 3.21.1 - install dyn 3.21.1 - install fmt 0.11.0 - install fpath 0.7.3 - install fs-io 3.21.1 - install jsonm 1.0.2 - install logs 0.10.0 - install menhir 20260209 - install menhirCST 20260209 - install menhirGLR 20260209 - install menhirLib 20260209 - install menhirSdk 20260209 - install num 1.6 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ocamlgraph 2.2.0 - install opam-core 2.5.0 - install opam-file-format 2.2.0 - install opam-format 2.5.0 - install opam-repository 2.5.0 - install opam-state 2.5.0 - install ordering 3.21.1 - install parsexp v0.16.0 - install patch 3.1.0 - install pp 2.0.0 - install re 1.14.0 - install rresult 0.7.0 - install sexplib v0.16.0 - install sexplib0 v0.16.0 - install sha 1.15.4 - install spdx_licenses 1.4.0 - install stdlib-shims 0.3.0 - install stdune 3.21.1 - install swhid_core 0.1 - install top-closure 3.21.1 - install topkg 1.1.1 - install uutf 1.0.4 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved bos.0.2.1 (cached) -> retrieved cmdliner.2.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved jsonm.1.0.2 (cached) -> retrieved logs.0.10.0 (cached) -> retrieved num.1.6 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached) -> retrieved dune.3.21.1, dyn.3.21.1, fs-io.3.21.1, ordering.3.21.1, stdune.3.21.1, top-closure.3.21.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocamlgraph.2.2.0 (cached) -> retrieved opam-core.2.5.0, opam-format.2.5.0, opam-repository.2.5.0, opam-state.2.5.0 (cached) -> retrieved opam-file-format.2.2.0 (cached) -> retrieved parsexp.v0.16.0 (cached) -> retrieved patch.3.1.0 (cached) -> retrieved pp.2.0.0 (cached) -> retrieved re.1.14.0 (cached) -> installed cmdliner.2.1.0 -> installed num.1.6 -> retrieved rresult.0.7.0 (cached) -> retrieved sexplib.v0.16.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved sha.1.15.4 (cached) -> retrieved spdx_licenses.1.4.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved swhid_core.0.1 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved topkg.1.1.1 (cached) -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed topkg.1.1.1 -> installed rresult.0.7.0 -> installed uutf.1.0.4 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed jsonm.1.0.2 -> installed fpath.0.7.3 -> installed logs.0.10.0 -> installed bos.0.2.1 -> installed dune.3.21.1 -> installed csexp.1.5.2 -> installed menhirCST.20260209 -> installed menhirGLR.20260209 -> installed menhirLib.20260209 -> installed menhirSdk.20260209 -> installed ocamlgraph.2.2.0 -> installed patch.3.1.0 -> installed pp.2.0.0 -> installed re.1.14.0 -> installed sexplib0.v0.16.0 -> installed spdx_licenses.1.4.0 -> installed stdlib-shims.0.3.0 -> installed swhid_core.0.1 -> installed ordering.3.21.1 -> installed parsexp.v0.16.0 -> installed fs-io.3.21.1 -> installed top-closure.3.21.1 -> installed sha.1.15.4 -> installed dyn.3.21.1 -> installed sexplib.v0.16.0 -> installed menhir.20260209 -> installed opam-file-format.2.2.0 -> installed opam-core.2.5.0 -> installed stdune.3.21.1 -> installed opam-format.2.5.0 -> installed opam-repository.2.5.0 -> installed opam-state.2.5.0 Done. # To update the current shell environment, run: eval $(opam env) 2026-02-15 20:48.56 ---> saved as "47fdcad1816f41b0330ac738b86ea0c28d96405365f7a1af5c42bb635e68fdd6" /src: (copy (src .) (dst /src)) 2026-02-15 20:48.57 ---> saved as "6f3e2710579c8c30e92d57971d831b2dab7c5358ae2ad9c81ceb1a068e135640" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "tests/test_empty_dune.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_empty_dune.t _build/default/tests/test_empty_dune.t.corrected diff --git a/_build/default/tests/test_empty_dune.t b/_build/default/tests/test_empty_dune.t.corrected index 727a0c9..11d1512 100644 --- a/_build/default/tests/test_empty_dune.t +++ b/_build/default/tests/test_empty_dune.t.corrected @@ -36,26 +36,11 @@ Check that all the libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - (ocamlfind - (>= *)) - (fmt - (>= *)))) File "tests/test_opam_update.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_opam_update.t _build/default/tests/test_opam_update.t.corrected diff --git a/_build/default/tests/test_opam_update.t b/_build/default/tests/test_opam_update.t.corrected index 15a9827..f4e57d4 100644 --- a/_build/default/tests/test_opam_update.t +++ b/_build/default/tests/test_opam_update.t.corrected @@ -61,7 +61,12 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat test.opam | sed 's/= [^&)}]*/= */g' # This file is generated by dune, edit dune-project instead @@ -69,10 +74,6 @@ Check that the missing libraries get added: synopsis: "Test package" depends: [ "dune" {>= *} - "opam-state" {>= *& with-test} - "bos" {>= *& with-test} - "ocamlfind" {>= *} - "fmt" {>= *} "cmdliner" "odoc" {with-doc} ] File "tests/test_dune_same_exe_name.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_same_exe_name.t _build/default/tests/test_dune_same_exe_name.t.corrected diff --git a/_build/default/tests/test_dune_same_exe_name.t b/_build/default/tests/test_dune_same_exe_name.t.corrected index c25c319..fa72289 100644 --- a/_build/default/tests/test_dune_same_exe_name.t +++ b/_build/default/tests/test_dune_same_exe_name.t.corrected @@ -58,4 +58,9 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from bin] "opam-state" {with-test & >= "1.0"} [from bin] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] File "tests/test_dune.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune.t _build/default/tests/test_dune.t.corrected diff --git a/_build/default/tests/test_dune.t b/_build/default/tests/test_dune.t.corrected index ba4ac70..c734bb2 100644 --- a/_build/default/tests/test_dune.t +++ b/_build/default/tests/test_dune.t.corrected @@ -47,30 +47,14 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - (fmt - (>= *)) - (ocamlfind - (>= *)) - libfoo)) Check adding and removing of test markers: @@ -96,26 +80,19 @@ Check adding and removing of test markers: "ocamlfind" [from /] (remove {with-test}) "bos" {with-test} [from /] (missing {with-test} annotation) "opam-state" {with-test} [from /] (missing {with-test} annotation) - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state :with-test) - (bos - (and - :with-test - (>= *))) - fmt - (ocamlfind - (>= *)) - libfoo)) $ opam-dune-lint - test.opam: OK + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'describe' 'opam-files' '--format' 'csexp']: exited with 1") + + [125] File "tests/test_dune_copy_install.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_copy_install.t _build/default/tests/test_dune_copy_install.t.corrected diff --git a/_build/default/tests/test_dune_copy_install.t b/_build/default/tests/test_dune_copy_install.t.corrected index edbcebd..1be8b94 100644 --- a/_build/default/tests/test_dune_copy_install.t +++ b/_build/default/tests/test_dune_copy_install.t.corrected @@ -70,43 +70,14 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - (fmt - (>= *)) - (ocamlfind - (>= *)) - libfoo)) - - (package - (name zombie) - (synopsis "Zombie package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)))) Check adding and removing of test markers: @@ -139,40 +110,19 @@ Check adding and removing of test markers: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state :with-test) - (bos - (and - :with-test - (>= *))) - fmt - (ocamlfind - (>= *)) - libfoo)) - - (package - (name zombie) - (synopsis "Zombie package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)))) $ opam-dune-lint - test.opam: OK - zombie.opam: OK + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'describe' 'opam-files' '--format' 'csexp']: exited with 1") + + [125] File "tests/test_dune_stanza_install.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_stanza_install.t _build/default/tests/test_dune_stanza_install.t.corrected diff --git a/_build/default/tests/test_dune_stanza_install.t b/_build/default/tests/test_dune_stanza_install.t.corrected index 1e2ca25..11bda9c 100644 --- a/_build/default/tests/test_dune_stanza_install.t +++ b/_build/default/tests/test_dune_stanza_install.t.corrected @@ -50,30 +50,14 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - (fmt - (>= *)) - (ocamlfind - (>= *)) - libfoo)) Check adding and removing of test markers: @@ -99,26 +83,19 @@ Check adding and removing of test markers: "ocamlfind" [from /] (remove {with-test}) "bos" {with-test} [from /] (missing {with-test} annotation) "opam-state" {with-test} [from /] (missing {with-test} annotation) - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state :with-test) - (bos - (and - :with-test - (>= *))) - fmt - (ocamlfind - (>= *)) - libfoo)) $ opam-dune-lint - test.opam: OK + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'describe' 'opam-files' '--format' 'csexp']: exited with 1") + + [125] File "tests/test_public_lib.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_public_lib.t _build/default/tests/test_public_lib.t.corrected diff --git a/_build/default/tests/test_public_lib.t b/_build/default/tests/test_public_lib.t.corrected index 661e56b..950d32a 100644 --- a/_build/default/tests/test_public_lib.t +++ b/_build/default/tests/test_public_lib.t.corrected @@ -64,44 +64,14 @@ Check that the missing libraries get added: "bos" {with-test & >= "1.0"} [from /] "opam-state" {with-test & >= "1.0"} [from /] Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - (fmt - (>= *)) - (ocamlfind - (>= *)) - libfoo)) - - (package - (name lib) - (synopsis "Lib package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - sexplib)) Check adding and removing of test markers: @@ -135,41 +105,19 @@ Check adding and removing of test markers: "bos" {with-test} [from /] (missing {with-test} annotation) "opam-state" {with-test} [from /] (missing {with-test} annotation) Note: version numbers are just suggestions based on the currently installed version. - Wrote "dune-project" + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'format-dune-file']: exited with 1") + + [125] $ cat dune-project | sed 's/= [^)}]*/= */g' - (lang dune 2.7) - - (generate_opam_files true) - - (package - (name test) - (synopsis "Test package") - (depends - (opam-state :with-test) - (bos - (and - :with-test - (>= *))) - fmt - (ocamlfind - (>= *)) - libfoo)) - - (package - (name lib) - (synopsis "Lib package") - (depends - (opam-state - (and - (>= *) - :with-test)) - (bos - (and - (>= *) - :with-test)) - sexplib)) $ opam-dune-lint - lib.opam: OK - test.opam: OK + File "dune-project", line 1, characters 0-0: + Error: Invalid first line, expected: (lang <lang> <version>) + opam-dune-lint: internal error, uncaught exception: + Failure("run ['dune' 'describe' 'opam-files' '--format' 'csexp']: exited with 1") + + [125] "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-02-15 20:49.00: Job failed: Failed: Build failed