(for PR #29128)

2025-12-23 22:12.44: New job: build posix-socket-unix.3.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29128/head (be6f5a2b2d3c046d757bfdb66968dd0064a03728)
                              on debian-unstable-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/29128/head" && git reset --hard be6f5a2b
git fetch origin master
git merge --no-edit 173460ab354e0e6a17ee414264f348b06dee2d3d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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-socket-unix.3.1.0 3.1.0
RUN opam reinstall posix-socket-unix.3.1.0; \
    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-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-socket-unix.3.1.0' && 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 .

2025-12-23 22:12.44: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9-posix-socket-unix.3.1.0-be6f5a2b2d3c046d757bfdb66968dd0064a03728"
2025-12-23 22:12.44: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /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-socket-unix.3.1.0 3.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall posix-socket-unix.3.1.0;\
             \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-unstable\\\"\"; 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-socket-unix.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-23 22:12.44: Waiting for resource in pool OCluster
2025-12-23 22:25.19: Waiting for worker…
2025-12-23 22:29.03: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 173460ab35 Merge pull request #29122 from craff/master
Updating 173460ab35..be6f5a2b2d
Fast-forward
 packages/posix-base/posix-base.3.1.0/opam          | 40 +++++++++++++++++++
 packages/posix-bindings/posix-bindings.3.1.0/opam  | 43 ++++++++++++++++++++
 packages/posix-getopt/posix-getopt.3.1.0/opam      | 46 ++++++++++++++++++++++
 packages/posix-math2/posix-math2.3.1.0/opam        | 40 +++++++++++++++++++
 packages/posix-signal/posix-signal.3.1.0/opam      | 42 ++++++++++++++++++++
 .../posix-socket-unix/posix-socket-unix.3.1.0/opam | 43 ++++++++++++++++++++
 packages/posix-socket/posix-socket.3.1.0/opam      | 42 ++++++++++++++++++++
 packages/posix-time2/posix-time2.3.1.0/opam        | 43 ++++++++++++++++++++
 packages/posix-types/posix-types.3.1.0/opam        | 42 ++++++++++++++++++++
 packages/posix-uname/posix-uname.3.1.0/opam        | 41 +++++++++++++++++++
 10 files changed, 422 insertions(+)
 create mode 100644 packages/posix-base/posix-base.3.1.0/opam
 create mode 100644 packages/posix-bindings/posix-bindings.3.1.0/opam
 create mode 100644 packages/posix-getopt/posix-getopt.3.1.0/opam
 create mode 100644 packages/posix-math2/posix-math2.3.1.0/opam
 create mode 100644 packages/posix-signal/posix-signal.3.1.0/opam
 create mode 100644 packages/posix-socket-unix/posix-socket-unix.3.1.0/opam
 create mode 100644 packages/posix-socket/posix-socket.3.1.0/opam
 create mode 100644 packages/posix-time2/posix-time2.3.1.0/opam
 create mode 100644 packages/posix-types/posix-types.3.1.0/opam
 create mode 100644 packages/posix-uname/posix-uname.3.1.0/opam

(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9' locally
docker.io/ocaml/opam@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9: Pulling from ocaml/opam
8d9b0d1957d2: Pulling fs layer
77bd5ce6de14: Pulling fs layer
59ace7bbb792: Pulling fs layer
b44820cf8c7c: Pulling fs layer
01779645db39: Pulling fs layer
2eff1215ea11: Pulling fs layer
cd204a506c17: Pulling fs layer
fdbe9d71b607: Pulling fs layer
1d1ef689aa4e: Pulling fs layer
01779645db39: Waiting
b44820cf8c7c: Waiting
21d29e096296: Pulling fs layer
fdbe9d71b607: Waiting
f3c0f441dc5a: Pulling fs layer
2eff1215ea11: Waiting
24e024f45d9d: Pulling fs layer
1d1ef689aa4e: Waiting
cd204a506c17: Waiting
21d29e096296: Waiting
70f2fc20df5f: Pulling fs layer
f3c0f441dc5a: Waiting
24e024f45d9d: Waiting
dc1d3669f80d: Pulling fs layer
70f2fc20df5f: Waiting
dc1d3669f80d: Waiting
d1960fd642f1: Pulling fs layer
5a522f53743b: Pulling fs layer
69c97573612d: Pulling fs layer
5a522f53743b: Waiting
d1960fd642f1: Waiting
e309391d441d: Pulling fs layer
69c97573612d: Waiting
db1ca6399fa8: Pulling fs layer
e309391d441d: Waiting
14889b83b326: Pulling fs layer
44e6acdbb29a: Pulling fs layer
db1ca6399fa8: Waiting
4f4fb700ef54: Pulling fs layer
14889b83b326: Waiting
1976d6d05edb: Pulling fs layer
4f4fb700ef54: Waiting
44e6acdbb29a: Waiting
847e4a574c7f: Pulling fs layer
1976d6d05edb: Waiting
6b92941a3055: Pulling fs layer
847e4a574c7f: Waiting
37281440a7ab: Pulling fs layer
b771055b6fbe: Pulling fs layer
6b92941a3055: Waiting
8f4ee55b4bf4: Pulling fs layer
b771055b6fbe: Waiting
d31d3386bb00: Pulling fs layer
8f4ee55b4bf4: Waiting
aa71471fafa8: Pulling fs layer
d31d3386bb00: Waiting
cab8c018bf1d: Pulling fs layer
aa71471fafa8: Waiting
efe6eb884787: Pulling fs layer
22ff1b490950: Pulling fs layer
08392e8ad44d: Pulling fs layer
efe6eb884787: Waiting
cab8c018bf1d: Waiting
9786f0609b93: Pulling fs layer
08392e8ad44d: Waiting
7007db005dae: Pulling fs layer
9786f0609b93: Waiting
7658258a9410: Pulling fs layer
2e6a084ea7c1: Pulling fs layer
7007db005dae: Waiting
7658258a9410: Waiting
22ff1b490950: Waiting
c7f51cd10453: Pulling fs layer
2e6a084ea7c1: Waiting
8bd38c2c8638: Pulling fs layer
c7f51cd10453: Waiting
36873e6fc54e: Pulling fs layer
8bd38c2c8638: Waiting
84cc85819454: Pulling fs layer
36873e6fc54e: Waiting
d0d0d6fe5104: Pulling fs layer
84cc85819454: Waiting
b1120395698d: Pulling fs layer
d0d0d6fe5104: Waiting
b1120395698d: Waiting
59ace7bbb792: Verifying Checksum
59ace7bbb792: Download complete
77bd5ce6de14: Verifying Checksum
77bd5ce6de14: Download complete
b44820cf8c7c: Verifying Checksum
b44820cf8c7c: Download complete
01779645db39: Verifying Checksum
01779645db39: Download complete
8d9b0d1957d2: Verifying Checksum
8d9b0d1957d2: Download complete
cd204a506c17: Verifying Checksum
cd204a506c17: Download complete
fdbe9d71b607: Verifying Checksum
fdbe9d71b607: Download complete
1d1ef689aa4e: Verifying Checksum
1d1ef689aa4e: Download complete
21d29e096296: Verifying Checksum
21d29e096296: Download complete
f3c0f441dc5a: Verifying Checksum
f3c0f441dc5a: Download complete
24e024f45d9d: Verifying Checksum
24e024f45d9d: Download complete
70f2fc20df5f: Verifying Checksum
70f2fc20df5f: Download complete
d1960fd642f1: Verifying Checksum
d1960fd642f1: Download complete
2eff1215ea11: Verifying Checksum
2eff1215ea11: Download complete
dc1d3669f80d: Verifying Checksum
dc1d3669f80d: Download complete
5a522f53743b: Verifying Checksum
5a522f53743b: Download complete
69c97573612d: Verifying Checksum
69c97573612d: Download complete
e309391d441d: Verifying Checksum
e309391d441d: Download complete
8d9b0d1957d2: Pull complete
77bd5ce6de14: Pull complete
59ace7bbb792: Pull complete
14889b83b326: Verifying Checksum
14889b83b326: Download complete
db1ca6399fa8: Verifying Checksum
db1ca6399fa8: Download complete
44e6acdbb29a: Download complete
4f4fb700ef54: Verifying Checksum
1976d6d05edb: Download complete
847e4a574c7f: Download complete
b44820cf8c7c: Pull complete
6b92941a3055: Verifying Checksum
6b92941a3055: Download complete
37281440a7ab: Verifying Checksum
37281440a7ab: Download complete
b771055b6fbe: Verifying Checksum
b771055b6fbe: Download complete
01779645db39: Pull complete
8f4ee55b4bf4: Verifying Checksum
8f4ee55b4bf4: Download complete
d31d3386bb00: Download complete
aa71471fafa8: Verifying Checksum
aa71471fafa8: Download complete
cab8c018bf1d: Verifying Checksum
cab8c018bf1d: Download complete
efe6eb884787: Download complete
08392e8ad44d: Verifying Checksum
08392e8ad44d: Download complete
22ff1b490950: Verifying Checksum
22ff1b490950: Download complete
7007db005dae: Verifying Checksum
7007db005dae: Download complete
2e6a084ea7c1: Download complete
c7f51cd10453: Verifying Checksum
c7f51cd10453: Download complete
8bd38c2c8638: Download complete
9786f0609b93: Verifying Checksum
9786f0609b93: Download complete
7658258a9410: Verifying Checksum
7658258a9410: Download complete
84cc85819454: Verifying Checksum
84cc85819454: Download complete
d0d0d6fe5104: Verifying Checksum
d0d0d6fe5104: Download complete
b1120395698d: Verifying Checksum
b1120395698d: Download complete
36873e6fc54e: Verifying Checksum
36873e6fc54e: Download complete
2eff1215ea11: Pull complete
cd204a506c17: Pull complete
fdbe9d71b607: Pull complete
1d1ef689aa4e: Pull complete
21d29e096296: Pull complete
f3c0f441dc5a: Pull complete
24e024f45d9d: Pull complete
70f2fc20df5f: Pull complete
dc1d3669f80d: Pull complete
d1960fd642f1: Pull complete
5a522f53743b: Pull complete
69c97573612d: Pull complete
e309391d441d: Pull complete
db1ca6399fa8: Pull complete
14889b83b326: Pull complete
44e6acdbb29a: Pull complete
4f4fb700ef54: Pull complete
1976d6d05edb: Pull complete
847e4a574c7f: Pull complete
6b92941a3055: Pull complete
37281440a7ab: Pull complete
b771055b6fbe: Pull complete
8f4ee55b4bf4: Pull complete
d31d3386bb00: Pull complete
aa71471fafa8: Pull complete
cab8c018bf1d: Pull complete
efe6eb884787: Pull complete
22ff1b490950: Pull complete
08392e8ad44d: Pull complete
9786f0609b93: Pull complete
7007db005dae: Pull complete
7658258a9410: Pull complete
2e6a084ea7c1: Pull complete
c7f51cd10453: Pull complete
8bd38c2c8638: Pull complete
36873e6fc54e: Pull complete
84cc85819454: Pull complete
d0d0d6fe5104: Pull complete
b1120395698d: Pull complete
Digest: sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9
Status: Downloaded newer image for ocaml/opam@sha256:a0fd00c35dae4fc01d42c342e27214427e345206ea2bd0fcc52b91e34b28d9f9
2025-12-23 22:29.17 ---> using "a68605b4354575afe1c528b539564ee3794c728dbbfc6d66137323915627af1d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-23 22:29.17 ---> using "2a736732d8edd75a5bfb028db3bc3fb5568b85c48c74fb3f0d543bd1bca298cf" 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
2025-12-23 22:29.17 ---> using "b7574addc9fb31ce69ab87e73ae8156ae60ac0b839756ee75723e76d779690dd" 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=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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
2025-12-23 22:29.17 ---> using "c2bab153505e89e60c43bfb6e8110d451182cda5f35dd691ba218bea92865a69" 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/"))
2025-12-23 22:29.17 ---> using "08d22b359451e168d000a8151c91e3c6866969d3905d52201b825170c52ed0dd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-23 22:29.18 ---> using "960710a3739f45f2977aafe2e67626054059e78b184e7c59deb4c5c16eed52e2" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-23 22:29.33 ---> saved as "20a5f0e5ddcf6f799559a561275fb0e17dea68643a501d10cafff6b2baa6ef94"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-23-2005.38-F-2025-12-12-2006.24.pdiff [548 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-23-2005.38-F-2025-12-12-2006.24.pdiff [548 kB]
- Fetched 798 kB in 1s (560 kB/s)
- Reading package lists...
- 
2025-12-23 22:29.35 ---> saved as "24d22afd899e05fbc52bcb85bfd56ac21b7ffa1a250e5378f2bb3558d15d53ba"

/home/opam: (run (shell "opam pin add -k version -yn posix-socket-unix.3.1.0 3.1.0"))
posix-socket-unix is now pinned to version 3.1.0
2025-12-23 22:29.36 ---> saved as "fe14f092afbb37334815d7e0987d3b0ccf0729cc1f5f1461b6c87fee4efe54ad"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall posix-socket-unix.3.1.0;\
                        \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-unstable\\\"\"; 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-socket-unix.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
posix-socket-unix.3.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install ctypes            0.24.0         [required by posix-socket-unix]
  - install dune              3.20.2         [required by posix-socket-unix]
  - install dune-configurator 3.20.2         [required by ctypes, posix-socket]
  - install integers          0.7.0          [required by posix-base, ctypes, unix-errno]
  - install posix-base        3.1.0          [required by posix-socket-unix]
  - install posix-socket      3.1.0          [required by posix-socket-unix]
  - install posix-socket-unix 3.1.0 (pinned)
  - install result            1.5            [required by unix-errno]
  - install stdlib-shims      0.3.0          [required by integers]
  - install unix-errno        0.6.2          [required by posix-socket-unix]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.24.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved posix-base.3.1.0, posix-socket.3.1.0, posix-socket-unix.3.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved unix-errno.0.6.2  (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed posix-base.3.1.0
-> installed unix-errno.0.6.2
-> installed posix-socket.3.1.0
-> installed posix-socket-unix.3.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-23 22:30.14 ---> saved as "d3b13ff059e7bd85b03829bc6f7b624e5404a22ef10fa2c6a0fec8a7d85f6777"
Job succeeded
2025-12-23 22:30.27: Job succeeded