Organisationsocaml-ppxppxlib4889a5 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-01-15 08:40.44: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/526/head (4889a553ffc7523030299bc6f71b9cec5cf5a6b4) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/526/head" && git reset --hard 4889a553
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841
# debian-12-4.04_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 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ppxlib.dev ppxlib-bench.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=ppxlib,ppxlib-bench @doc || (echo "dune build @doc failed"; exit 2)


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-01-15 08:40.44: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841-debian-12-4.04_opam-2.3-93aa92a78934f4100fd54248f5e5706b"
2025-01-15 08:40.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
(comment debian-12-4.04_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 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 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 ppxlib.dev ppxlib-bench.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=ppxlib,ppxlib-bench @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2025-01-15 08:40.44: Waiting for resource in pool OCluster
2025-01-15 08:40.44: Waiting for worker…
2025-01-15 08:41.14: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 4889a553 Add json mapper for pp_ast


(from ocaml/opam:debian-12-ocaml-4.04@sha256:8d876fd158ecc34ee68484d0186cea526782d513322df9c964f50b5d813c9841)
2025-01-15 08:42.34 ---> saved as "8e3e971a1f7c27fb1dcf78dea00b98d8715ce8ee0ad3f8247dc016846c8033a7"


/: (comment debian-12-4.04_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-01-15 08:42.34 ---> saved as "609b097f138093ee3ce0366b07fa5829b4ad52a5190fe5a26f4be4fbc38aecbb"


/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
2025-01-15 08:44.51 ---> saved as "ba55caa153e9a65bbe3e6337be9da302d81028170219d058fd0449a5edafa44a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.04.2
2.2.1
2025-01-15 08:44.52 ---> saved as "91c03873a52d2368456ff644fdf42acecd59498db31bd5b8d00d5bf063f53178"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-15 08:44.53 ---> saved as "db18e373c1ca8cf202ac9e09fc19d718d09881f4c4772a91ce0f640be89feb99"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 47950d8d7324f9d7c80eaaccd551df897ffa89cc || git fetch origin master) && git reset -q --hard 47950d8d7324f9d7c80eaaccd551df897ffa89cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
de786e28db..451b1e526c  master     -> origin/master
47950d8d73 Merge pull request #27256 from maiste/chore/mark-jbuilder-as-deprecated


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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-01-15 08:47.13 ---> saved as "d1eac446dfe60f291c0b1eb91b8f1e8c74815c92e2ead8f7445eeb1037c0e206"


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-01-15 08:47.13 ---> saved as "caa008b0092fb313e882351de4034cde89024a7660f13dea2a8942d16a020e2d"


/src: (run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-01-15 08:47.24 ---> saved as "48aedac0f8e7af9dba78b0a20c604932aa85c1293fa06aa72cc59b3ef2e30fe1"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-15 08:47.25 ---> saved as "6ace91712e3e091711752de1597f641d014f56a7ab665e6e78752c38ee703f2c"


/src: (env DEPS "base.v0.9.0 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 dune.3.17.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta7 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 re.1.11.0 seq.0.3.1 sexplib0.v0.15.0 stdlib-shims.0.3.0 yojson.2.2.2")


/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 ppxlib.dev ppxlib-bench.dev $DEPS"))
2025-01-15 08:47.25: Cancelling: Auto-cancelling job because it is no longer needed
+ /usr/bin/sudo "apt-get" "update"
Job cancelled