2025-03-21 12:18.28: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (0a25740298f1cbbcafca1befd684dab868ce2812) (linux-x86_64:(lint-doc)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112 Opam project lint documentation To reproduce locally: git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" -b "master" && cd "ppx_deriving_yojson" && git reset --hard 0a257402 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112 # debian-12-4.08_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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 ppx_deriving_yojson.opam ./ RUN opam pin add -yn ppx_deriving_yojson.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.17.2 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 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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 ppx_deriving_yojson.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 2025-03-21 12:18.28: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112-debian-12-4.08_opam-2.3-aea9cd547443259b8843269eba98cf86" 2025-03-21 12:18.28: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112) (comment debian-12-4.08_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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src ppx_deriving_yojson.opam) (dst ./)) (run (network host) (shell "opam pin add -yn ppx_deriving_yojson.dev './'")) (run (network host) (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.17.2 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 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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 ppx_deriving_yojson.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)")) ) 2025-03-21 12:18.28: Waiting for resource in pool OCluster 2025-03-21 12:18.28: Waiting for worker… 2025-03-21 12:18.37: Got resource from pool OCluster Building on x86-bm-c2.sw.ocaml.org All commits already cached HEAD is now at 0a25740 Merge pull request #160 from patricoferris/5.2-ast-bump (from ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112) 2025-03-21 12:18.38 ---> using "212a1b8e3ddbfd9f9183e74007cf11c0bf064a0a89cec366fca17516e11ae032" from cache /: (comment debian-12-4.08_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-03-21 12:18.38 ---> using "413629085e7f18f9fbd6a9a1af3ee336debb3916f3d8e2c7c11c572c5ffbfb6e" 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 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-03-21 12:18.38 ---> using "414411a4eddae4a348b8c0b8cb649ef7fd3f8a0a425c387f8be114faa72a9923" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 4.08.1 2.2.1 2025-03-21 12:18.38 ---> using "57da383ccbd01e422665241ed1ebfd12f2446a7280523b949361faaecca46580" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-03-21 12:18.38 ---> using "e9f0c43149b5617f1cde9944ca5930091b34b4189d8816a5e14ac6eda5ffb8d3" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD a8ed476033..6cf83229dd master -> origin/master 8d19977bcd Release ppx_deriving.6.1.0 (#27621) <><> 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-03-21 12:18.38 ---> using "6899789869127696ff6df39e2bd3ecf4ea02a4012aa201254dbaf9da0f6c17aa" from cache /src: (copy (src ppx_deriving_yojson.opam) (dst ./)) 2025-03-21 12:18.38 ---> using "4ebce852cbd6fdbc41787f62121e1455af60f0dbb2ced57b695c58efa77f3997" from cache /src: (run (network host) (shell "opam pin add -yn ppx_deriving_yojson.dev './'")) [ppx_deriving_yojson.dev] synchronised (file:///src) ppx_deriving_yojson is now pinned to file:///src (version dev) 2025-03-21 12:18.38 ---> using "cb24523532c22e2cffb61cfa658f261b3df57e87de05bcab7e3df9ff8fb48d17" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-03-21 12:18.38 ---> using "012ad2d12ee5947573514a28a0b97fcb877090d0455a628d55e789b5be5f0a63" from cache /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 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 ppx_deriving.6.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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 ppx_deriving_yojson.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 [249 kB] - Fetched 353 kB in 0s (1420 kB/s) - Reading package lists... <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [ppx_deriving_yojson.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). 2025-03-21 12:18.38 ---> using "4e47b5743a146a99f14e00030f8ff625f501b54059c75092dbb19fce2d899d81" from cache /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 12 packages - install cppo 1.8.0 - install dune 3.17.2 - install ocaml-compiler-libs v0.12.4 - install ocamlfind 1.9.8 - install ounit2 2.2.7 - install ppx_derivers 1.2.1 - install ppx_deriving 6.1.0 - install ppxlib 0.36.0 - install seq base - install sexplib0 v0.16.0 - install stdlib-shims 0.3.0 - install yojson 2.2.2 <><> 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 ppx_deriving.6.1.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved ppxlib.0.36.0 (cached) -> retrieved dune.3.17.2 (cached) -> installed ocamlfind.1.9.8 -> installed dune.3.17.2 -> 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 yojson.2.2.2 -> installed ppxlib.0.36.0 -> installed ppx_deriving.6.1.0 Done. # Run eval $(opam env) to update the current shell environment 2025-03-21 12:18.38 ---> using "8081e920f783261fd0dae656e53dc490141e5807ed8bf80e962c8b404928a039" from cache /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.17.2). The following actions will be performed: === install 15 packages - install astring 0.8.5 [required by odoc] - install camlp-streams 5.0.1 [required by odoc-parser] - install cmdliner 1.3.0 [required by odoc] - install crunch 4.0.0 [required by odoc] - install fmt 0.10.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.0.0 - install odoc-parser 3.0.0 [required by odoc] - install ptime 1.2.0 [required by crunch] - install re 1.11.0 [required by tyxml] - install result 1.5 [required by odoc] - install topkg 1.0.8 [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.1.3.0 (cached) -> retrieved fmt.0.10.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 result.1.5 (cached) -> retrieved topkg.1.0.8 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved uutf.1.0.4 (cached) -> installed camlp-streams.5.0.1 -> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached) -> installed result.1.5 -> installed re.1.11.0 -> installed cmdliner.1.3.0 -> installed ocamlbuild.0.16.1 -> installed topkg.1.0.8 -> installed uutf.1.0.4 -> installed fmt.0.10.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.0.0 -> installed tyxml.4.6.0 -> installed odoc.3.0.0 Done. # Run eval $(opam env) to update the current shell environment 2025-03-21 12:18.38 ---> using "a6044e77284d7e9c9aad908dc9b60349c51f0ad9573103a9cc556a2df788fce4" from cache /src: (copy (src .) (dst /src/)) 2025-03-21 12:18.38 ---> using "8402cba49ee6bdc268f7e9388c783645c540e2db9a9b5816a876f5ebee47fe9d" from cache /src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)")) 2025-03-21 12:18.38 ---> using "1c7f5909bde43a396bf0e47ee2d454f660e1fb4a2fa9d6c7b694a7516f8c712a" from cache Job succeeded 2025-03-21 12:18.38: Job succeeded