(for PR #29211)

2026-01-18 14:03.51: New job: test tezos-tree-encoding.16.0 with menhirLib.20260112, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
                              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/29211/head" && git reset --hard 40f2d815
git fetch origin master
git merge --no-edit 5a5103c1c342a572f3174f77c2bf2a3883cd4a69
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && 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 update --depexts || true
RUN opam pin add -k version -yn menhirLib.20260112 20260112
RUN opam reinstall menhirLib.20260112; \
    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" != 'menhirLib.20260112' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall tezos-tree-encoding.16.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" != 'tezos-tree-encoding.16.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test tezos-tree-encoding.16.0) || true
RUN opam reinstall --with-test --verbose tezos-tree-encoding.16.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" != 'tezos-tree-encoding.16.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-01-18 14:03.51: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-menhirLib.20260112-tezos-tree-encoding.16.0-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 14:03.51: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && 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 update --depexts || true"))
 (run (shell "opam pin add -k version -yn menhirLib.20260112 20260112"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirLib.20260112;\
             \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\" != 'menhirLib.20260112' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tezos-tree-encoding.16.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\" != 'tezos-tree-encoding.16.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test tezos-tree-encoding.16.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose tezos-tree-encoding.16.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\" != 'tezos-tree-encoding.16.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-01-18 14:03.51: Waiting for resource in pool OCluster
2026-01-19 03:24.09: Waiting for worker…
2026-01-19 03:27.46: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  70% (13508/19232)
Updating files:  71% (13655/19232)
Updating files:  72% (13848/19232)
Updating files:  73% (14040/19232)
Updating files:  74% (14232/19232)
Updating files:  75% (14424/19232)
Updating files:  76% (14617/19232)
Updating files:  77% (14809/19232)
Updating files:  78% (15001/19232)
Updating files:  79% (15194/19232)
Updating files:  80% (15386/19232)
Updating files:  81% (15578/19232)
Updating files:  82% (15771/19232)
Updating files:  83% (15963/19232)
Updating files:  84% (16155/19232)
Updating files:  85% (16348/19232)
Updating files:  86% (16540/19232)
Updating files:  87% (16732/19232)
Updating files:  88% (16925/19232)
Updating files:  89% (17117/19232)
Updating files:  90% (17309/19232)
Updating files:  91% (17502/19232)
Updating files:  92% (17694/19232)
Updating files:  93% (17886/19232)
Updating files:  94% (18079/19232)
Updating files:  95% (18271/19232)
Updating files:  96% (18463/19232)
Updating files:  97% (18656/19232)
Updating files:  98% (18848/19232)
Updating files:  99% (19040/19232)
Updating files: 100% (19232/19232)
Updating files: 100% (19232/19232), done.
HEAD is now at 5a5103c1c3 Merge pull request #29240 from sanette/opam-publish-ufind.0.2.0
Updating 5a5103c1c3..40f2d81504
Fast-forward
 packages/menhir/menhir.20260112/opam       | 32 ++++++++++++++++++++++++++++++
 packages/menhirCST/menhirCST.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirGLR/menhirGLR.20260112/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirLib/menhirLib.20260112/opam | 31 +++++++++++++++++++++++++++++
 packages/menhirSdk/menhirSdk.20260112/opam | 31 +++++++++++++++++++++++++++++
 5 files changed, 154 insertions(+)
 create mode 100644 packages/menhir/menhir.20260112/opam
 create mode 100644 packages/menhirCST/menhirCST.20260112/opam
 create mode 100644 packages/menhirGLR/menhirGLR.20260112/opam
 create mode 100644 packages/menhirLib/menhirLib.20260112/opam
 create mode 100644 packages/menhirSdk/menhirSdk.20260112/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
2026-01-19 03:27.51 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 03:27.51 ---> using "79eb1218297339daa5e94be48ad16ae73f417b872defa106efeff5b5f3323e6e" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring 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.

This 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-19 03:27.51 ---> using "bf81485066c79fc9faf7a51b95869ba9d998fe2bf3de5ff7f59b253fc915122f" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-19 03:27.51 ---> using "f7c0c02658daf7a6d6c7671a8028e0e553264100bd569724894645b7844f6d7f" from cache

/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-01-19 03:27.51 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 03:27.52 ---> using "7220ba069349e9afbef45487cdbfd33f15d06f62e087e918f37610186181781f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 03:27.52 ---> using "4503f5ddf0d5dcca98af2567102bcb556191e6a295e5230d4a8d2737b6daff0f" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 11s (938 kB/s)
- Reading package lists...
- 
2026-01-19 03:27.52 ---> using "3a9bb990e0610428e9a825095b51319b3a5d4e1505fc73b7bbe6c92ce0c5bfa6" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhirLib.20260112 20260112"))
menhirLib is now pinned to version 20260112
2026-01-19 03:27.52 ---> using "09b57331639d47b9e1890ae590b22e7d25ee824d214bbb53053560eba3e3abdb" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall menhirLib.20260112;\
                        \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\" != 'menhirLib.20260112' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
menhirLib.20260112 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune      3.21.0            [required by menhirLib]
  - install menhirLib 20260112 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirLib.20260112  (cached)
-> installed dune.3.21.0
-> installed menhirLib.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:27.52 ---> using "67629e87456d9869c569f13b7049e6f9082bb5887fb5d049a16ab9d404463047" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tezos-tree-encoding.16.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\" != 'tezos-tree-encoding.16.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tezos-tree-encoding.16.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== downgrade 1 package
  - downgrade dune                    3.21.0 to 3.10.0  [required by tezos-tree-encoding]
=== recompile 1 package
  - recompile menhirLib               20260112 (pinned) [uses dune]
=== install 100 packages
  - install   aches                   1.1.0             [required by tezos-crypto]
  - install   angstrom                0.16.1            [required by uri]
  - install   base                    v0.16.4           [required by ppx_hash]
  - install   base-bytes              base              [required by ocplib-endian]
  - install   bigarray-compat         1.1.0             [required by ctypes]
  - install   bigstring               0.3               [required by secp256k1-internal]
  - install   bigstringaf             0.10.0            [required by angstrom]
  - install   bls12-381               5.0.0             [required by tezos-crypto]
  - install   bls12-381-signature     1.0.0             [required by tezos-crypto]
  - install   cmdliner                2.1.0             [required by uutf]
  - install   conf-cmake              1                 [required by hacl-star-raw]
  - install   conf-gmp                5                 [required by zarith]
  - install   conf-libev              4-13              [required by lwt, tezos-stdlib-unix]
  - install   conf-pkg-config         4                 [required by secp256k1-internal]
  - install   conf-which              1                 [required by hacl-star-raw]
  - install   cppo                    1.8.0             [required by lwt]
  - install   csexp                   1.5.2             [required by dune-configurator]
  - install   cstruct                 6.2.0             [required by hex, secp256k1-internal]
  - install   ctypes                  0.20.2            [required by tezos-hacl]
  - install   ctypes_stubs_js         0.1               [required by tezos-hacl]
  - install   data-encoding           0.7.1             [required by tezos-tree-encoding]
  - install   domain-name             0.5.0             [required by ipaddr]
  - install   dune-configurator       3.13.1            [required by lwt]
  - install   either                  1.0.0             [required by data-encoding]
  - install   ezjsonm                 1.3.0             [required by data-encoding, tezos-base]
  - install   ff-sig                  0.6.2             [required by bls12-381]
  - install   fmt                     0.11.0            [required by cstruct]
  - install   gen                     1.1               [required by sedlex]
  - install   hacl-star               0.6.2             [required by tezos-hacl]
  - install   hacl-star-raw           0.6.2             [required by tezos-hacl]
  - install   hex                     1.5.0             [required by data-encoding]
  - install   integers                0.7.0             [required by bls12-381]
  - install   integers_stubs_js       1.0               [required by ctypes_stubs_js]
  - install   ipaddr                  5.6.1             [required by tezos-base]
  - install   jane-street-headers     v0.16.0           [required by time_now]
  - install   js_of_ocaml             5.8.2             [required by integers_stubs_js]
  - install   js_of_ocaml-compiler    5.8.2             [required by js_of_ocaml]
  - install   json-data-encoding      0.12.1            [required by data-encoding]
  - install   json-data-encoding-bson 0.12.1            [required by data-encoding]
  - install   jsonm                   1.0.2             [required by ezjsonm]
  - install   jst-config              v0.16.0           [required by time_now]
  - install   lwt                     5.9.1             [required by tezos-base]
  - install   lwt-canceler            0.3               [required by tezos-error-monad]
  - install   lwt_log                 1.1.2             [required by tezos-event-logging, tezos-stdlib-unix]
  - install   macaddr                 5.6.1             [required by ipaddr]
  - install   menhir                  20260112          [required by js_of_ocaml-compiler]
  - install   menhirCST               20260112          [required by menhir]
  - install   menhirGLR               20260112          [required by menhir]
  - install   menhirSdk               20260112          [required by js_of_ocaml-compiler]
  - install   mtime                   1.4.0             [required by tezos-stdlib-unix]
  - install   ocaml-compiler-libs     v0.12.4           [required by ppxlib]
  - install   ocaml-syntax-shims      1.0.0             [required by angstrom]
  - install   ocamlbuild              0.16.1            [required by ptime]
  - install   ocamlfind               1.9.8             [required by zarith, ptime]
  - install   ocplib-endian           1.2               [required by json-data-encoding-bson, lwt]
  - install   ppx_assert              v0.16.0           [required by jst-config]
  - install   ppx_base                v0.16.0           [required by time_now]
  - install   ppx_cold                v0.16.0           [required by ppx_base]
  - install   ppx_compare             v0.16.0           [required by ppx_hash]
  - install   ppx_derivers            1.2.1             [required by ppxlib]
  - install   ppx_enumerate           v0.16.0           [required by ppx_base]
  - install   ppx_expect              v0.16.2           [required by tezos-micheline]
  - install   ppx_globalize           v0.16.0           [required by ppx_base]
  - install   ppx_hash                v0.16.0           [required by data-encoding]
  - install   ppx_here                v0.16.0           [required by ppx_expect]
  - install   ppx_inline_test         v0.16.0           [required by ppx_expect]
  - install   ppx_optcomp             v0.16.0           [required by time_now]
  - install   ppx_sexp_conv           v0.16.0           [required by ppx_hash]
  - install   ppxlib                  0.35.0            [required by ppx_hash]
  - install   ptime                   1.2.0             [required by tezos-base]
  - install   re                      1.12.0            [required by tezos-stdlib-unix]
  - install   resto                   1.2               [required by tezos-rpc]
  - install   resto-directory         1.2               [required by tezos-rpc]
  - install   ringo                   1.1.0             [required by aches]
  - install   secp256k1-internal      0.4.0             [required by tezos-crypto]
  - install   sedlex                  3.7               [required by js_of_ocaml-compiler]
  - install   seq                     base              [required by re]
  - install   sexplib0                v0.16.0           [required by ezjsonm]
  - install   stdio                   v0.16.0           [required by ppx_expect]
  - install   stdlib-shims            0.3.0             [required by ppxlib, integers]
  - install   stringext               1.6.0             [required by uri]
  - install   tezos-base              16.0              [required by tezos-tree-encoding]
  - install   tezos-crypto            16.0              [required by tezos-base]
  - install   tezos-error-monad       16.0              [required by tezos-base]
  - install   tezos-event-logging     16.0              [required by tezos-base]
  - install   tezos-hacl              16.0              [required by tezos-base]
  - install   tezos-lazy-containers   16.0              [required by tezos-tree-encoding]
  - install   tezos-lwt-result-stdlib 16.0              [required by tezos-tree-encoding]
  - install   tezos-micheline         16.0              [required by tezos-base]
  - install   tezos-rpc               16.0              [required by tezos-base]
  - install   tezos-stdlib            16.0              [required by tezos-base]
  - install   tezos-stdlib-unix       16.0              [required by tezos-base]
  - install   tezos-tree-encoding     16.0
  - install   time_now                v0.16.0           [required by ppx_inline_test]
  - install   topkg                   1.1.1             [required by ptime]
  - install   uri                     4.4.0             [required by tezos-base]
  - install   uutf                    1.0.4             [required by ezjsonm, tezos-micheline]
  - install   yojson                  2.2.2             [required by js_of_ocaml-compiler]
  - install   zarith                  1.12              [required by data-encoding, tezos-lazy-containers]
  - install   zarith_stubs_js         v0.16.1           [required by data-encoding]

The following system packages will first need to be installed:
    cmake libev-dev libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "cmake" "libev-dev" "libgmp-dev" "pkg-config"
- Selecting previously unselected package cmake-data.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../00-cmake-data_3.31.6-2_all.deb ...
- Unpacking cmake-data (3.31.6-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../01-libxml2_2.12.7+dfsg+really2.9.14-2.1+deb13u2_amd64.deb ...
- Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) ...
- Selecting previously unselected package libarchive13t64:amd64.
- Preparing to unpack .../02-libarchive13t64_3.7.4-4_amd64.deb ...
- Unpacking libarchive13t64:amd64 (3.7.4-4) ...
- Selecting previously unselected package libjsoncpp26:amd64.
- Preparing to unpack .../03-libjsoncpp26_1.9.6-3_amd64.deb ...
- Unpacking libjsoncpp26:amd64 (1.9.6-3) ...
- Selecting previously unselected package librhash1:amd64.
- Preparing to unpack .../04-librhash1_1.4.5-1_amd64.deb ...
- Unpacking librhash1:amd64 (1.4.5-1) ...
- Selecting previously unselected package libuv1t64:amd64.
- Preparing to unpack .../05-libuv1t64_1.50.0-2_amd64.deb ...
- Unpacking libuv1t64:amd64 (1.50.0-2) ...
- Selecting previously unselected package cmake.
- Preparing to unpack .../06-cmake_3.31.6-2_amd64.deb ...
- Unpacking cmake (3.31.6-2) ...
- Selecting previously unselected package libev4t64:amd64.
- Preparing to unpack .../07-libev4t64_1%3a4.33-2.1+b1_amd64.deb ...
- Unpacking libev4t64:amd64 (1:4.33-2.1+b1) ...
- Selecting previously unselected package libev-dev:amd64.
- Preparing to unpack .../08-libev-dev_1%3a4.33-2.1+b1_amd64.deb ...
- Unpacking libev-dev:amd64 (1:4.33-2.1+b1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../09-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../10-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../11-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../12-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../13-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../14-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libev4t64:amd64 (1:4.33-2.1+b1) ...
- Setting up libuv1t64:amd64 (1.50.0-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libjsoncpp26:amd64 (1.9.6-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up cmake-data (3.31.6-2) ...
- Setting up librhash1:amd64 (1.4.5-1) ...
- Setting up libev-dev:amd64 (1:4.33-2.1+b1) ...
- Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-2.1+deb13u2) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libarchive13t64:amd64 (3.7.4-4) ...
- Setting up cmake (3.31.6-2) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved aches.1.1.0, ringo.1.1.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstring.0.3  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bls12-381.5.0.0  (cached)
-> retrieved bls12-381-signature.1.0.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-libev.4-13  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cmake.1
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-which.1
-> retrieved cstruct.6.2.0  (cached)
-> retrieved ctypes.0.20.2  (cached)
-> retrieved ctypes_stubs_js.0.1  (cached)
-> retrieved data-encoding.0.7.1  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> installed conf-libev.4-13
-> retrieved dune.3.10.0  (cached)
-> retrieved dune-configurator.3.13.1  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved ff-sig.0.6.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved hacl-star.0.6.2, hacl-star-raw.0.6.2  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved integers_stubs_js.1.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2  (cached)
-> retrieved json-data-encoding.0.12.1, json-data-encoding-bson.0.12.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved jst-config.v0.16.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved lwt-canceler.0.3  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> installed cmdliner.2.1.0
-> retrieved menhir.20260112, menhirCST.20260112, menhirGLR.20260112, menhirLib.20260112, menhirSdk.20260112  (cached)
-> retrieved mtime.1.4.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_assert.v0.16.0  (cached)
-> retrieved ppx_base.v0.16.0  (cached)
-> retrieved ppx_cold.v0.16.0  (cached)
-> retrieved ppx_compare.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.16.0  (cached)
-> retrieved ppx_expect.v0.16.2  (cached)
-> retrieved ppx_globalize.v0.16.0  (cached)
-> retrieved ppx_hash.v0.16.0  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_inline_test.v0.16.0  (cached)
-> retrieved ppx_optcomp.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved resto.1.2, resto-directory.1.2  (cached)
-> retrieved secp256k1-internal.0.4.0  (cached)
-> retrieved sedlex.3.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved tezos-base.16.0, tezos-crypto.16.0, tezos-error-monad.16.0, tezos-event-logging.16.0, tezos-hacl.16.0, tezos-lazy-containers.16.0, tezos-lwt-result-stdlib.16.0, tezos-micheline.16.0, tezos-rpc.16.0, tezos-stdlib.16.0, tezos-stdlib-unix.16.0, tezos-tree-encoding.16.0  (cached)
-> installed ocamlbuild.0.16.1
-> retrieved time_now.v0.16.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.12  (cached)
-> retrieved zarith_stubs_js.v0.16.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> removed   menhirLib.20260112
-> removed   dune.3.21.0
-> installed dune.3.10.0
-> installed bigarray-compat.1.1.0
-> installed bigstring.0.3
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed either.1.0.0
-> installed gen.1.1
-> installed jane-street-headers.v0.16.0
-> installed macaddr.5.6.1
-> installed menhirCST.20260112
-> installed menhirGLR.20260112
-> installed menhirLib.20260112
-> installed menhirSdk.20260112
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed re.1.12.0
-> installed ringo.1.1.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed zarith_stubs_js.v0.16.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed aches.1.1.0
-> installed integers.0.7.0
-> installed yojson.2.2.2
-> installed dune-configurator.3.13.1
-> installed zarith.1.12
-> installed bigstringaf.0.10.0
-> installed ff-sig.0.6.2
-> installed angstrom.0.16.1
-> installed topkg.1.1.1
-> installed mtime.1.4.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed lwt.5.9.1
-> installed uri.4.4.0
-> installed base.v0.16.4
-> installed menhir.20260112
-> installed ptime.1.2.0
-> installed jsonm.1.0.2
-> installed cstruct.6.2.0
-> installed lwt-canceler.0.3
-> installed lwt_log.1.1.2
-> installed resto.1.2
-> installed hex.1.5.0
-> installed stdio.v0.16.0
-> installed resto-directory.1.2
-> installed ezjsonm.1.3.0
-> installed json-data-encoding.0.12.1
-> installed json-data-encoding-bson.0.12.1
-> installed tezos-lwt-result-stdlib.16.0
-> installed ctypes.0.20.2
-> installed bls12-381.5.0.0
-> installed secp256k1-internal.0.4.0
-> installed bls12-381-signature.1.0.0
-> installed ppxlib.0.35.0
-> installed tezos-lazy-containers.16.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed sedlex.3.7
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_base.v0.16.0
-> installed data-encoding.0.7.1
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.0
-> installed ppx_expect.v0.16.2
-> installed js_of_ocaml-compiler.5.8.2
-> installed tezos-stdlib.16.0
-> installed tezos-error-monad.16.0
-> installed tezos-event-logging.16.0
-> installed tezos-micheline.16.0
-> installed tezos-rpc.16.0
-> installed tezos-stdlib-unix.16.0
-> installed js_of_ocaml.5.8.2
-> installed integers_stubs_js.1.0
-> installed ctypes_stubs_js.0.1
-> installed hacl-star-raw.0.6.2
-> installed hacl-star.0.6.2
-> installed tezos-hacl.16.0
-> installed tezos-crypto.16.0
-> installed tezos-base.16.0
-> installed tezos-tree-encoding.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:39.07 ---> saved as "53a5a0946a9f98c8e090b74a5a878ae726ebfa8c15bf943d1f909703c0eeb422"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test tezos-tree-encoding.16.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile tezos-tree-encoding 16.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved tezos-tree-encoding.16.0  (https://opam.ocaml.org/cache)
-> removed   tezos-tree-encoding.16.0
-> installed tezos-tree-encoding.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:39.33 ---> saved as "41de291289da25d935eeeff8dbc741af0c9974c7e7403268839e5deb0fd659ec"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tezos-tree-encoding.16.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\" != 'tezos-tree-encoding.16.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile tezos-tree-encoding 16.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [tezos-tree-encoding.16.0: extract]
-> retrieved tezos-tree-encoding.16.0  (cached)
Processing  2/4: [tezos-tree-encoding: rm vendors]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-r" "vendors" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tezos-tree-encoding.16.0)
Processing  2/4: [tezos-tree-encoding: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tezos-tree-encoding" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tezos-tree-encoding.16.0)
Processing  2/4: [tezos-tree-encoding: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "tezos-tree-encoding" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tezos-tree-encoding.16.0)
-> compiled  tezos-tree-encoding.16.0
-> removed   tezos-tree-encoding.16.0
-> installed tezos-tree-encoding.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 03:39.58 ---> saved as "84bf40aab70db94ebfd19926f70c7bb515a7f1e528248f9d08cac8755868cdd1"
Job succeeded
2026-01-19 03:40.12: Job succeeded