(for PR #29340)

2026-02-05 09:12.57: New job: build testcontainers-mongo.0.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29340/head (e880570e3b5fafaf82eb5d743d21f1617b4dd052)
                              on macos-homebrew-ocaml-4.14/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/29340/head" && git reset --hard e880570e
git fetch origin master
git merge --no-edit b901e73be8f0428ab7c60a6fd1e47e7dcacbdfd5
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/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 -k local --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn testcontainers-mongo.0.1.1 0.1.1
RUN opam reinstall testcontainers-mongo.0.1.1; \
    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" != 'testcontainers-mongo.0.1.1' && 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-05 09:12.57: Using cache hint "macos-homebrew-ocaml-4.14-testcontainers-mongo.0.1.1-e880570e3b5fafaf82eb5d743d21f1617b4dd052"
2026-02-05 09:12.57: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn testcontainers-mongo.0.1.1 0.1.1"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall testcontainers-mongo.0.1.1;\
             \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\" != 'testcontainers-mongo.0.1.1' && 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-05 09:12.57: Waiting for resource in pool OCluster
2026-02-05 09:12.59: Waiting for worker…
2026-02-05 09:21.07: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files:  63% (12205/19351)
Updating files:  64% (12385/19351)
Updating files:  65% (12579/19351)
Updating files:  66% (12772/19351)
Updating files:  67% (12966/19351)
Updating files:  68% (13159/19351)
Updating files:  69% (13353/19351)
Updating files:  70% (13546/19351)
Updating files:  71% (13740/19351)
Updating files:  72% (13933/19351)
Updating files:  73% (14127/19351)
Updating files:  74% (14320/19351)
Updating files:  75% (14514/19351)
Updating files:  76% (14707/19351)
Updating files:  77% (14901/19351)
Updating files:  78% (15094/19351)
Updating files:  79% (15288/19351)
Updating files:  80% (15481/19351)
Updating files:  81% (15675/19351)
Updating files:  82% (15868/19351)
Updating files:  83% (16062/19351)
Updating files:  84% (16255/19351)
Updating files:  85% (16449/19351)
Updating files:  86% (16642/19351)
Updating files:  87% (16836/19351)
Updating files:  88% (17029/19351)
Updating files:  89% (17223/19351)
Updating files:  90% (17416/19351)
Updating files:  91% (17610/19351)
Updating files:  92% (17803/19351)
Updating files:  93% (17997/19351)
Updating files:  94% (18190/19351)
Updating files:  95% (18384/19351)
Updating files:  96% (18577/19351)
Updating files:  97% (18771/19351)
Updating files:  98% (18964/19351)
Updating files:  99% (19158/19351)
Updating files: 100% (19351/19351)
Updating files: 100% (19351/19351), done.
HEAD is now at b901e73be8 Merge pull request #29336 from raphael-proust/rename-lwt-beta
Updating b901e73be8..e880570e3b
Fast-forward
 .../testcontainers-elasticsearch.0.1.1/opam        | 41 ++++++++++++++++
 .../testcontainers-kafka.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-localstack.0.1.1/opam           | 42 +++++++++++++++++
 .../testcontainers-memcached.0.1.1/opam            | 41 ++++++++++++++++
 .../testcontainers-mockserver.0.1.1/opam           | 42 +++++++++++++++++
 .../testcontainers-mongo.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-mysql.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-postgres.0.1.1/opam             | 41 ++++++++++++++++
 .../testcontainers-rabbitmq.0.1.1/opam             | 41 ++++++++++++++++
 .../testcontainers-redis.0.1.1/opam                | 41 ++++++++++++++++
 packages/testcontainers/testcontainers.0.1.1/opam  | 54 ++++++++++++++++++++++
 11 files changed, 466 insertions(+)
 create mode 100644 packages/testcontainers-elasticsearch/testcontainers-elasticsearch.0.1.1/opam
 create mode 100644 packages/testcontainers-kafka/testcontainers-kafka.0.1.1/opam
 create mode 100644 packages/testcontainers-localstack/testcontainers-localstack.0.1.1/opam
 create mode 100644 packages/testcontainers-memcached/testcontainers-memcached.0.1.1/opam
 create mode 100644 packages/testcontainers-mockserver/testcontainers-mockserver.0.1.1/opam
 create mode 100644 packages/testcontainers-mongo/testcontainers-mongo.0.1.1/opam
 create mode 100644 packages/testcontainers-mysql/testcontainers-mysql.0.1.1/opam
 create mode 100644 packages/testcontainers-postgres/testcontainers-postgres.0.1.1/opam
 create mode 100644 packages/testcontainers-rabbitmq/testcontainers-rabbitmq.0.1.1/opam
 create mode 100644 packages/testcontainers-redis/testcontainers-redis.0.1.1/opam
 create mode 100644 packages/testcontainers/testcontainers.0.1.1/opam

(from macos-homebrew-ocaml-4.14)
2026-02-05 09:21.10 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-02-05 09:21.10 ---> using "f20a31eccb94af52fa2a3ef86b723bc6460bac3d8a92b8861915540c2498d20a" 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, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-02-05 09:21.10 ---> using "7818e224f85c11d1d318abe9ba4e297be345388b7ed476f912b6900c6bae56aa" from cache

/: (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=arm64 os=macos os-distribution=homebrew os-version=15.5
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 7
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.2
# invariant            ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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       /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-02-05 09:21.10 ---> using "625776f8b2f728a128171e2ba4372c97abd18632a07574a8412026e8be39dac5" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2026-02-05 09:21.10 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache

/: (copy (src .) (dst opam-repository/))
2026-02-05 09:21.16 ---> saved as "72f38761fa1b2944e4513e0b2284f433b8dac5675ad6de4669d1d84e8c167594"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-02-05 09:21.26 ---> saved as "9c3b2dd340d77669e4eec54b772c3baa715e8a04d0a65aafaa75d338f9efed74"

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167
- #=#=#                                                                          

                                                                           0.1%
                                                                           0.5%
                                                                           1.2%
#                                                                          1.5%
- 
#                                                                          1.9%
#                                                                          2.5%
##                                                                         2.9%
##                                                                         3.2%
##                                                                         3.6%
##                                                                         3.9%
##                                                                         4.1%
###                                                                        4.4%
###                                                                        4.7%
###                                                                        4.9%
- 
###                                                                        5.3%
####                                                                       5.6%
####                                                                       5.9%
####                                                                       6.1%
####                                                                       6.4%
####                                                                       6.7%
#####                                                                      7.0%
#####                                                                      7.3%
#####                                                                      7.6%
#####                                                                      7.9%
- 
#####                                                                      8.1%
######                                                                     8.5%
######                                                                     8.8%
######                                                                     9.1%
######                                                                     9.3%
######                                                                     9.6%
#######                                                                    9.9%
#######                                                                   10.1%
#######                                                                   10.4%
#######                                                                   10.8%
#######                                                                   11.1%
########                                                                  11.4%
- 
########                                                                  11.6%
########                                                                  11.9%
########                                                                  12.1%
#########                                                                 12.5%
#########                                                                 12.8%
#########                                                                 13.1%
#########                                                                 13.3%
#########                                                                 13.6%
#########                                                                 13.9%
##########                                                                14.3%
##########                                                                14.5%
- 
##########                                                                14.8%
##########                                                                15.1%
###########                                                               15.4%
###########                                                               15.6%
###########                                                               15.9%
###########                                                               16.3%
###########                                                               16.5%
############                                                              16.8%
############                                                              17.1%
############                                                              17.3%
############                                                              17.7%
- 
############                                                              18.0%
#############                                                             18.3%
#############                                                             18.6%
#############                                                             18.8%
#############                                                             19.1%
##############                                                            19.5%
##############                                                            19.8%
##############                                                            20.1%
##############                                                            20.3%
##############                                                            20.6%
- 
###############                                                           20.9%
###############                                                           21.1%
###############                                                           21.5%
###############                                                           21.8%
###############                                                           22.1%
################                                                          22.3%
################                                                          22.6%
################                                                          22.9%
################                                                          23.2%
################                                                          23.5%
#################                                                         23.8%
- 
#################                                                         24.2%
#################                                                         24.5%
#################                                                         24.7%
##################                                                        25.0%
##################                                                        25.4%
##################                                                        25.7%
##################                                                        25.9%
##################                                                        26.2%
###################                                                       26.5%
###################                                                       26.8%
###################                                                       27.0%
- 
###################                                                       27.4%
###################                                                       27.7%
####################                                                      28.0%
####################                                                      28.2%
####################                                                      28.5%
####################                                                      28.7%
####################                                                      29.1%
#####################                                                     29.4%
#####################                                                     29.7%
#####################                                                     29.9%
#####################                                                     30.2%
- 
######################                                                    30.6%
######################                                                    30.9%
######################                                                    31.2%
######################                                                    31.4%
######################                                                    31.7%
#######################                                                   32.0%
#######################                                                   32.2%
#######################                                                   32.6%
#######################                                                   32.9%
#######################                                                   33.1%
########################                                                  33.5%
- 
########################                                                  33.8%
########################                                                  34.1%
########################                                                  34.3%
########################                                                  34.6%
#########################                                                 35.1%
#########################                                                 35.3%
#########################                                                 35.6%
#########################                                                 35.9%
##########################                                                36.1%
##########################                                                36.4%
##########################                                                36.7%
- 
##########################                                                36.9%
##########################                                                37.3%
###########################                                               37.6%
###########################                                               37.9%
###########################                                               38.2%
###########################                                               38.4%
###########################                                               38.7%
############################                                              39.1%
############################                                              39.4%
############################                                              39.6%
############################                                              39.9%
- 
############################                                              40.1%
#############################                                             40.5%
#############################                                             40.8%
#############################                                             41.1%
#############################                                             41.5%
##############################                                            41.7%
##############################                                            42.0%
##############################                                            42.3%
##############################                                            42.6%
##############################                                            42.8%
- 
###############################                                           43.1%
###############################                                           43.5%
###############################                                           43.8%
###############################                                           44.0%
###############################                                           44.3%
################################                                          44.5%
################################                                          44.9%
################################                                          45.2%
################################                                          45.5%
################################                                          45.7%
#################################                                         46.0%
- 
#################################                                         46.4%
#################################                                         46.7%
#################################                                         47.0%
##################################                                        47.2%
##################################                                        47.5%
##################################                                        47.8%
##################################                                        48.0%
##################################                                        48.4%
###################################                                       48.7%
###################################                                       49.0%
###################################                                       49.2%
- 
###################################                                       49.5%
###################################                                       49.9%
####################################                                      50.1%
####################################                                      50.4%
####################################                                      50.7%
####################################                                      51.0%
####################################                                      51.2%
#####################################                                     51.5%
#####################################                                     51.8%
#####################################                                     52.2%
#####################################                                     52.4%
- 
#####################################                                     52.7%
######################################                                    53.0%
######################################                                    53.2%
######################################                                    53.5%
######################################                                    53.8%
#######################################                                   54.2%
#######################################                                   54.5%
#######################################                                   54.7%
#######################################                                   55.0%
#######################################                                   55.3%
########################################                                  55.6%
- 
########################################                                  55.9%
########################################                                  56.2%
########################################                                  56.4%
########################################                                  56.7%
#########################################                                 57.0%
#########################################                                 57.2%
#########################################                                 57.6%
#########################################                                 57.9%
#########################################                                 58.2%
##########################################                                58.5%
##########################################                                58.7%
- 
##########################################                                59.0%
##########################################                                59.4%
##########################################                                59.7%
###########################################                               59.9%
###########################################                               60.2%
###########################################                               60.6%
###########################################                               60.8%
###########################################                               61.1%
############################################                              61.4%
############################################                              61.6%
############################################                              61.9%
- 
############################################                              62.2%
############################################                              62.5%
#############################################                             62.9%
#############################################                             63.1%
#############################################                             63.4%
#############################################                             63.7%
##############################################                            63.9%
##############################################                            64.3%
##############################################                            64.6%
##############################################                            64.9%
- 
##############################################                            65.2%
###############################################                           65.5%
###############################################                           65.8%
###############################################                           66.1%
###############################################                           66.3%
################################################                          66.7%
################################################                          67.0%
################################################                          67.3%
################################################                          67.5%
################################################                          67.8%
#################################################                         68.1%
- 
#################################################                         68.3%
#################################################                         68.6%
#################################################                         69.1%
##################################################                        69.6%
##################################################                        70.0%
##################################################                        70.4%
##################################################                        70.8%
###################################################                       71.3%
###################################################                       71.7%
###################################################                       72.1%
- 
####################################################                      72.5%
####################################################                      72.9%
####################################################                      73.3%
#####################################################                     73.8%
#####################################################                     74.2%
#####################################################                     74.6%
######################################################                    75.0%
######################################################                    75.6%
######################################################                    76.0%
######################################################                    76.4%
#######################################################                   76.7%
#######################################################                   77.3%
- 
#######################################################                   77.7%
########################################################                  78.2%
########################################################                  78.6%
########################################################                  79.0%
#########################################################                 79.4%
#########################################################                 79.8%
#########################################################                 80.2%
##########################################################                80.8%
##########################################################                81.2%
##########################################################                81.6%
###########################################################               82.0%
- 
###########################################################               82.5%
###########################################################               82.9%
###########################################################               83.3%
############################################################              83.7%
############################################################              84.2%
############################################################              84.6%
#############################################################             85.1%
#############################################################             85.5%
#############################################################             86.0%
##############################################################            86.4%
- 
##############################################################            86.8%
##############################################################            87.3%
###############################################################           87.7%
###############################################################           88.1%
###############################################################           88.5%
################################################################          89.2%
################################################################          90.2%
#################################################################         91.0%
##################################################################        91.8%
##################################################################        92.6%
###################################################################       93.5%
###################################################################       94.3%
- 
####################################################################      95.1%
#####################################################################     95.9%
#####################################################################     96.9%
######################################################################    97.6%
######################################################################    98.4%
#######################################################################   99.2%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.4.8.arm64_big_sur.bottle.tar.gz
- ==> 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
- 
- Already up-to-date.
2026-02-05 09:22.27 ---> saved as "28cc39a01325c76fdcca4d990217c6e20d72382696c1f915e840ada21e0cccba"

/: (run (shell "opam pin add -k version -yn testcontainers-mongo.0.1.1 0.1.1"))
testcontainers-mongo is now pinned to version 0.1.1
2026-02-05 09:22.29 ---> saved as "ca8032c151d0f83637c5d9a7c9388d50ee1be35cabf1840ab874ac2d67e98c0a"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall testcontainers-mongo.0.1.1;\
               \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\" != 'testcontainers-mongo.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
testcontainers-mongo.0.1.1 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - testcontainers-mongo -> testcontainers -> ocaml >= 5.0 -> ocaml-base-compiler >= 5.0.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - testcontainers-mongo -> testcontainers -> ocaml >= 5.0 -> ocaml-variants < 5.4.2~
  * Missing dependency:
    - testcontainers-mongo -> testcontainers -> ocaml >= 5.0 -> ocaml-variants >= 5.0.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall testcontainers-mongo.0.1.1;
        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" != 'testcontainers-mongo.0.1.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-02-05 09:22.46: Job failed: Failed: Build failed
2026-02-05 09:22.46: Log analysis:
2026-02-05 09:22.46: >>> 
No solution found, exiting
 (score = 100)
2026-02-05 09:22.46: [SKIP] Package not available