(not at the head of any monitored branch or PR)
2023-11-20 13:09.43: New job: build tls.0.17.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24811/head (8e4a280bd2cfccbde2299325e7065ac8f821685a)
                              on macos-homebrew-ocaml-5.1/arm64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/24811/head" && git reset --hard 8e4a280b
git fetch origin master
git merge --no-edit 2dcd8684f95238ebe345f74fa6b964d42688f5b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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 -k local --strict default opam-repository/
RUN opam update --depexts || true
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn tls.0.17.3 0.17.3
RUN opam reinstall tls.0.17.3; \
    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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tls.0.17.3' && 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 .

2023-11-20 13:09.43: Using cache hint "macos-homebrew-ocaml-5.1-tls.0.17.3-8e4a280bd2cfccbde2299325e7065ac8f821685a"
2023-11-20 13:09.43: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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 -k local --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn tls.0.17.3 0.17.3"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall tls.0.17.3;\
             \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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tls.0.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2023-11-20 13:09.43: Waiting for resource in pool OCluster
2023-11-20 13:09.45: Waiting for worker…
2023-11-20 13:12.15: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
Updating files:  37% (12126/32192)
Updating files:  38% (12233/32192)
Updating files:  39% (12555/32192)
Updating files:  40% (12877/32192)
Updating files:  41% (13199/32192)
Updating files:  42% (13521/32192)
Updating files:  43% (13843/32192)
Updating files:  44% (14165/32192)
Updating files:  45% (14487/32192)
Updating files:  46% (14809/32192)
Updating files:  47% (15131/32192)
Updating files:  48% (15453/32192)
Updating files:  49% (15775/32192)
Updating files:  50% (16096/32192)
Updating files:  51% (16418/32192)
Updating files:  52% (16740/32192)
Updating files:  53% (17062/32192)
Updating files:  54% (17384/32192)
Updating files:  55% (17706/32192)
Updating files:  56% (18028/32192)
Updating files:  57% (18350/32192)
Updating files:  58% (18672/32192)
Updating files:  59% (18994/32192)
Updating files:  60% (19316/32192)
Updating files:  61% (19638/32192)
Updating files:  62% (19960/32192)
Updating files:  63% (20281/32192)
Updating files:  64% (20603/32192)
Updating files:  65% (20925/32192)
Updating files:  65% (21051/32192)
Updating files:  66% (21247/32192)
Updating files:  67% (21569/32192)
Updating files:  68% (21891/32192)
Updating files:  69% (22213/32192)
Updating files:  70% (22535/32192)
Updating files:  71% (22857/32192)
Updating files:  72% (23179/32192)
Updating files:  73% (23501/32192)
Updating files:  74% (23823/32192)
Updating files:  75% (24144/32192)
Updating files:  76% (24466/32192)
Updating files:  77% (24788/32192)
Updating files:  78% (25110/32192)
Updating files:  79% (25432/32192)
Updating files:  80% (25754/32192)
Updating files:  81% (26076/32192)
Updating files:  82% (26398/32192)
Updating files:  83% (26720/32192)
Updating files:  84% (27042/32192)
Updating files:  85% (27364/32192)
Updating files:  86% (27686/32192)
Updating files:  87% (28008/32192)
Updating files:  88% (28329/32192)
Updating files:  89% (28651/32192)
Updating files:  90% (28973/32192)
Updating files:  91% (29295/32192)
Updating files:  92% (29617/32192)
Updating files:  93% (29939/32192)
Updating files:  94% (30261/32192)
Updating files:  95% (30583/32192)
Updating files:  96% (30905/32192)
Updating files:  97% (31227/32192)
Updating files:  98% (31549/32192)
Updating files:  99% (31871/32192)
Updating files: 100% (32192/32192)
Updating files: 100% (32192/32192), done.
HEAD is now at 2dcd8684f9 Merge pull request #24800 from grainbot/opam-publish-libbinaryen.115.0.0
Updating 2dcd8684f9..8e4a280bd2
Fast-forward
 packages/tls-async/tls-async.0.17.3/opam   | 47 ++++++++++++++++++++++
 packages/tls-eio/tls-eio.0.17.3/opam       | 55 ++++++++++++++++++++++++++
 packages/tls-lwt/tls-lwt.0.17.3/opam       | 41 +++++++++++++++++++
 packages/tls-mirage/tls-mirage.0.17.3/opam | 46 ++++++++++++++++++++++
 packages/tls/tls.0.17.3/opam               | 63 ++++++++++++++++++++++++++++++
 5 files changed, 252 insertions(+)
 create mode 100644 packages/tls-async/tls-async.0.17.3/opam
 create mode 100644 packages/tls-eio/tls-eio.0.17.3/opam
 create mode 100644 packages/tls-lwt/tls-lwt.0.17.3/opam
 create mode 100644 packages/tls-mirage/tls-mirage.0.17.3/opam
 create mode 100644 packages/tls/tls.0.17.3/opam

(from macos-homebrew-ocaml-5.1)
2023-11-20 13:12.20 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2023-11-20 13:12.20 ---> using "b03f21c37669b4a4095787636c2d2640717c85b64d8f3a756e2ff1c88f00af75" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2~alpha, 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] no changes from git+file:///Users/mac1000/opam-repository
2023-11-20 13:12.20 ---> using "06f5b0de16488522c3519cdd00dc1c6564aac4646f04dc84e56196370ad15f15" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMSOLVERTIMEOUT 500)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2023-11-20 13:12.20 ---> using "236a57d5737ce3b06279919607e2f13ca8d38ca8bcc20fe3fd7fce43119ef54b" from cache

/: (copy (src .) (dst opam-repository/))
2023-11-20 13:12.22 ---> using "9c13b5c300129b876fbf44ed5f7d40769f735a2bbbb8b7cf4969eca14f086016" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2023-11-20 13:12.22 ---> using "4c1fb9eb5fe51c3cdb3c58008a1552e954a573ad48b2fe7f41b35358f9e490d5" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- ==> You have set:
-   HOMEBREW_NO_AUTO_UPDATE
- but we have dramatically sped up and fixed many bugs in the way we do Homebrew updates since.
- Please consider unsetting these and tweaking the values based on the new behaviour.
- 
- 
- Already up-to-date.
2023-11-20 13:12.22 ---> using "cdbb872d0370b075c61d3e63a4e0cb257fde405198654ae9d8f415b2bcd65022" from cache

/: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/: (run (shell "opam pin add -k version -yn tls.0.17.3 0.17.3"))
tls is now pinned to version 0.17.3
2023-11-20 13:12.23 ---> saved as "499d734567356732f49cdebf39e8365a03f28ffebb7fdfe37857be115cde4277"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall tls.0.17.3;\
               \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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'tls.0.17.3' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
tls.0.17.3 is not installed. Install it? [y/n] y
Constructing initial basis...
Number of 0-1 knapsack inequalities = 1362
Constructing conflict graph...
Conflict graph has 382 + 158 = 540 vertices
The following actions will be performed:
=== install 30 packages
  - install asn1-combinators  0.2.6           [required by x509]
  - install base64            3.5.1           [required by x509]
  - install conf-gmp          4               [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec 3               [required by mirage-crypto-pk]
  - install csexp             1.5.2           [required by dune-configurator]
  - install cstruct           6.2.0           [required by tls]
  - install domain-name       0.4.0           [required by tls]
  - install dune              3.11.1          [required by tls]
  - install dune-configurator 3.11.1          [required by mirage-crypto-ec]
  - install duration          0.2.1           [required by mirage-crypto-rng]
  - install eqaf              0.9             [required by mirage-crypto-ec, mirage-crypto-pk]
  - install fmt               0.9.0           [required by tls]
  - install gmap              0.3.0           [required by x509]
  - install hkdf              1.0.4           [required by tls]
  - install ipaddr            5.5.0           [required by tls]
  - install logs              0.7.0           [required by tls]
  - install macaddr           5.5.0           [required by ipaddr]
  - install mirage-crypto     0.11.2          [required by tls]
  - install mirage-crypto-ec  0.11.2          [required by tls]
  - install mirage-crypto-pk  0.11.2          [required by tls]
  - install mirage-crypto-rng 0.11.2          [required by tls]
  - install ocamlbuild        0.14.2          [required by logs]
  - install ocamlfind         1.9.6           [required by logs]
  - install pbkdf             1.2.0           [required by x509]
  - install ptime             1.1.0           [required by x509]
  - install sexplib0          v0.16.0         [required by mirage-crypto-pk]
  - install tls               0.17.3 (pinned)
  - install topkg             1.0.7           [required by logs]
  - install x509              0.16.5          [required by tls]
  - install zarith            1.13            [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    gmp

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

opam believes some required external dependencies are missing. opam can:
> 1. Run brew to install them (may need root/sudo access)
  2. Display the recommended brew 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

+ /opt/homebrew/bin/brew "install" "gmp"
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
- ==> Fetching gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:78e4f40cba6419cf7e2d81e9c945d1e93744511bd5230bdfac1b69ed894914b4
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/96a5c6ba7b30c6f2734be44067ba66ef0de5e0973c913659c7b555a4b063029c--gmp--6.3.0.arm64_sonoma.bottle.tar.gz
- ==> Pouring gmp--6.3.0.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/gmp/6.3.0: 21 files, 3.3MB
- ==> Running `brew cleanup gmp`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dune.3.11.1, dune-configurator.3.11.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved ipaddr.5.5.0, macaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mirage-crypto.0.11.2, mirage-crypto-ec.0.11.2, mirage-crypto-pk.0.11.2, mirage-crypto-rng.0.11.2  (cached)
-> retrieved ocamlbuild.0.14.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved tls.0.17.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved zarith.1.13  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.2
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed logs.0.7.0
-> installed dune.3.11.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed macaddr.5.5.0
-> installed gmap.0.3.0
-> installed domain-name.0.4.0
-> installed cstruct.6.2.0
-> installed base64.3.5.1
-> installed ipaddr.5.5.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed dune-configurator.3.11.1
-> installed mirage-crypto.0.11.2
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.2
-> installed mirage-crypto-pk.0.11.2
-> installed mirage-crypto-ec.0.11.2
-> installed x509.0.16.5
-> installed tls.0.17.3
Done.
# Run eval $(opam env) to update the current shell environment
2023-11-20 13:13.09 ---> saved as "b5705a469ddc03de21b9280415f1c2c1f926023715e4370d54e7c5ccefb1110c"
Job succeeded
2023-11-20 13:13.18: Job succeeded