Organisationsocaml-ppxppx_derivingc6e1b0 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-04-13 10:13.53: New job: test ocaml-ppx/ppx_deriving https://github.com/ocaml-ppx/ppx_deriving.git#refs/heads/master (c6e1b0899e83407f376ce14ae19ad102f5ad4439) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving.git" -b "master" && cd "ppx_deriving" && git reset --hard c6e1b089
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
# debian-13-4.08_opam-2.5
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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving.opam ./
RUN opam pin add -yn ppx_deriving.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.22.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ppx_deriving.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 @doc || (echo "dune build @doc failed"; exit 2)


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


2026-04-13 10:13.53: Using cache hint "ocaml-ppx/ppx_deriving-ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c-debian-13-4.08_opam-2.5-e70bd5fd96c07ee6a41134694386aecb"
2026-04-13 10:13.53: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
(comment debian-13-4.08_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.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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.22.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0")
(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 ppx_deriving.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 @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-04-13 10:13.53: Waiting for resource in pool OCluster
2026-04-13 10:20.24: Waiting for worker…
2026-04-13 10:21.02: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at c6e1b08 Merge pull request #297 from arvidj/aj/create-set-default-loc


(from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c' locally
docker.io/ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Already exists
c29591c91388: Already exists
356a64daa753: Already exists
ac02f8f2062b: Already exists
aaa2f390e4c8: Already exists
b668811757f6: Already exists
32fd4e1a774f: Already exists
b1d486fb8fdf: Already exists
cf8a2024f299: Already exists
8c4a5dac67c3: Already exists
6adfe24d7b40: Already exists
dccd6e3c0589: Already exists
2ee4bcb55cd4: Already exists
2dc3b58478d7: Already exists
daf15e5c44c6: Already exists
564e978a8088: Already exists
564e978a8088: Already exists
25a652a8c456: Already exists
b3bfea7bff3f: Already exists
a00f2937f570: Already exists
78bd1737ebff: Already exists
4f4fb700ef54: Already exists
4291a055edd7: Already exists
3c2b2836d59a: Already exists
7b3e96544a52: Already exists
c72503effb14: Already exists
bca08df11a10: Already exists
2ab0829b2daf: Already exists
1d246d4da211: Already exists
a09cb4870027: Already exists
2ce07b4fe7c0: Already exists
6b96f28d505e: Already exists
b6ad36bba9bf: Already exists
56d62791a0f9: Already exists
4d60780055d1: Already exists
43f57a7c44cb: Already exists
f21057dc4e85: Already exists
e0d2ca1300ed: Already exists
9da2f7598f8e: Already exists
cb569bb28593: Already exists
b32c9abef0bb: Pulling fs layer
dd7da3e42740: Pulling fs layer
06223904e4d3: Pulling fs layer
b18a38618cf8: Pulling fs layer
b18a38618cf8: Waiting
dd7da3e42740: Verifying Checksum
dd7da3e42740: Download complete
06223904e4d3: Verifying Checksum
06223904e4d3: Download complete
b18a38618cf8: Download complete
b32c9abef0bb: Verifying Checksum
b32c9abef0bb: Download complete
b32c9abef0bb: Pull complete
dd7da3e42740: Pull complete
06223904e4d3: Pull complete
b18a38618cf8: Pull complete
Digest: sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Status: Downloaded newer image for ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
2026-04-13 10:21.01 ---> using "228e5ba11f0bea08c69266bb98d12a75785691261b07b0808652a307a04e14b2" from cache


/: (comment debian-13-4.08_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.2 /usr/bin/opam"))
2026-04-13 10:21.01 ---> using "6a21a8bd2da640bf47ce1211004d6a33a1bf41ff753d8b4bb4a6519520cd81af" 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 10:21.01 ---> using "939d97e6190dc36b4f6e94773a2843a2a1549b9ae9e8e3facca1460e0ed37772" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.08.1
2.2.1
2026-04-13 10:21.01 ---> using "eb73d73c6df1334e93e0a643cf6d58799a32bc7b370f755d009a4545ba4f9865" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-13 10:21.01 ---> using "de7fe019fc62fa1e51827ff2ff64dbc0831c3afd9fed2034cda6486fa7e48a49" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-04-13 10:21.01 ---> using "fbad28c74a632e647545a6bab2df787930e492e2daf5d95d28478b0c0c088a96" from cache


/src: (copy (src ppx_deriving.opam) (dst ./))
2026-04-13 10:21.01 ---> saved as "298bcd937f06337d160a8f689da2e3adc51b539a59770eb390487c6d648120b9"


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving.dev './'"))
[ppx_deriving.dev] synchronised (file:///src)
ppx_deriving is now pinned to file:///src (version dev)
2026-04-13 10:21.03 ---> saved as "a07209c7c6c277eaa58531e37ce418dcaa88f0b6df4ea2e48bb6897cc7baa77f"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 10:21.03 ---> saved as "584cfa3ae274d38e2bd8c6b1a0e1129b08cc050000ff1556eca6b7cf249051b2"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.22.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0")


/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 ppx_deriving.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (744 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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).
2026-04-13 10:21.11 ---> saved as "79b5b53d7b519992ad1b1f7a42b0e76f881cf211e4c1065961f8796d39f90eab"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 10 packages
- install cppo                1.8.0
- install dune                3.22.1
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppxlib              0.38.0
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved dune.3.22.1  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.22.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ppxlib.0.38.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-13 10:21.47 ---> saved as "4204e6dca7973bef0de1d5326a29ca9c2df87fdd327a442adb784d279b1b0ebd"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.22.1).
The following actions will be performed:
=== install 14 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      2.1.0  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.11.0 [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
- install odoc          3.1.0
- install odoc-parser   3.1.0  [required by odoc]
- install ptime         1.2.0  [required by crunch]
- install re            1.11.0 [required by tyxml]
- install topkg         1.1.1  [required by fmt, astring, fpath]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.4  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed re.1.11.0
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-13 10:22.09 ---> saved as "03b635b8bf59d168fd7a0c2ce0f71bfa54e9ca099b74b211227ba4f5cac2ce42"


/src: (copy (src .) (dst /src/))
2026-04-13 10:22.09 ---> saved as "d83637d31af9d3e55f87e342272b6605e08167256f645fd35bb85be3f173d97d"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/src/api/.ppx_deriving_api.objs/byte && /home/opam/.opam/4.08/bin/odoc compile -I . -I ../../../../_doc/_odoc/pkg/ppx_deriving --pkg ppx_deriving -o ppx_deriving.odoc ppx_deriving.cmti)
File "ppx_deriving.cppo.mli", line 148, character 6 to line 156, character 8:
Warning: Code blocks should be indented at the opening `{`.
File "ppx_deriving.cmti":
Warning: Failed to compile expansion for class root(Ppx_deriving).mapper
(cd _build/default/_doc/_odocls/ppx_deriving && /home/opam/.opam/4.08/bin/odoc link -I ../../_odoc/pkg/ppx_deriving -I ../../../src/api/.ppx_deriving_api.objs/byte -I ../../../src/runtime/.ppx_deriving_runtime.objs/byte -I ../../../src_plugins/create/.ppx_deriving_create.objs/byte -I ../../../src_plugins/enum/.ppx_deriving_enum.objs/byte -I ../../../src_plugins/eq/.ppx_deriving_eq.objs/byte -I ../../../src_plugins/fold/.ppx_deriving_fold.objs/byte -I ../../../src_plugins/iter/.ppx_deriving_iter.objs/byte -I ../../../src_plugins/make/.ppx_deriving_make.objs/byte -I ../../../src_plugins/map/.ppx_deriving_map.objs/byte -I ../../../src_plugins/ord/.ppx_deriving_ord.objs/byte -I ../../../src_plugins/show/.ppx_deriving_show.objs/byte -I ../../../src_plugins/std/.ppx_deriving_std.objs/byte -o ppx_deriving.odocl ../../../src/api/.ppx_deriving_api.objs/byte/ppx_deriving.odoc)
File "ppx_deriving.cppo.mli", line 187, characters 30-39:
Warning: Failed to resolve reference unresolvedroot(Stdlib) Couldn't find "Stdlib"
2026-04-13 10:22.10 ---> saved as "75108953b1e061503e93e08505b88090a1a599f3943fce76d9dc75b3284f6258"
Job succeeded
2026-04-13 10:22.20: Job succeeded