(not at the head of any monitored branch or PR)
2023-11-20 14:15.53: New job: build tls-mirage.0.17.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24811/head (8e4a280bd2cfccbde2299325e7065ac8f821685a)
                              on freebsd-ocaml-5.1/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/24811/head" && git reset --hard 8e4a280b
git fetch origin master
git merge --no-edit 2dcd8684f95238ebe345f74fa6b964d42688f5b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
USER 1000:1000
WORKDIR /usr/home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/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 --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-mirage.0.17.3 0.17.3
RUN opam reinstall tls-mirage.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 "\"freebsd\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tls-mirage.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 14:15.53: Using cache hint "freebsd-ocaml-5.1-tls-mirage.0.17.3-8e4a280bd2cfccbde2299325e7065ac8f821685a"
2023-11-20 14:15.53: Using OBuilder spec:
((from freebsd-ocaml-5.1)
 (user (uid 1000) (gid 1000))
 (workdir /usr/home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/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 --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-mirage.0.17.3 0.17.3"))
 (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tls-mirage.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 \"\\\"freebsd\\\"\"; 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-mirage.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 14:15.53: Waiting for resource in pool OCluster
2023-11-20 14:15.53: Waiting for worker…
2023-11-20 14:15.53: Got resource from pool OCluster
Building on spring
All commits already cached
Updating files: 100% (32188/32188), 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 freebsd-ocaml-5.1)
2023-11-20 14:15.46 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache

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

/: (workdir /usr/home/opam)

/usr/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2023-11-20 14:15.46 ---> using "1e03fa42c0d886977d50c04e71e5b20dae86a906792151241ebb76c4df6a063f" from cache

/usr/home/opam: (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 development version of opam requires an update to the layout of /usr/home/opam/.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:///usr/home/opam/opam-repository
2023-11-20 14:15.46 ---> using "1390936a4c071113e4b4340f6b1b61661b61cbb726fd360d447553562130961a" from cache

/usr/home/opam: (env OPAMDOWNLOADJOBS 1)

/usr/home/opam: (env OPAMERRLOGLEN 0)

/usr/home/opam: (env OPAMSOLVERTIMEOUT 500)

/usr/home/opam: (env OPAMPRECISETRACKING 1)

/usr/home/opam: (env CI true)

/usr/home/opam: (env OPAM_REPO_CI true)

/usr/home/opam: (run (shell "rm -rf opam-repository/"))
2023-11-20 14:15.46 ---> using "a6ba2609d034cc107a5a5133840bee72ddb1aa0e032eb13012f5b40d1c2a27e2" from cache

/usr/home/opam: (copy (src .) (dst opam-repository/))
2023-11-20 14:15.49 ---> using "0b6b9af491b1b64bff308a09b2448a35d86184e6ad0cccfc5b3a46b142ba3d3f" from cache

/usr/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2023-11-20 14:15.49 ---> using "9b37a2274672a7721cac5f7a526939c974ab6c5c0788123a7b3541139aa56116" from cache

/usr/home/opam: (run (network host)
                     (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2023-11-20 14:15.50 ---> using "28de18c91f55af663a6c5f80a33fa3eb5f40cc4d2a4eaa7a1f3f04be9e6a23c3" from cache

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

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

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

/usr/home/opam: (run (shell "opam pin add -k version -yn tls-mirage.0.17.3 0.17.3"))
tls-mirage is now pinned to version 0.17.3
2023-11-20 14:15.50 ---> using "287bf78c061afb49ddfc94e14082662d81dbac0717528a387cabc3c734ca1c96" from cache

/usr/home/opam: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
                     (network host)
                     (shell  "opam reinstall tls-mirage.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 \"\\\"freebsd\\\"\"; 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-mirage.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-mirage.0.17.3 is not installed. Install it? [y/n] y
Constructing initial basis...
Number of 0-1 knapsack inequalities = 1489
Constructing conflict graph...
Conflict graph has 442 + 173 = 615 vertices
The following actions will be performed:
=== install 39 packages
  ∗ asn1-combinators  0.2.6           [required by x509]
  ∗ base-bytes        base            [required by ocplib-endian]
  ∗ base64            3.5.1           [required by x509]
  ∗ conf-gmp          4               [required by conf-gmp-powm-sec, zarith]
  ∗ conf-gmp-powm-sec 3               [required by mirage-crypto-pk]
  ∗ cppo              1.6.9           [required by lwt]
  ∗ csexp             1.5.2           [required by dune-configurator]
  ∗ cstruct           6.2.0           [required by mirage-flow, mirage-crypto, mirage-crypto-pk, tls]
  ∗ domain-name       0.4.0           [required by tls]
  ∗ dune              3.11.1          [required by tls-mirage]
  ∗ dune-configurator 3.11.1          [required by lwt, mirage-crypto]
  ∗ duration          0.2.1           [required by mirage-crypto-rng]
  ∗ eqaf              0.9             [required by mirage-crypto, mirage-crypto-pk]
  ∗ fmt               0.9.0           [required by tls-mirage]
  ∗ gmap              0.3.0           [required by x509]
  ∗ hkdf              1.0.4           [required by tls]
  ∗ ipaddr            5.5.0           [required by tls]
  ∗ logs              0.7.0           [required by tls]
  ∗ lwt               5.7.0           [required by tls-mirage]
  ∗ macaddr           5.5.0           [required by ipaddr]
  ∗ mirage-clock      4.2.0           [required by tls-mirage]
  ∗ mirage-crypto     0.11.2          [required by tls-mirage]
  ∗ mirage-crypto-ec  0.11.2          [required by tls]
  ∗ mirage-crypto-pk  0.11.2          [required by tls-mirage]
  ∗ mirage-crypto-rng 0.11.2          [required by mirage-crypto-pk, tls]
  ∗ mirage-flow       3.0.0           [required by tls-mirage]
  ∗ mirage-kv         6.1.1           [required by tls-mirage]
  ∗ ocamlbuild        0.14.2          [required by fmt]
  ∗ ocamlfind         1.9.6           [required by fmt]
  ∗ ocplib-endian     1.2             [required by lwt]
  ∗ optint            0.3.0           [required by mirage-kv]
  ∗ pbkdf             1.2.0           [required by x509]
  ∗ ptime             1.1.0           [required by tls-mirage]
  ∗ sexplib0          v0.16.0         [required by mirage-crypto-pk]
  ∗ tls               0.17.3          [required by tls-mirage]
  ∗ tls-mirage        0.17.3 (pinned)
  ∗ topkg             1.0.7           [required by fmt]
  ∗ x509              0.16.5          [required by tls-mirage]
  ∗ 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 pkg to install them (may need root/sudo access)
  2. Display the recommended pkg 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/local/bin/sudo "pkg" "install" "-y" "gmp"
- Updating FreeBSD repository catalogue...
- [spring] Fetching packagesite.pkg: ...
- ....... done
- Processing entries: 
- .
- ..
- ..
- ..
- .
- .. done
- FreeBSD repository update completed. 34082 packages processed.
- All repositories are up to date.
- The following 1 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	gmp: 6.3.0
- 
- Number of packages to be installed: 1
- 
- The process will require 3 MiB more space.
- 477 KiB to be downloaded.
- [spring] [1/1] Fetching gmp-6.3.0.pkg: .....
- ..... done
- Checking integrity... done (0 conflicting)
- [spring] [1/1] Installing gmp-6.3.0...
- [spring] [1/1] Extracting gmp-6.3.0: .......... done

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved asn1-combinators.0.2.6  (cached)
⬇ retrieved base64.3.5.1  (cached)
⬇ retrieved cppo.1.6.9  (cached)
⬇ retrieved csexp.1.5.2  (cached)
∗ installed conf-gmp.4
⬇ retrieved cstruct.6.2.0  (cached)
∗ installed conf-gmp-powm-sec.3
⬇ retrieved domain-name.0.4.0  (cached)
⬇ 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 lwt.5.7.0  (cached)
⬇ retrieved mirage-clock.4.2.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 mirage-flow.3.0.0  (cached)
⬇ retrieved mirage-kv.6.1.1  (cached)
⬇ retrieved ocamlbuild.0.14.2  (cached)
⬇ retrieved ocamlfind.1.9.6  (cached)
⬇ retrieved ocplib-endian.1.2  (cached)
⬇ retrieved optint.0.3.0  (cached)
⬇ retrieved pbkdf.1.2.0  (cached)
⬇ retrieved ptime.1.1.0  (cached)
⬇ retrieved sexplib0.v0.16.0  (cached)
⬇ retrieved tls.0.17.3, tls-mirage.0.17.3  (https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz)
⬇ retrieved topkg.1.0.7  (cached)
⬇ retrieved x509.0.16.5  (cached)
⬇ retrieved zarith.1.13  (cached)
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ 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 dune.3.11.1
∗ installed csexp.1.5.2
∗ installed duration.0.2.1
∗ 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 cppo.1.6.9
∗ installed mirage-clock.4.2.0
∗ installed optint.0.3.0
∗ installed ipaddr.5.5.0
∗ installed ocplib-endian.1.2
∗ installed eqaf.0.9
∗ installed sexplib0.v0.16.0
∗ installed asn1-combinators.0.2.6
∗ installed dune-configurator.3.11.1
∗ installed mirage-crypto.0.11.2
∗ installed pbkdf.1.2.0
∗ installed hkdf.1.0.4
∗ installed lwt.5.7.0
∗ installed mirage-flow.3.0.0
∗ installed mirage-kv.6.1.1
∗ installed logs.0.7.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
∗ installed tls-mirage.0.17.3
Done.
2023-11-20 14:17.21 ---> saved as "c5dffe0be71729a28c4c7016fd4f92b443ffa077309e5628357b3993ac0e2e59"
Job succeeded
2023-11-20 14:17.40: Job succeeded