(not at the head of any monitored branch or PR)
2026-02-25 07:03.45: New job: build tyxml-ppx.4.6.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29460/head (e9243d54b894f2ff7d6624033a71869eda8f9a19)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29460/head" && git reset --hard e9243d54
git fetch origin master
git merge --no-edit 7f356c7b07fed8e01d4196c9a0a9c5acf6c60b04
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam depext -u || true
RUN opam pin add -k version -yn tyxml-ppx.4.6.0 4.6.0
RUN opam depext tyxml-ppx.4.6.0 && opam reinstall tyxml-ppx.4.6.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tyxml-ppx.4.6.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-02-25 07:03.45: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633-tyxml-ppx.4.6.0-e9243d54b894f2ff7d6624033a71869eda8f9a19"
2026-02-25 07:03.45: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam depext -u || true"))
 (run (shell "opam pin add -k version -yn tyxml-ppx.4.6.0 4.6.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext tyxml-ppx.4.6.0 && opam reinstall tyxml-ppx.4.6.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tyxml-ppx.4.6.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-25 07:03.45: Waiting for resource in pool OCluster
2026-02-25 07:03.46: Waiting for worker…
2026-02-25 07:05.19: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 7f356c7b07 Merge pull request #29452 from Leonidas-from-XIV/inifiles-no-ocamlfind
Auto-merging packages/tyxml-ppx/tyxml-ppx.4.6.0/opam
Merge made by the 'ort' strategy.
 packages/tyxml-ppx/tyxml-ppx.4.6.0/opam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
2026-02-25 07:05.20 ---> using "d6079ab6cce1b58b34ac9b5ed11aa86b7980ab728c75f5a6ba9271e98dc1ac1c" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-02-25 07:05.20 ---> saved as "0b67f23dfefec5ba3e50da7b15b5b005e035a700d7156a35a97d7f54648aefa3"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-02-25 07:06.04 ---> saved as "687d42d18e1f0d83126b6886564b9f4f41a8da92203c5a21775f77361f6516d6"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2026-02-25 07:06.04 ---> saved as "1a312237e6cc317162bf6e7c10f0ca280a9c903bfe96f1b5ff573baf72b38463"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-02-25 07:06.15 ---> saved as "fbb61444c2f0aa9a7b16e970009a0bb8e791b4932a513f59e5ee3ea339cb39a0"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-25 07:06.24 ---> saved as "da952b5696c50d4794fcb11cd5415a4c96731d944ce6584d32fa01909fce59e2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-02-25 07:06.33 ---> saved as "c6455bdae388f2d9654e4730f49265eb2990b0a1c4956043e2acfcdf44a1a243"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [112 kB]
Fetched 203 kB in 0s (1959 kB/s)
Reading package lists...
# OS package update successful
2026-02-25 07:06.34 ---> saved as "f505534cd0ea947756b35b807906a58c92f6a87ce9d22e3518f8be37129ac349"

/home/opam: (run (shell "opam pin add -k version -yn tyxml-ppx.4.6.0 4.6.0"))
tyxml-ppx is now pinned to version 4.6.0
2026-02-25 07:06.35 ---> saved as "060069e75ae4df7df723bbc19bd85808905a98475d64b70eb5d79e15e28accc0"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext tyxml-ppx.4.6.0 && opam reinstall tyxml-ppx.4.6.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tyxml-ppx.4.6.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
tyxml-ppx.4.6.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1  [required by uchar, uutf]
  - install dune                3.21.1  [required by tyxml-ppx]
  - install seq                 base    [required by tyxml]
  - install ocamlfind           1.9.8   [required by uutf]
  - install uchar               0.0.2   [required by markup]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install sexplib0            v0.17.0 [required by ppxlib]
  - install re                  1.14.0  [required by tyxml, tyxml-syntax]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install topkg               1.1.1   [required by uutf]
  - install ppxlib              0.37.0  [required by tyxml-ppx]
  - install uutf                1.0.4   [required by tyxml, markup, tyxml-syntax]
  - install tyxml-syntax        4.6.0   [required by tyxml-ppx]
  - install tyxml               4.6.0   [required by tyxml-ppx]
  - install markup              1.0.3   [required by tyxml-ppx]
  - install tyxml-ppx           4.6.0*
===== 17 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.21.1] found in cache
[markup.1.0.3] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.37.0] found in cache
[re.1.14.0] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.1.1] found in cache
[tyxml.4.6.0] found in cache
[tyxml-ppx.4.6.0] found in cache
[tyxml-syntax.4.6.0] found in cache
[uchar.0.0.2] found in cache
[uutf.1.0.4] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed uchar.0.0.2
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed dune.3.21.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed markup.1.0.3
-> installed tyxml.4.6.0
-> installed ppxlib.0.37.0
-> installed tyxml-syntax.4.6.0
[ERROR] The compilation of tyxml-ppx failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p tyxml-ppx -j 71 @install".

#=== ERROR while compiling tyxml-ppx.4.6.0 ====================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/ocsigen/tyxml/releases/download/4.6.0/tyxml-4.6.0.tbz)
# path                 ~/.opam/4.14/.opam-switch/build/tyxml-ppx.4.6.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p tyxml-ppx -j 71 @install
# exit-code            1
# env-file             ~/.opam/log/tyxml-ppx-44-fef203.env
# output-file          ~/.opam/log/tyxml-ppx-44-fef203.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -safe-string -open Ppxlib -w -9 -g -I ppx/.tyxml_ppx.objs/byte -I ppx/.tyxml_ppx.objs/native -I /home/opam/.opam/4.14/lib/markup -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/str -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/tyxml-syntax -I /home/opam/.opam/4.14/lib/uutf -intf-suffix .ml -no-alias-deps -o ppx/.tyxml_ppx.objs/native/tyxml_ppx.cmx -c -impl ppx/tyxml_ppx.pp.ml)
# File "ppx/tyxml_ppx.ml", line 381, characters 4-12:
# 381 |   | Pexp_fun (label,def,pat,content) ->
#           ^^^^^^^^
# Error: This variant pattern is expected to have type
#          Ppxlib.Parsetree.expression_desc
#        There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -safe-string -open Ppxlib -w -9 -g -bin-annot -I ppx/.tyxml_ppx.objs/byte -I /home/opam/.opam/4.14/lib/markup -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/str -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/tyxml-syntax -I /home/opam/.opam/4.14/lib/uutf -intf-suffix .ml -no-alias-deps -o ppx/.tyxml_ppx.objs/byte/tyxml_ppx.cmo -c -impl ppx/tyxml_ppx.pp.ml)
# File "ppx/tyxml_ppx.ml", line 381, characters 4-12:
# 381 |   | Pexp_fun (label,def,pat,content) ->
#           ^^^^^^^^
# Error: This variant pattern is expected to have type
#          Ppxlib.Parsetree.expression_desc
#        There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build tyxml-ppx 4.6.0
+- 
+- The following changes have been performed
| - install dune                3.21.1
| - install markup              1.0.3
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild          0.16.1
| - install ocamlfind           1.9.8
| - install ppx_derivers        1.2.1
| - install ppxlib              0.37.0
| - install re                  1.14.0
| - install seq                 base
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
| - install topkg               1.1.1
| - install tyxml               4.6.0
| - install tyxml-syntax        4.6.0
| - install uchar               0.0.2
| - install uutf                1.0.4
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260225070638.export"
"/usr/bin/env" "bash" "-c" "opam depext tyxml-ppx.4.6.0 && opam reinstall tyxml-ppx.4.6.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'tyxml-ppx.4.6.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-02-25 07:07.21: Job failed: Failed: Build failed
2026-02-25 07:07.21: Log analysis:
2026-02-25 07:07.21: >>> 
[ERROR] The compilation of tyxml-ppx failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p tyxml-ppx -j 71 @install".
 (score = 20)
2026-02-25 07:07.21: >>> 
# Error: This variant pattern is expected to have type
 (score = 48)
2026-02-25 07:07.21: >>> 
# Error: This variant pattern is expected to have type
 (score = 48)
2026-02-25 07:07.21: This variant pattern is expected to have type