(for PR #29346)

2026-02-10 21:09.02: New job: build tracy-client.0.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29346/head (f9b251a9ba3c7a07ff42cc0992b0e2e1b5e9ef3a)
                              on ubuntu-24.04-ocaml-4.14/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29346/head" && git reset --hard f9b251a9
git fetch origin master
git merge --no-edit 723d54aa6a7e7ae665518b4c6fa6464f4cdffb3f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c
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 tracy-client.0.7 0.7
RUN opam reinstall tracy-client.0.7; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tracy-client.0.7' && 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-10 21:09.02: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c-tracy-client.0.7-f9b251a9ba3c7a07ff42cc0992b0e2e1b5e9ef3a"
2026-02-10 21:09.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
 (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 tracy-client.0.7 0.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tracy-client.0.7;\
             \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 \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tracy-client.0.7' && 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-10 21:09.02: Waiting for resource in pool OCluster
2026-02-10 21:09.02: Waiting for worker…
2026-02-10 21:27.45: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files:  14% (2671/18154)
Updating files:  15% (2724/18154)
Updating files:  16% (2905/18154)
Updating files:  17% (3087/18154)
Updating files:  17% (3245/18154)
Updating files:  17% (3265/18154)
Updating files:  18% (3268/18154)
Updating files:  18% (3295/18154)
Updating files:  19% (3450/18154)
Updating files:  20% (3631/18154)
Updating files:  21% (3813/18154)
Updating files:  22% (3994/18154)
Updating files:  23% (4176/18154)
Updating files:  24% (4357/18154)
Updating files:  25% (4539/18154)
Updating files:  26% (4721/18154)
Updating files:  27% (4902/18154)
Updating files:  28% (5084/18154)
Updating files:  29% (5265/18154)
Updating files:  30% (5447/18154)
Updating files:  30% (5605/18154)
Updating files:  31% (5628/18154)
Updating files:  32% (5810/18154)
Updating files:  33% (5991/18154)
Updating files:  34% (6173/18154)
Updating files:  35% (6354/18154)
Updating files:  36% (6536/18154)
Updating files:  37% (6717/18154)
Updating files:  38% (6899/18154)
Updating files:  39% (7081/18154)
Updating files:  40% (7262/18154)
Updating files:  41% (7444/18154)
Updating files:  42% (7625/18154)
Updating files:  42% (7794/18154)
Updating files:  43% (7807/18154)
Updating files:  44% (7988/18154)
Updating files:  45% (8170/18154)
Updating files:  46% (8351/18154)
Updating files:  47% (8533/18154)
Updating files:  48% (8714/18154)
Updating files:  49% (8896/18154)
Updating files:  50% (9077/18154)
Updating files:  51% (9259/18154)
Updating files:  52% (9441/18154)
Updating files:  53% (9622/18154)
Updating files:  54% (9804/18154)
Updating files:  55% (9985/18154)
Updating files:  55% (10094/18154)
Updating files:  56% (10167/18154)
Updating files:  57% (10348/18154)
Updating files:  58% (10530/18154)
Updating files:  59% (10711/18154)
Updating files:  60% (10893/18154)
Updating files:  61% (11074/18154)
Updating files:  62% (11256/18154)
Updating files:  63% (11438/18154)
Updating files:  64% (11619/18154)
Updating files:  65% (11801/18154)
Updating files:  66% (11982/18154)
Updating files:  67% (12164/18154)
Updating files:  67% (12341/18154)
Updating files:  68% (12345/18154)
Updating files:  69% (12527/18154)
Updating files:  70% (12708/18154)
Updating files:  71% (12890/18154)
Updating files:  72% (13071/18154)
Updating files:  73% (13253/18154)
Updating files:  74% (13434/18154)
Updating files:  75% (13616/18154)
Updating files:  76% (13798/18154)
Updating files:  77% (13979/18154)
Updating files:  78% (14161/18154)
Updating files:  79% (14342/18154)
Updating files:  80% (14524/18154)
Updating files:  80% (14579/18154)
Updating files:  81% (14705/18154)
Updating files:  82% (14887/18154)
Updating files:  83% (15068/18154)
Updating files:  84% (15250/18154)
Updating files:  85% (15431/18154)
Updating files:  86% (15613/18154)
Updating files:  87% (15794/18154)
Updating files:  88% (15976/18154)
Updating files:  89% (16158/18154)
Updating files:  90% (16339/18154)
Updating files:  91% (16521/18154)
Updating files:  92% (16702/18154)
Updating files:  92% (16875/18154)
Updating files:  93% (16884/18154)
Updating files:  94% (17065/18154)
Updating files:  95% (17247/18154)
Updating files:  96% (17428/18154)
Updating files:  97% (17610/18154)
Updating files:  98% (17791/18154)
Updating files:  99% (17973/18154)
Updating files: 100% (18154/18154)
Updating files: 100% (18154/18154), done.
HEAD is now at fec5b3578e fuseau: add trace upper bound|
HEAD is now at 723d54aa6a Merge pull request #29345 from c-cube/release-trace-v0.11
Merge made by the 'ort' strategy.
 packages/tracy-client/tracy-client.0.7/opam | 41 +++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/tracy-client/tracy-client.0.7/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
2026-02-10 21:28.15 ---> using "40d7843ecf277139c4c28c384d143c29cf834752694c6d2cde13cc05e47d68f6" 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-02-10 21:28.15 ---> using "7e8bf476332986a17f336a125c9f8be30b1e25886f164f9655ce90813f79e64e" 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-02-10 21:28.15 ---> using "71ae131335993be27ddb5bd22d6d98842a636c85685e0e74b9ce98bf1905d43e" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# 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-02-10 21:28.15 ---> using "26684295e2eca44b8f29d866a054ee71eb72449d71ab583d34bfe4a12adb8f9e" 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-02-10 21:28.15 ---> using "1da11bae1a1188a437fc4610ca388bc4bb58d030f99a443ce21d2e38a2227401" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 21:28.41 ---> saved as "23afdd4a6460ae8b0528e93b76f876e571d02c5988afda00aa03985f275c0fdf"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 21:30.16 ---> saved as "f91321a7409e1b953c8c7304ca16281f82b32fa7389abf2663a9bdbb6cdf3469"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [924 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1491 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [938 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [598 kB]
- Fetched 4330 kB in 2s (2080 kB/s)
- Reading package lists...
- 
2026-02-10 21:30.24 ---> saved as "cc0e6b55389145cff4e71c4b0b97cd9c0b56af527a90a2736042b49111dc0c79"

/home/opam: (run (shell "opam pin add -k version -yn tracy-client.0.7 0.7"))
tracy-client is now pinned to version 0.7
2026-02-10 21:30.27 ---> saved as "71f715717e70b803f6db891f09f7bc66f0653e3667800d41256dcd48c7296292"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tracy-client.0.7;\
                        \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 \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tracy-client.0.7' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tracy-client.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
  - install dune         3.21.0       [required by tracy-client]
  - install trace        0.11         [required by tracy-client]
  - install tracy-client 0.7 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved trace.0.11  (cached)
-> retrieved tracy-client.0.7  (https://github.com/ocaml-tracing/ocaml-tracy/releases/download/v0.7/tracy-client-0.7.tbz)
-> installed dune.3.21.0
-> installed trace.0.11
-> installed tracy-client.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 21:36.01 ---> saved as "4a1ed6a23579563addb9b7af3d2b3173923c43c2f6f5b127825242bd9bd366c5"
Job succeeded
2026-02-10 21:36.36: Job succeeded