(for PR #28969)

2025-12-04 16:06.02: New job: build passage.0.2.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28969/head (1494891bde0de7e18676e37ba680702399a23d07)
                              on debian-13-ocaml-5.4/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/28969/head" && git reset --hard 1494891b
git fetch origin master
git merge --no-edit 3e41859015888fe8240e84dfc5f31bfa12a557e8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
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 passage.0.2.0 0.2.0
RUN opam depext passage.0.2.0 && opam reinstall passage.0.2.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" != 'passage.0.2.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 .

2025-12-04 16:06.02: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9-passage.0.2.0-1494891bde0de7e18676e37ba680702399a23d07"
2025-12-04 16:06.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
 (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 passage.0.2.0 0.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext passage.0.2.0 && opam reinstall passage.0.2.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\" != 'passage.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-04 16:06.02: Waiting for resource in pool OCluster
2025-12-04 16:06.03: Waiting for worker…
2025-12-04 16:09.47: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  67% (12789/18980)
Updating files:  68% (12907/18980)
Updating files:  69% (13097/18980)
Updating files:  70% (13286/18980)
Updating files:  71% (13476/18980)
Updating files:  72% (13666/18980)
Updating files:  73% (13856/18980)
Updating files:  74% (14046/18980)
Updating files:  75% (14235/18980)
Updating files:  76% (14425/18980)
Updating files:  77% (14615/18980)
Updating files:  78% (14805/18980)
Updating files:  79% (14995/18980)
Updating files:  80% (15184/18980)
Updating files:  81% (15374/18980)
Updating files:  82% (15564/18980)
Updating files:  83% (15754/18980)
Updating files:  84% (15944/18980)
Updating files:  85% (16133/18980)
Updating files:  86% (16323/18980)
Updating files:  87% (16513/18980)
Updating files:  88% (16703/18980)
Updating files:  89% (16893/18980)
Updating files:  90% (17082/18980)
Updating files:  91% (17272/18980)
Updating files:  92% (17462/18980)
Updating files:  93% (17652/18980)
Updating files:  94% (17842/18980)
Updating files:  95% (18031/18980)
Updating files:  96% (18221/18980)
Updating files:  97% (18411/18980)
Updating files:  98% (18601/18980)
Updating files:  99% (18791/18980)
Updating files: 100% (18980/18980)
Updating files: 100% (18980/18980), done.
HEAD is now at 3e41859015 Merge pull request #28903 from jim-portegies/opam-publish-coq-waterproof.3.1.0-9.1
Merge made by the 'ort' strategy.
 packages/passage/passage.0.2.0/opam | 66 +++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 packages/passage/passage.0.2.0/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9' locally
docker.io/ocaml/opam@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
f40653bbd569: Already exists
7810c66e401b: Already exists
d941667067ac: Already exists
6e099de50dbd: Already exists
45940f4cdce1: Already exists
cbbdea3b6efd: Already exists
4c34326b882a: Already exists
d8a1b7be7128: Already exists
b30719ba72c1: Already exists
eb031d51ba4a: Already exists
a59529ec7b26: Already exists
1049e4f3b9e4: Already exists
e2ab32c77566: Already exists
f6ef7bc31988: Already exists
28c3b5beaa3f: Already exists
83ebb7ec29e3: Already exists
186714418599: Already exists
5045c0de4fc9: Already exists
3312ff3bfd69: Already exists
335847f13b00: Already exists
4f4fb700ef54: Already exists
b7958021acdb: Already exists
d92ce1afae3a: Already exists
7842835bd039: Already exists
3a60e5befc90: Already exists
7efeca794a8f: Already exists
efc7f994cef1: Already exists
ba91afca1a0a: Already exists
8216b6db35fa: Already exists
229184d6690a: Already exists
40e4db8e45e7: Already exists
12fb3f269d42: Already exists
c0196b69a0ef: Already exists
b731bd241e4b: Already exists
53512a47261a: Already exists
b1be3290ddde: Already exists
fe5803a9f63d: Already exists
5cf61ec03f01: Already exists
d44c5e23965f: Already exists
53dfff7b55e7: Pulling fs layer
226ac640e811: Pulling fs layer
e36350d7ae89: Pulling fs layer
b01b68c301ae: Pulling fs layer
91861d0ec5c8: Pulling fs layer
e36350d7ae89: Waiting
3e8690fdc63e: Pulling fs layer
b01b68c301ae: Waiting
91861d0ec5c8: Waiting
88138091cc6e: Pulling fs layer
88138091cc6e: Waiting
3e8690fdc63e: Waiting
226ac640e811: Verifying Checksum
226ac640e811: Download complete
53dfff7b55e7: Verifying Checksum
53dfff7b55e7: Download complete
53dfff7b55e7: Pull complete
226ac640e811: Pull complete
e36350d7ae89: Verifying Checksum
e36350d7ae89: Download complete
e36350d7ae89: Pull complete
91861d0ec5c8: Download complete
88138091cc6e: Verifying Checksum
88138091cc6e: Download complete
3e8690fdc63e: Verifying Checksum
3e8690fdc63e: Download complete
b01b68c301ae: Verifying Checksum
b01b68c301ae: Download complete
b01b68c301ae: Pull complete
91861d0ec5c8: Pull complete
3e8690fdc63e: Pull complete
88138091cc6e: Pull complete
Digest: sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
Status: Downloaded newer image for ocaml/opam@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
2025-12-04 16:09.54 ---> using "f1efaca4efe78a0f1c0c577ac466822c09dc6f46f3a7d5f2a65ad8e72e69d5b6" 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-12-04 16:09.55 ---> saved as "e2163f8bef1d6127ab4fb4dde6361dcd8e2ac54f06decad22a8813d7c1f71a57"

/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-12-04 16:11.36 ---> saved as "138d2f3414841c2e7513e136b0e3bdd5c6547feb7e0b4b9c2ef2cca51c88008e"

/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    5.4
2025-12-04 16:11.37 ---> saved as "2ec0dd656338d58056534159a57fe0d9fd166ef685f655c2b1314ec0f1d173a3"

/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-12-04 16:11.48 ---> saved as "434d4e63ada51ff9fa4a59b85e7f467e72ec22b2e065159878473b976345158a"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-04 16:12.01 ---> saved as "8d8163ada4fc6a9bbb863e9344a028708177d96fe68ee1ad896e71ef0b65c45d"

/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-12-04 16:12.19 ---> saved as "62b9227291326a1eb34c97b1bdf53baf02bbeabad772b2a91f232f9bc981d18d"

/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 [80.9 kB]
Fetched 172 kB in 0s (987 kB/s)
Reading package lists...
# OS package update successful
2025-12-04 16:12.21 ---> saved as "3c6b624e6f7d6109f89b3ca68eb2465b07d7baa8925b3b23ed5cdbba8d4bf683"

/home/opam: (run (shell "opam pin add -k version -yn passage.0.2.0 0.2.0"))
passage is now pinned to version 0.2.0
2025-12-04 16:12.22 ---> saved as "c0fc88bbe6795c2ca921767053e018233c07cc8cf727163c6823b181a6652aa3"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext passage.0.2.0 && opam reinstall passage.0.2.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\" != 'passage.0.2.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
# The following system packages are needed:
age
g++
libcurl4-gnutls-dev
libevent-dev
libpcre3-dev
pkg-config
zlib1g-dev
The following command needs to be run through "sudo":
    apt-get install -qq -yy age g++ libcurl4-gnutls-dev libevent-dev libpcre3-dev pkg-config zlib1g-dev
E: Package 'libpcre3-dev' has no installation candidate
OS package installation failed
"/usr/bin/env" "bash" "-c" "opam depext passage.0.2.0 && opam reinstall passage.0.2.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" != 'passage.0.2.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
2025-12-04 16:12.46: Job failed: Failed: Build failed