2025-02-18 09:39.20: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (efea0fcc4d1bf6c2230d78c4712b583eb3d01f2d) (linux-x86_64:debian-12-4.09_opam-2.3) Base: ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard efea0fcc cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7 # debian-12-4.09_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /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 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.17.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-02-18 09:39.20: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7-debian-12-4.09_opam-2.3-a145e3822ca3b476d313dc2fa0a9febf" 2025-02-18 09:39.20: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7) (comment debian-12-4.09_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.3 /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 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.17.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build")) ) 2025-02-18 09:39.20: Waiting for resource in pool OCluster 2025-02-18 09:39.20: Waiting for worker… 2025-02-18 09:47.16: Got resource from pool OCluster Building on x86-bm-c1.sw.ocaml.org All commits already cached HEAD is now at efea0fcc Merge pull request #514 from patricoferris/5.2-bump (from ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7) 2025-02-18 09:48.07 ---> saved as "2f072ea72dc4422a37393768084089ec6c768c191907e43dd0ec38e05b83707c" /: (comment debian-12-4.09_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.3 /usr/bin/opam")) 2025-02-18 09:48.07 ---> saved as "c4c1a56d485abd4c4ea4db1aac1942a026ea403f9ec60b91a8b23ba26828a440" /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-02-18 09:49.29 ---> saved as "ef54db77f542d55f2a0b47d400ea013aa3749509d512eebed7ea6b6d0545b099" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 4.09.1 2.3.0 2025-02-18 09:49.29 ---> saved as "68269acb6eb1573b1603b63ee41bef9b62e19c35c665644536061de7140b7f8f" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-02-18 09:49.29 ---> saved as "e6fbaf8554718cfe6a9056a2f819776d45e230740acc80d3dc365c09cbe48dad" /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. # To update the current shell environment, run: eval $(opam env) 2025-02-18 09:50.29 ---> saved as "33760f7ed136fd1aefd366b4426a68c926a483759e56f1f7bef1c40b36dcd69d" /src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./)) 2025-02-18 09:50.29 ---> saved as "a84caf280321fab7a857a91b0d99f64c74d256304bd5d88934cdb07ff9689f2e" /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-02-18 09:50.34 ---> saved as "a8b3c6f13546ed3ddaf4fb35e8f81672fdaa78db8a43376009e663e235f8d5d8" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-02-18 09:50.34 ---> saved as "11e40543d7e4cbc68e72ba8414e078039da18ebeaf194fab4efd896f07dea294" /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.17.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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.3 --depext-only -y ppxlib.dev ppxlib-tools.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 (1376 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [ppxlib.dev] synchronised (file:///src) [ppxlib-tools.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.09.1). [NOTE] Package ocaml is already installed (current version is 4.09.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-02-18 09:50.54 ---> saved as "8e9b9e0d324aa9d99b59302e10132a5a503fee25aa258319b8a0985577e5847d" /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.09.1). [NOTE] Package ocaml is already installed (current version is 4.09.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 cinaps v0.15.1 - install cmdliner 1.3.0 - install dune 3.17.2 - install ocaml-compiler-libs v0.12.4 - install ocamlfind 1.9.8 - install ppx_derivers 1.2.1 - install re 1.11.0 - install seq base - install sexplib0 v0.16.0 - install stdlib-shims 0.3.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cinaps.v0.15.1 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved re.1.11.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved dune.3.17.2 (cached) -> installed cmdliner.1.3.0 -> 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 re.1.11.0 -> installed cinaps.v0.15.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-18 09:52.18 ---> saved as "f5e0404be84c293e3f024d3806a8a9cd381c5b18762ad7ce74e6087d0b062573" /src: (copy (src .) (dst /src)) 2025-02-18 09:52.19 ---> saved as "e3faa83f4109dd9749b2cd7f85b522c4bf18e7e1cd6782506c4cc566cd762926" /src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build")) File "test/traverse/test.ml", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/traverse/test.ml _build/default/test/traverse/test.ml.corrected diff --git a/_build/default/test/traverse/test.ml b/_build/default/test/traverse/test.ml.corrected index 02d903e..31cae5f 100644 --- a/_build/default/test/traverse/test.ml +++ b/_build/default/test/traverse/test.ml.corrected @@ -213,23 +213,25 @@ val via_sexp_of : string list = " (ppat_loc "; " \"File \\\"file.ml\\\", line 2, characters 1-8:<ghost>\"))) "; " (pvb_expr "; - " (Pexp_function "; - " (((pc_lhs (Ppat_constant (Pconst_integer 0 ()))) "; - " (pc_rhs (Pexp_construct true ()))) "; - " ((pc_lhs (Ppat_constant (Pconst_integer 1 ()))) "; - " (pc_rhs (Pexp_construct false ()))) "; - " ((pc_lhs (Ppat_var n)) "; - " (pc_rhs "; - " (Pexp_apply "; - " ((pexp_desc (Pexp_ident f)) (pexp_loc_stack (())) "; - " (pexp_attributes "; - " (((attr_name tailcall) (attr_payload (PStr ())))))) "; - " ((Nolabel "; - " ((pexp_desc "; - " (Pexp_apply (Pexp_ident \"Stdlib.Int.( - )\") "; - " ((Nolabel (Pexp_ident n)) "; - " (Nolabel (Pexp_constant (Pconst_integer 2 ())))))) "; - " (pexp_loc_stack (()))))))))))) "; + " (Pexp_function () () "; + " (Pfunction_cases "; + " (((pc_lhs (Ppat_constant (Pconst_integer 0 ()))) "; + " (pc_rhs (Pexp_construct true ()))) "; + " ((pc_lhs (Ppat_constant (Pconst_integer 1 ()))) "; + " (pc_rhs (Pexp_construct false ()))) "; + " ((pc_lhs (Ppat_var n)) "; + " (pc_rhs "; + " (Pexp_apply "; + " ((pexp_desc (Pexp_ident f)) (pexp_loc_stack (())) "; + " (pexp_attributes "; + " (((attr_name tailcall) (attr_payload (PStr ())))))) "; + " ((Nolabel "; + " ((pexp_desc "; + " (Pexp_apply (Pexp_ident \"Stdlib.Int.( - )\") "; + " ((Nolabel (Pexp_ident n)) "; + " (Nolabel (Pexp_constant (Pconst_integer 2 ())))))) "; + " (pexp_loc_stack (()))))))))) "; + " () ()))) "; " (pvb_loc \"File \\\"file.ml\\\", line 2, characters 1-8:<ghost>\")))))"; " (pstr_loc \"File \\\"file.ml\\\", line 2, characters 1-8:<ghost>\"))))) "; " (pmod_loc \"File \\\"file.ml\\\", line 2, characters 1-8:<ghost>\"))) "; "/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build" failed with exit status 1 2025-02-18 09:53.01: Job failed: Failed: Build failed