Build:
  1. 0
2026-03-02 21:58.48: New job: test posix-bindings.4.0.2, using opam 2.5
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
                              on debian-13-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/29495/head" && git reset --hard 2179367d
git fetch origin master
git merge --no-edit 4d2d05075ed20338fa6af3429fc5c18858025bd3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.5 /usr/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 --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn posix-bindings.4.0.2 4.0.2
RUN opam reinstall posix-bindings.4.0.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-bindings.4.0.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test posix-bindings.4.0.2) || true
RUN opam reinstall --with-test --verbose posix-bindings.4.0.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-bindings.4.0.2' && 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-03-02 21:58.48: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-posix-bindings.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.48: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -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 --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn posix-bindings.4.0.2 4.0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall posix-bindings.4.0.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'posix-bindings.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test posix-bindings.4.0.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose posix-bindings.4.0.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'posix-bindings.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-02 21:58.48: Waiting for resource in pool OCluster
2026-03-03 09:59.11: Waiting for worker…
2026-03-03 10:01.20: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 4d2d05075e Merge pull request #29493 from filipeom/opam-publish-smtml.0.22.0
Updating 4d2d05075e..2179367d24
Fast-forward
 packages/posix-base/posix-base.4.0.2/opam          | 40 ++++++++++++++++++
 packages/posix-bindings/posix-bindings.4.0.2/opam  | 47 ++++++++++++++++++++++
 packages/posix-errno/posix-errno.4.0.2/opam        | 40 ++++++++++++++++++
 packages/posix-getopt/posix-getopt.4.0.2/opam      | 46 +++++++++++++++++++++
 packages/posix-math2/posix-math2.4.0.2/opam        | 40 ++++++++++++++++++
 packages/posix-resource/posix-resource.4.0.2/opam  | 44 ++++++++++++++++++++
 packages/posix-signal/posix-signal.4.0.2/opam      | 42 +++++++++++++++++++
 .../posix-socket-unix/posix-socket-unix.4.0.2/opam | 43 ++++++++++++++++++++
 packages/posix-socket/posix-socket.4.0.2/opam      | 42 +++++++++++++++++++
 packages/posix-stat/posix-stat.4.0.2/opam          | 44 ++++++++++++++++++++
 packages/posix-time2/posix-time2.4.0.2/opam        | 43 ++++++++++++++++++++
 packages/posix-types/posix-types.4.0.2/opam        | 42 +++++++++++++++++++
 packages/posix-uname/posix-uname.4.0.2/opam        | 41 +++++++++++++++++++
 packages/posix-unistd/posix-unistd.4.0.2/opam      | 42 +++++++++++++++++++
 14 files changed, 596 insertions(+)
 create mode 100644 packages/posix-base/posix-base.4.0.2/opam
 create mode 100644 packages/posix-bindings/posix-bindings.4.0.2/opam
 create mode 100644 packages/posix-errno/posix-errno.4.0.2/opam
 create mode 100644 packages/posix-getopt/posix-getopt.4.0.2/opam
 create mode 100644 packages/posix-math2/posix-math2.4.0.2/opam
 create mode 100644 packages/posix-resource/posix-resource.4.0.2/opam
 create mode 100644 packages/posix-signal/posix-signal.4.0.2/opam
 create mode 100644 packages/posix-socket-unix/posix-socket-unix.4.0.2/opam
 create mode 100644 packages/posix-socket/posix-socket.4.0.2/opam
 create mode 100644 packages/posix-stat/posix-stat.4.0.2/opam
 create mode 100644 packages/posix-time2/posix-time2.4.0.2/opam
 create mode 100644 packages/posix-types/posix-types.4.0.2/opam
 create mode 100644 packages/posix-uname/posix-uname.4.0.2/opam
 create mode 100644 packages/posix-unistd/posix-unistd.4.0.2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 10:01.22 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-03 10:01.22 ---> using "8374062dd1f171042f2ed7eca1d02e74c54db5671c409b8da2a675cd5a3b13d2" from cache

/home/opam: (run (network host)
                 (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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, 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] Initialised
2026-03-03 10:01.22 ---> using "6a242ff28f9ae09ba69566d2a24633ba60529d1b63fb500ea70f712b71114301" from cache

/home/opam: (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=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "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       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-03 10:01.22 ---> using "16a102d668e6c42d024d1de286141a12cc0969db55b88e50a3689e109f493850" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-03 10:01.22 ---> using "e0b414b58cc62a3fe418ba614974555bbb9e4ac5bc6bc3e67bb989a3ba371026" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 10:01.24 ---> saved as "3ce0345f94a6787d4db740f352339ee73b608581ecc6842a8776d83ed879ff3c"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 10:01.45 ---> saved as "8f40d253d7e5601f4b8dfd1b4c70878669cfa8546f5b6d47c8bd4b172df3caa2"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1728 kB/s)
- Reading package lists...
- 
2026-03-03 10:01.46 ---> saved as "8891d9c48a652bf5622facc9241dd07c6f211d6a86e06e4401c5f52d188f2a73"

/home/opam: (run (shell "opam pin add -k version -yn posix-bindings.4.0.2 4.0.2"))
posix-bindings is now pinned to version 4.0.2
2026-03-03 10:01.47 ---> saved as "a5237528387a112cdf2b27de98030c8e8fc2e395ce4c014ca5efa582508fbb72"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall posix-bindings.4.0.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'posix-bindings.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
posix-bindings.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install ctypes            0.24.0         [required by posix-uname, posix-socket-unix, posix-resource, etc.]
  - install dune              3.21.1         [required by posix-bindings]
  - install dune-configurator 3.21.1         [required by posix-getopt, posix-socket]
  - install integers          0.7.0          [required by ctypes, posix-base]
  - install posix-base        4.0.2          [required by posix-uname, posix-socket-unix, posix-resource, etc.]
  - install posix-bindings    4.0.2 (pinned)
  - install posix-errno       4.0.2          [required by posix-uname, posix-socket-unix, posix-getopt, etc.]
  - install posix-getopt      4.0.2          [required by posix-bindings]
  - install posix-math2       4.0.2          [required by posix-bindings]
  - install posix-resource    4.0.2          [required by posix-bindings]
  - install posix-socket      4.0.2          [required by posix-bindings]
  - install posix-socket-unix 4.0.2          [required by posix-bindings]
  - install posix-stat        4.0.2          [required by posix-bindings]
  - install posix-time2       4.0.2          [required by posix-bindings]
  - install posix-types       4.0.2          [required by posix-bindings]
  - install posix-uname       4.0.2          [required by posix-bindings]
  - install posix-unistd      4.0.2          [required by posix-bindings]
  - install stdlib-shims      0.3.0          [required by integers]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.24.0  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved posix-base.4.0.2, posix-bindings.4.0.2, posix-errno.4.0.2, posix-getopt.4.0.2, posix-math2.4.0.2, posix-resource.4.0.2, posix-socket.4.0.2, posix-socket-unix.4.0.2, posix-stat.4.0.2, posix-time2.4.0.2, posix-types.4.0.2, posix-uname.4.0.2, posix-unistd.4.0.2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.21.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed posix-base.4.0.2
-> installed posix-types.4.0.2
-> installed posix-errno.4.0.2
-> installed posix-socket.4.0.2
-> installed posix-unistd.4.0.2
-> installed posix-getopt.4.0.2
-> installed posix-uname.4.0.2
-> installed posix-time2.4.0.2
-> installed posix-math2.4.0.2
-> installed posix-socket-unix.4.0.2
-> installed posix-resource.4.0.2
-> installed posix-stat.4.0.2
-> installed posix-bindings.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 10:02.56 ---> saved as "eb0310f2bd0902d8237e971ebd23276845c0a5c40cccb0101a4a88ab73b00c27"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test posix-bindings.4.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile posix-bindings 4.0.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   posix-bindings.4.0.2
-> installed posix-bindings.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 10:03.02 ---> saved as "eca833aa9bd62939bc642df4d4015c03239d73988218c5d803088aa9385fc6ca"

/home/opam: (run (shell  "opam reinstall --with-test --verbose posix-bindings.4.0.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'posix-bindings.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile posix-bindings 4.0.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [posix-bindings: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-bindings" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/posix-bindings.4.0.2)
-> compiled  posix-bindings.4.0.2
-> removed   posix-bindings.4.0.2
-> installed posix-bindings.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 10:03.07 ---> saved as "f38f2f505dceb3224be201669cf8e8099dc507c4bf58f6d209a5b469d26cda1b"
Job succeeded
2026-03-03 10:03.13: Job succeeded