(for PR #27909)

2025-05-21 10:50.37: New job: test nottui.0.4, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27909/head (bdf325fc855677978a5a25d9e8000fa32e3f80bb)
                              on debian-12-ocaml-5.3/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/27909/head" && git reset --hard bdf325fc
git fetch origin master
git merge --no-edit f8fd9069a4c50cadaaee12c576dcdd7c2dfe37d3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6
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 nottui.0.4 0.4
RUN opam depext nottui.0.4 && opam reinstall nottui.0.4; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'nottui.0.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam depext --with-test nottui.0.4 && opam reinstall --with-test nottui.0.4) || true
RUN opam depext --with-test nottui.0.4 && opam reinstall --with-test --verbose nottui.0.4; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'nottui.0.4' && 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 .

2025-05-21 10:50.37: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6-nottui.0.4-bdf325fc855677978a5a25d9e8000fa32e3f80bb"
2025-05-21 10:50.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6)
 (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 nottui.0.4 0.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext nottui.0.4 && opam reinstall nottui.0.4;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'nottui.0.4' && 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 depext --with-test nottui.0.4 && opam reinstall --with-test nottui.0.4) || true"))
 (run (shell  "opam depext --with-test nottui.0.4 && opam reinstall --with-test --verbose nottui.0.4;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'nottui.0.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-05-21 10:50.37: Waiting for resource in pool OCluster
2025-05-21 10:55.20: Waiting for worker…
2025-05-21 10:58.22: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  76% (17717/23060)
Updating files:  77% (17757/23060)
Updating files:  78% (17987/23060)
Updating files:  79% (18218/23060)
Updating files:  80% (18448/23060)
Updating files:  81% (18679/23060)
Updating files:  82% (18910/23060)
Updating files:  83% (19140/23060)
Updating files:  84% (19371/23060)
Updating files:  85% (19601/23060)
Updating files:  86% (19832/23060)
Updating files:  87% (20063/23060)
Updating files:  88% (20293/23060)
Updating files:  89% (20524/23060)
Updating files:  90% (20754/23060)
Updating files:  91% (20985/23060)
Updating files:  92% (21216/23060)
Updating files:  93% (21446/23060)
Updating files:  94% (21677/23060)
Updating files:  95% (21907/23060)
Updating files:  96% (22138/23060)
Updating files:  97% (22369/23060)
Updating files:  98% (22599/23060)
Updating files:  99% (22830/23060)
Updating files: 100% (23060/23060)
Updating files: 100% (23060/23060), done.
HEAD is now at f8fd9069a4 Merge pull request #27902 from vscoqbot/opam-publish-vscoq-language-server.2.2.6
Updating f8fd9069a4..bdf325fc85
Fast-forward
 packages/brr-lwd/brr-lwd.0.4/opam             | 39 ++++++++++++++++++++++++++
 packages/lwd/lwd.0.4/opam                     | 39 ++++++++++++++++++++++++++
 packages/nottui-lwt/nottui-lwt.0.4/opam       | 38 +++++++++++++++++++++++++
 packages/nottui-pretty/nottui-pretty.0.4/opam | 37 +++++++++++++++++++++++++
 packages/nottui-unix/nottui-unix.0.4/opam     | 40 +++++++++++++++++++++++++++
 packages/nottui/nottui.0.4/opam               | 39 ++++++++++++++++++++++++++
 packages/tyxml-lwd/tyxml-lwd.0.4/opam         | 39 ++++++++++++++++++++++++++
 7 files changed, 271 insertions(+)
 create mode 100644 packages/brr-lwd/brr-lwd.0.4/opam
 create mode 100644 packages/lwd/lwd.0.4/opam
 create mode 100644 packages/nottui-lwt/nottui-lwt.0.4/opam
 create mode 100644 packages/nottui-pretty/nottui-pretty.0.4/opam
 create mode 100644 packages/nottui-unix/nottui-unix.0.4/opam
 create mode 100644 packages/nottui/nottui.0.4/opam
 create mode 100644 packages/tyxml-lwd/tyxml-lwd.0.4/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6)
2025-05-21 10:58.30 ---> using "0585f6b0985f7eb566e20fd068ca8d674792c3b808091294d28083728c5a5ee6" 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"))
2025-05-21 10:58.30 ---> using "516b3fd3fd9039a307d3a04e69397fa29d1cd17f49ebb613ded2da322e3c315f" from cache

/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)

2025-05-21 10:59.24 ---> saved as "f26c62a6d17405227a9512f0c2f5b613546e7ef05ed83c157442740b3c9681ff"

/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=12
# 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              39
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.3
2025-05-21 10:59.25 ---> saved as "32f84a6580f2762020bc2c09ca5acb5efbba197a24c51e49d9f305ab4faf6dde"

/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/"))
2025-05-21 10:59.41 ---> saved as "01ddecb9721b574a4736e5f1a32bed263b3ccfdfdc2c66adf48d203a63e7d9c7"

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-21 10:59.52 ---> saved as "163ffc2f8613eb79a599bb8ceb059c6e01b3d4a7ad36e1d107bc4d50a04d9706"

/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)

2025-05-21 11:00.09 ---> saved as "bebaf861594ac6c1debcdac43145a8e0c415296c84e4b1fba5fcd567d1fcd784"

/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
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
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 bookworm/main amd64 Packages [8793 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB]
Fetched 9306 kB in 2s (4888 kB/s)
Reading package lists...
# OS package update successful
2025-05-21 11:00.13 ---> saved as "499e9fc6466a9d9a384c5ad564dbcfca34e24b74f2c946bd5238eaced317ea9b"

/home/opam: (run (shell "opam pin add -k version -yn nottui.0.4 0.4"))
nottui is now pinned to version 0.4
2025-05-21 11:00.14 ---> saved as "e040a1a0652029f24b6637c55adfb4179564ee659c532817d4873513f000992b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext nottui.0.4 && opam reinstall nottui.0.4;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'nottui.0.4' && 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.
nottui.0.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune       3.18.2 [required by nottui]
  - install ocamlbuild 0.16.1 [required by uutf]
  - install seq        base   [required by lwd]
  - install ocamlfind  1.9.8  [required by uutf]
  - install cppo       1.8.0  [required by notty]
  - install lwd        0.4    [required by nottui]
  - install topkg      1.0.8  [required by uutf]
  - install uutf       1.0.4  [required by notty]
  - install notty      0.2.3  [required by nottui]
  - install nottui     0.4*
===== 10 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.8.0] found in cache
[dune.3.18.2] found in cache
[lwd.0.4] found in cache
[nottui.0.4] found in cache
[notty.0.2.3] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[topkg.1.0.8] 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 topkg.1.0.8
-> installed uutf.1.0.4
-> installed dune.3.18.2
-> installed lwd.0.4
-> installed cppo.1.8.0
-> installed notty.0.2.3
-> installed nottui.0.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-21 11:01.03 ---> saved as "efceb60981dc8bb450ebc474fe755de5340c0d09e8167af4f8117cc69fc922ae"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test nottui.0.4 && opam reinstall --with-test nottui.0.4) || 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 actions will be performed:
  - install   base-bytes        base  [required by cbor]
  - install   either            1.0.0 [required by containers]
  - install   dune-configurator 2.7.0 [required by containers]
  - install   ocplib-endian     1.2   [required by cbor]
  - install   containers        3.15  [required by nottui]
  - install   cbor              0.5   [required by nottui]
  - recompile nottui            0.4*
===== 6 to install | 1 to recompile =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cbor.0.5] downloaded from https://ygrek.org/p/release/ocaml-cbor/ocaml-cbor-0.5.tar.gz
[containers.3.15] downloaded from https://github.com/c-cube/ocaml-containers/releases/download/v3.15/containers-3.15.tbz
[dune-configurator.2.7.0] downloaded from https://github.com/ocaml/dune/releases/download/2.7.0/dune-2.7.0.tbz
[either.1.0.0] downloaded from https://github.com/mirage/either/releases/download/1.0.0/either-1.0.0.tbz
[ocplib-endian.1.2] downloaded from https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> installed either.1.0.0
-> removed   nottui.0.4
-> installed dune-configurator.2.7.0
-> installed ocplib-endian.1.2
-> installed cbor.0.5
-> installed containers.3.15
-> installed nottui.0.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-21 11:01.29 ---> saved as "f1823f88e1fafa7bd277e5c5e10b7f0f64cd0c5425fe89a013d45037e782a47e"

/home/opam: (run (shell  "opam depext --with-test nottui.0.4 && opam reinstall --with-test --verbose nottui.0.4;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'nottui.0.4' && 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.
The following actions will be performed:
  - recompile nottui 0.4*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [nottui: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "nottui" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/nottui.0.4)
-> compiled  nottui.0.4
-> removed   nottui.0.4
-> installed nottui.0.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-21 11:01.50 ---> saved as "19ee0eb74d1b859e5f3581ce9cefe3aa29d61d804cffde8a959b55fa6197ecfc"
Job succeeded
2025-05-21 11:02.03: Job succeeded