Organisationsygrekocurl1a6c22 ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2025-02-17 23:23.41: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/88/head (1a6c2240f0b931a5af36760e9e66ba0a44243f6d) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/88/head" && git reset --hard 1a6c2240
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
# 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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.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 cmdliner.1.3.0 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 dyn.3.17.2 fmt.0.9.0 fpath.0.7.3 jsonm.1.0.2 logs.0.7.0 lwt.5.9.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 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.2 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.3.0 stdlib-shims.0.3.0 stdune.3.17.2 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocurl.dev curl_lwt.dev curl.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-02-17 23:23.41: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463-debian-12-5.0_opam-2.3-5327b273c77ff17d008051c3ba166e7d"
2025-02-17 23:23.41: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
(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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.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 cmdliner.1.3.0 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 dyn.3.17.2 fmt.0.9.0 fpath.0.7.3 jsonm.1.0.2 logs.0.7.0 lwt.5.9.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 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.2 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.3.0 stdlib-shims.0.3.0 stdune.3.17.2 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3")
(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 ocurl.dev curl_lwt.dev curl.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-02-17 23:23.41: Waiting for resource in pool OCluster
2025-02-18 01:04.10: Waiting for worker…
2025-02-18 01:09.42: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 1a6c224 Write callback with buffer access


(from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
2025-02-18 01:09.42 ---> using "c1ce6044a10861c2208f8129df92060b6dd533392c6b8377391b3dabc3a3cff1" from cache


/: (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"))
2025-02-18 01:09.42 ---> using "decf3c92344c69f6f5e4a13e1ebc63004bcb5c49cab36c6c22c4b255c27535af" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-18 01:09.42 ---> using "f5344162fb05642375f56610275c0958e2bc99458b2c11e38a73801129ec2ced" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-02-18 01:09.42 ---> using "07d74c922d8db6145b207aaeb95ca23c737cb6a942367cc1984578dce6dcbe0f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-18 01:09.42 ---> using "dd25e70afcca530c566625a79bf4076711a2a2c4f438020970c76c9382c7142a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-02-18 01:09.42 ---> using "3493490fbedf884e10476ca4105a01a8820bd4025feac17147e897a05a662dfd" from cache


/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-02-18 01:09.42 ---> saved as "f7835defea863b38661ee0f7e0bcdfed89fed95f19cfca49514d7643d2a164f0"


/src: (run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[ocurl.dev] synchronised (file:///src)
ocurl is now pinned to file:///src (version dev)
Package curl_lwt does not exist, create as a NEW package? [y/n] y
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
Package curl does not exist, create as a NEW package? [y/n] y
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2025-02-18 01:09.50 ---> saved as "9410221fd62cdef44ee6a903feb4ea7c6e9b24e14b231693257bec66d0d5bebd"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 01:09.50 ---> saved as "504d127b3f9e64095bbdce5aab7f4628e80e03b3252134f5a6f466b998eba2a4"


/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 cmdliner.1.3.0 conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 dyn.3.17.2 fmt.0.9.0 fpath.0.7.3 jsonm.1.0.2 logs.0.7.0 lwt.5.9.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 ocamlgraph.2.1.0 ocplib-endian.1.2 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.2 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.3.0 stdlib-shims.0.3.0 stdune.3.17.2 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3")


/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 ocurl.dev curl_lwt.dev curl.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1039 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (file:///src)
[curl_lwt.dev] synchronised (file:///src)
[ocurl.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).


The following system packages will first need to be installed:
libcurl4-gnutls-dev


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../libcurl4-gnutls-dev_7.88.1-10+deb12u8_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u8) ...
2025-02-18 01:10.25 ---> saved as "c510d1c69edb199068095b25d7c17e56d2c521b0b25d8738da28f18e62ab8f0e"


/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 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).
The following actions will be performed:
=== install 41 packages
- install astring           0.8.5
- install base-bytes        base
- install bos               0.2.1
- install cmdliner          1.3.0
- install conf-libcurl      2
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.17.2
- install dune-configurator 3.17.2
- install dyn               3.17.2
- install fmt               0.9.0
- install fpath             0.7.3
- install jsonm             1.0.2
- install logs              0.7.0
- install lwt               5.9.0
- install num               1.5-1
- install ocamlbuild        0.15.0
- install ocamlfind         1.9.8
- install ocamlgraph        2.1.0
- install ocplib-endian     1.2
- install opam-core         2.3.0
- install opam-dune-lint    0.6
- install opam-file-format  2.1.6
- install opam-format       2.3.0
- install opam-repository   2.3.0
- install opam-state        2.3.0
- install ordering          3.17.2
- install parsexp           v0.16.0
- install pp                2.0.0
- install re                1.12.0
- install rresult           0.7.0
- install seq               base
- install sexplib           v0.16.0
- install sexplib0          v0.16.0
- install sha               1.15.4
- install spdx_licenses     1.3.0
- install stdlib-shims      0.3.0
- install stdune            3.17.2
- install swhid_core        0.1
- install topkg             1.0.7
- install uutf              1.0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-libcurl.2
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved opam-dune-lint.0.6  (cached)
-> retrieved opam-file-format.2.1.6  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved opam-core.2.3.0, opam-format.2.3.0, opam-repository.2.3.0, opam-state.2.3.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> 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.3.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2, dyn.3.17.2, ordering.3.17.2, stdune.3.17.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed opam-file-format.2.1.6
-> installed pp.2.0.0
-> installed sexplib0.v0.16.0
-> installed spdx_licenses.1.3.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed ocplib-endian.1.2
-> installed re.1.12.0
-> installed ordering.3.17.2
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.17.2
-> installed sha.1.15.4
-> installed ocamlgraph.2.1.0
-> installed sexplib.v0.16.0
-> installed dyn.3.17.2
-> installed lwt.5.9.0
-> installed logs.0.7.0
-> installed stdune.3.17.2
-> installed opam-core.2.3.0
-> installed bos.0.2.1
-> installed opam-format.2.3.0
-> installed opam-repository.2.3.0
-> installed opam-state.2.3.0
-> installed opam-dune-lint.0.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-18 01:12.25 ---> saved as "563899be76930b2c5120e99e4b76996231107887da2703bf8af6b166634e180b"


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (workdir /src)


/src: (copy (src .) (dst /src/))
2025-02-18 01:12.25 ---> saved as "aae66899769d0f183c370040eb54d6bfeaaf7ee690a7858cc81a3a3aa148d560"


/src: (run (shell "opam lint"))
/src/ocurl.opam: Passed.
/src/curl_lwt.opam: Passed.
/src/curl.opam: Passed.
2025-02-18 01:12.25 ---> saved as "1667a4be1cd50cac6a96a0d4727515f259e319f51e938a27f2f79c23d7d7a29e"


/src: (run (shell "opam exec -- opam-dune-lint"))
curl.opam: OK
curl_lwt.opam: OK
ocurl.opam: OK
Error in curl: Your dune-project file indicates that this package requires at least dune 3.0 but your opam file only requires dune >= 2.8. Please check which requirement is the right one, and fix the other.
Error in curl_lwt: Your dune-project file indicates that this package requires at least dune 3.0 but your opam file only requires dune >= 2.8. Please check which requirement is the right one, and fix the other.
Warning in ocurl: The package has a dune-project file but no explicit dependency on dune was found.
"/usr/bin/env" "bash" "-c" "opam exec -- opam-dune-lint" failed with exit status 1
2025-02-18 01:12.26: Job failed: Failed: Build failed