Organisationsocaml-multicoreeiod25bfb ()(lint-opam)

(lint-opam)

Link Copied
Code Copied

Logs

2024-11-30 12:41.17: New job: test ocaml-multicore/eio https://github.com/ocaml-multicore/eio.git#refs/pull/785/head (d25bfbfc233d3a2bd02a2c5bdae641a4ecfc6464) (linux-x86_64:(lint-opam))
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d
Opam files lint


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/eio.git" && cd "eio" && git fetch origin "refs/pull/785/head" && git reset --hard d25bfbfc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d
# debian-12-5.1_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 eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam ./
RUN opam pin add -yn eio_windows.dev './' && \
opam pin add -yn eio_posix.dev './' && \
opam pin add -yn eio_main.dev './' && \
opam pin add -yn eio_linux.dev './' && \
opam pin add -yn eio.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 containers.3.15 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dscheck.0.5.0 dune.3.17.0 dune-configurator.3.17.0 dyn.3.17.0 either.1.0.0 fmt.0.9.0 fpath.0.7.3 hmap.0.8.1 host-arch-x86_64.1 host-system-other.1 iomux.0.3 jsonm.1.0.2 kcas.0.7.0 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 num.1.5-1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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 optint.0.3.0 ordering.3.17.0 oseq.0.5.1 parsexp.v0.17.0 pp.2.0.0 psq.0.2.1 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.17.0 swhid_core.0.1 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uring.0.9 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 eio_windows.dev eio_posix.dev eio_main.dev eio_linux.dev eio.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-11-30 12:41.17: Using cache hint "ocaml-multicore/eio-ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d-debian-12-5.1_opam-2.3-d52c3f7bbf17600f0fa620b4c95fcec5"
2024-11-30 12:41.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d)
(comment debian-12-5.1_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 eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn eio_windows.dev './' && \
\nopam pin add -yn eio_posix.dev './' && \
\nopam pin add -yn eio_main.dev './' && \
\nopam pin add -yn eio_linux.dev './' && \
\nopam pin add -yn eio.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.8.0 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 containers.3.15 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dscheck.0.5.0 dune.3.17.0 dune-configurator.3.17.0 dyn.3.17.0 either.1.0.0 fmt.0.9.0 fpath.0.7.3 hmap.0.8.1 host-arch-x86_64.1 host-system-other.1 iomux.0.3 jsonm.1.0.2 kcas.0.7.0 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 num.1.5-1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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 optint.0.3.0 ordering.3.17.0 oseq.0.5.1 parsexp.v0.17.0 pp.2.0.0 psq.0.2.1 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 stdune.3.17.0 swhid_core.0.1 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uring.0.9 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 eio_windows.dev eio_posix.dev eio_main.dev eio_linux.dev eio.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-11-30 12:41.17: Waiting for resource in pool OCluster
2024-11-30 12:41.17: Waiting for worker…
2024-11-30 12:41.17: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at d25bfbf Fix fchmodat on linux and add tests


(from ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d' locally
docker.io/ocaml/opam@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d: Pulling from ocaml/opam
bae6eab933bb: Pulling fs layer
bae6eab933bb: Verifying Checksum
bae6eab933bb: Download complete
bae6eab933bb: Pull complete
Digest: sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d
Status: Downloaded newer image for ocaml/opam@sha256:b7658d29f24237751074dbf68e893a8a9f5f25ca8d6f25c5897802ba8b8bec0d
2024-11-30 12:42.53 ---> saved as "f86eec499291f2b28842cc653752f52086abfc82887c86afc6cc67a44d155f10"


/: (comment debian-12-5.1_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-11-30 12:42.53 ---> saved as "039efa8308b04e6db537e2fdfe0986cc92a64c4440cb512d9b2c94f4fbc4689c"


/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-30 12:44.03 ---> saved as "11fcc470ab47726dc535a2016745e7118e0ce1fa252745e7b9404bef3538f2ee"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.1.1
2.2.1
2024-11-30 12:44.03 ---> saved as "b33a866de7123ab20e17d8a6019bcb3a1c644011fdc455c1fd6bdce846e0f99a"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-30 12:44.03 ---> saved as "7fa9be8fda38341c5176e47b5269c48f93e952f4055592a5d10c4e8f472cda9e"


/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..1ee5091fb8  master     -> origin/master
1b58d8c4dd Merge pull request #26975 from maiste/release-dune-3.17.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


2024-11-30 12:44.55: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled