(not at the head of any monitored branch or PR)
2022-10-13 12:36.19: New job: test srt.0.2.1 with posix-base.2.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/22101/head (cd3d9bb46550c2144e36af68b803325613d21086)
                              on debian-11-ocaml-4.14/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/22101/head" && git reset --hard cd3d9bb4
git fetch origin master
git merge --no-edit fa516a10dab4a33cff2a65d113194a8f642ab0ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:5a22a68cd47434a7602f2fbd0fc04c6e49c6ca31ef11d9942572eb511432195e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
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 posix-base.2.0.1 2.0.1
RUN opam update --depexts
RUN opam reinstall posix-base.2.0.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1
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 update --depexts
RUN opam reinstall srt.0.2.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1
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 update --depexts
RUN opam reinstall --with-test srt.0.2.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2022-10-13 12:36.19: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:5a22a68cd47434a7602f2fbd0fc04c6e49c6ca31ef11d9942572eb511432195e-posix-base.2.0.1-srt.0.2.1-cd3d9bb46550c2144e36af68b803325613d21086"
2022-10-13 12:36.19: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:5a22a68cd47434a7602f2fbd0fc04c6e49c6ca31ef11d9942572eb511432195e)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (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 posix-base.2.0.1 2.0.1"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall posix-base.2.0.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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
 (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 (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall srt.0.2.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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
 (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 (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --with-test srt.0.2.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        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
)

2022-10-13 12:36.19: Waiting for resource in pool OCluster
2022-10-13 12:36.19: Waiting for worker...
2022-10-13 12:36.24: Got resource from pool OCluster
Building on x86-bm-7.ocamllabs.io
All commits already cached
Updating files:   4% (1222/27512)
Updating files:   5% (1376/27512)
Updating files:   6% (1651/27512)
Updating files:   7% (1926/27512)
Updating files:   8% (2201/27512)
Updating files:   9% (2477/27512)
Updating files:  10% (2752/27512)
Updating files:  10% (2955/27512)
Updating files:  11% (3027/27512)
Updating files:  12% (3302/27512)
Updating files:  13% (3577/27512)
Updating files:  14% (3852/27512)
Updating files:  15% (4127/27512)
Updating files:  16% (4402/27512)
Updating files:  17% (4678/27512)
Updating files:  17% (4681/27512)
Updating files:  18% (4953/27512)
Updating files:  19% (5228/27512)
Updating files:  20% (5503/27512)
Updating files:  21% (5778/27512)
Updating files:  21% (5902/27512)
Updating files:  22% (6053/27512)
Updating files:  23% (6328/27512)
Updating files:  24% (6603/27512)
Updating files:  25% (6878/27512)
Updating files:  26% (7154/27512)
Updating files:  27% (7429/27512)
Updating files:  28% (7704/27512)
Updating files:  28% (7852/27512)
Updating files:  29% (7979/27512)
Updating files:  30% (8254/27512)
Updating files:  30% (8338/27512)
Updating files:  31% (8529/27512)
Updating files:  32% (8804/27512)
Updating files:  33% (9079/27512)
Updating files:  34% (9355/27512)
Updating files:  34% (9538/27512)
Updating files:  35% (9630/27512)
Updating files:  36% (9905/27512)
Updating files:  37% (10180/27512)
Updating files:  38% (10455/27512)
Updating files:  39% (10730/27512)
Updating files:  39% (10883/27512)
Updating files:  40% (11005/27512)
Updating files:  41% (11280/27512)
Updating files:  42% (11556/27512)
Updating files:  42% (11717/27512)
Updating files:  43% (11831/27512)
Updating files:  44% (12106/27512)
Updating files:  45% (12381/27512)
Updating files:  46% (12656/27512)
Updating files:  47% (12931/27512)
Updating files:  48% (13206/27512)
Updating files:  49% (13481/27512)
Updating files:  50% (13756/27512)
Updating files:  51% (14032/27512)
Updating files:  52% (14307/27512)
Updating files:  53% (14582/27512)
Updating files:  53% (14704/27512)
Updating files:  54% (14857/27512)
Updating files:  55% (15132/27512)
Updating files:  56% (15407/27512)
Updating files:  56% (15636/27512)
Updating files:  57% (15682/27512)
Updating files:  58% (15957/27512)
Updating files:  59% (16233/27512)
Updating files:  60% (16508/27512)
Updating files:  61% (16783/27512)
Updating files:  62% (17058/27512)
Updating files:  63% (17333/27512)
Updating files:  64% (17608/27512)
Updating files:  64% (17747/27512)
Updating files:  65% (17883/27512)
Updating files:  66% (18158/27512)
Updating files:  67% (18434/27512)
Updating files:  68% (18709/27512)
Updating files:  69% (18984/27512)
Updating files:  69% (19214/27512)
Updating files:  70% (19259/27512)
Updating files:  71% (19534/27512)
Updating files:  72% (19809/27512)
Updating files:  73% (20084/27512)
Updating files:  74% (20359/27512)
Updating files:  74% (20558/27512)
Updating files:  75% (20634/27512)
Updating files:  76% (20910/27512)
Updating files:  77% (21185/27512)
Updating files:  78% (21460/27512)
Updating files:  78% (21477/27512)
Updating files:  79% (21735/27512)
Updating files:  80% (22010/27512)
Updating files:  80% (22042/27512)
Updating files:  81% (22285/27512)
Updating files:  82% (22560/27512)
Updating files:  82% (22565/27512)
Updating files:  83% (22835/27512)
Updating files:  83% (23019/27512)
Updating files:  84% (23111/27512)
Updating files:  85% (23386/27512)
Updating files:  85% (23536/27512)
Updating files:  86% (23661/27512)
Updating files:  87% (23936/27512)
Updating files:  87% (24137/27512)
Updating files:  88% (24211/27512)
Updating files:  88% (24467/27512)
Updating files:  89% (24486/27512)
Updating files:  90% (24761/27512)
Updating files:  90% (24906/27512)
Updating files:  91% (25036/27512)
Updating files:  92% (25312/27512)
Updating files:  93% (25587/27512)
Updating files:  93% (25709/27512)
Updating files:  94% (25862/27512)
Updating files:  95% (26137/27512)
Updating files:  96% (26412/27512)
Updating files:  97% (26687/27512)
Updating files:  97% (26788/27512)
Updating files:  98% (26962/27512)
Updating files:  99% (27237/27512)
Updating files: 100% (27512/27512)
Updating files: 100% (27512/27512), done.
HEAD is now at fa516a10da Merge pull request #22254 from ocaml/mseri-patch-3
Merge made by the 'ort' strategy.
 packages/posix-base/posix-base.2.0.1/opam          | 37 ++++++++++++++++++
 packages/posix-bindings/posix-bindings.2.0.1/opam  | 42 +++++++++++++++++++++
 packages/posix-getopt/posix-getopt.2.0.1/opam      | 44 ++++++++++++++++++++++
 packages/posix-signal/posix-signal.2.0.1/opam      | 40 ++++++++++++++++++++
 .../posix-socket-unix/posix-socket-unix.2.0.1/opam | 41 ++++++++++++++++++++
 packages/posix-socket/posix-socket.2.0.1/opam      | 38 +++++++++++++++++++
 packages/posix-time2/posix-time2.2.0.1/opam        | 41 ++++++++++++++++++++
 packages/posix-types/posix-types.2.0.1/opam        | 40 ++++++++++++++++++++
 packages/posix-uname/posix-uname.2.0.1/opam        | 39 +++++++++++++++++++
 9 files changed, 362 insertions(+)
 create mode 100644 packages/posix-base/posix-base.2.0.1/opam
 create mode 100644 packages/posix-bindings/posix-bindings.2.0.1/opam
 create mode 100644 packages/posix-getopt/posix-getopt.2.0.1/opam
 create mode 100644 packages/posix-signal/posix-signal.2.0.1/opam
 create mode 100644 packages/posix-socket-unix/posix-socket-unix.2.0.1/opam
 create mode 100644 packages/posix-socket/posix-socket.2.0.1/opam
 create mode 100644 packages/posix-time2/posix-time2.2.0.1/opam
 create mode 100644 packages/posix-types/posix-types.2.0.1/opam
 create mode 100644 packages/posix-uname/posix-uname.2.0.1/opam

(from ocaml/opam:debian-11-ocaml-4.14@sha256:5a22a68cd47434a7602f2fbd0fc04c6e49c6ca31ef11d9942572eb511432195e)
2022-10-13 12:42.13 ---> using "abf9a7353aaee23de7948bad722a963f70e951562b214ca50087587540cf8e22" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-10-13 12:42.13 ---> using "a927819824abc2b95cac7497bf14d12a9cf099c027113b0f3942a4361949ff60" from cache

/home/opam: (run (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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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] synchronised from file:///home/opam/opam-repository
2022-10-13 12:42.13 ---> using "c7d0e9aa838ef5d0281d44d85e4eddc166d621b1e8b8de04d067807e24a8552b" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (run (shell "rm -rf opam-repository/"))
2022-10-13 12:42.13 ---> using "67becc12ebcbb71282a07ba9aa38802c736fe075e0274b8403f7f348714e7be4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-10-13 12:44.18 ---> saved as "e3c0bd16f8fcd43e5ed44eea31b25abde0960a7fe2e66c498b6b1d4f799691d4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-10-13 12:44.55 ---> saved as "11d5666b4a5483f694ac80294268fcbf821210204b7adae742ed9c4ed48a6770"

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

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

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

/home/opam: (run (shell "opam pin add -k version -yn posix-base.2.0.1 2.0.1"))
posix-base is now pinned to version 2.0.1
2022-10-13 12:44.57 ---> saved as "9b4d30b36812fcfbc2752f87dd0d2a0cfeaa924151eccffa8a08947dcd1055e9"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [189 kB]
- Fetched 281 kB in 0s (580 kB/s)
- Reading package lists...
- 
2022-10-13 12:45.01 ---> saved as "8fc2b9ad608282c2a36d67f930c374ff083a6e77aaa04d28b9e6b8a1f7648518"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall posix-base.2.0.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        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
posix-base.2.0.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 7 packages
  - install bigarray-compat 1.1.0
  - install ctypes          0.20.1
  - install dune            3.4.1
  - install integers        0.7.0
  - install ocamlfind       1.9.5
  - install posix-base      2.0.1 (pinned)
  - install stdlib-shims    0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved ctypes.0.20.1  (cached)
-> retrieved dune.3.4.1  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved posix-base.2.0.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.5
-> installed dune.3.4.1
-> installed stdlib-shims.0.3.0
-> installed bigarray-compat.1.1.0
-> installed integers.0.7.0
-> installed ctypes.0.20.1
-> installed posix-base.2.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-10-13 12:45.47 ---> saved as "e29e7beeaf331b6dd6263f0ed1e47274632853ebb6b215fbf0e4827d33d9df2a"

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

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Reading package lists...
- 
2022-10-13 12:45.50 ---> saved as "5c2f715b0029a1f591827a5f9dda981b2c577f019a66632d279043c23c2c8407"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall srt.0.2.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        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
srt.0.2.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 7 packages
  - install conf-pkg-config   2
  - install conf-srt          2
  - install conf-srt-openssl  1
  - install csexp             1.5.1
  - install dune-configurator 3.4.1
  - install posix-socket      2.0.1
  - install srt               0.2.1

The following system packages will first need to be installed:
    libsrt-openssl-dev libssl-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libsrt-openssl-dev" "libssl-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
- (Reading database ... 100%
(Reading database ... 18332 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libsrt1.4-openssl:amd64.
- Preparing to unpack .../3-libsrt1.4-openssl_1.4.2-1.3_amd64.deb ...
- Unpacking libsrt1.4-openssl:amd64 (1.4.2-1.3) ...
- Selecting previously unselected package libsrt-openssl-dev:amd64.
- Preparing to unpack .../4-libsrt-openssl-dev_1.4.2-1.3_amd64.deb ...
- Unpacking libsrt-openssl-dev:amd64 (1.4.2-1.3) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../5-libssl-dev_1.1.1n-0+deb11u3_amd64.deb ...
- Unpacking libssl-dev:amd64 (1.1.1n-0+deb11u3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../6-libxml2_2.9.10+dfsg-6.7+deb11u2_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../7-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../8-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../9-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libsrt1.4-openssl:amd64 (1.4.2-1.3) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1) ...
- Setting up libssl-dev:amd64 (1.1.1n-0+deb11u3) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libsrt-openssl-dev:amd64 (1.4.2-1.3) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.1  (cached)
-> retrieved dune-configurator.3.4.1  (cached)
-> installed conf-pkg-config.2
-> installed csexp.1.5.1
-> retrieved posix-socket.2.0.1  (cached)
[ERROR] The compilation of conf-srt-openssl.1 failed at "pkg-config --exists srt".
-> retrieved srt.0.2.1  (cached)
-> installed dune-configurator.3.4.1
-> installed posix-socket.2.0.1

#=== ERROR while compiling conf-srt-openssl.1 =================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/conf-srt-openssl.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --exists srt
# exit-code            1
# env-file             ~/.opam/log/conf-srt-openssl-7-5077d0.env
# output-file          ~/.opam/log/conf-srt-openssl-7-5077d0.out



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-srt-openssl 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-pkg-config   2
| - install csexp             1.5.1
| - install dune-configurator 3.4.1
| - install posix-socket      2.0.1
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20221013124551.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/bin/bash" "-c"
"opam reinstall srt.0.2.1;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
        done;
        exit 1" failed with exit status 1
2022-10-13 12:47.39: Job failed: Failed: Build failed
2022-10-13 12:47.39: Log analysis:
2022-10-13 12:47.39: >>> 
[ERROR] The compilation of conf-srt-openssl.1 failed at "pkg-config --exists srt".
 (score = 20)
2022-10-13 12:47.39: The compilation of conf-srt-openssl.1 failed at "pkg-config --exists srt".