Build:
  1. 0
2026-03-02 21:58.48: New job: test posix-base.4.0.2, using opam 2.0
                              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.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn posix-base.4.0.2 4.0.2
RUN opam depext posix-base.4.0.2 && opam reinstall posix-base.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-base.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 depext --with-test posix-base.4.0.2 && opam reinstall --with-test posix-base.4.0.2) || true
RUN opam depext --with-test posix-base.4.0.2 && opam reinstall --with-test --verbose posix-base.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-base.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-base.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.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn posix-base.4.0.2 4.0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext posix-base.4.0.2 && opam reinstall posix-base.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-base.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 depext --with-test posix-base.4.0.2 && opam reinstall --with-test posix-base.4.0.2) || true"))
 (run (shell  "opam depext --with-test posix-base.4.0.2 && opam reinstall --with-test --verbose posix-base.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-base.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:57.04: Waiting for worker…
2026-03-03 10:00.21: Got resource from pool OCluster
Building on doris.caelum.ci.dev
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:00.23 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-03-03 10:00.23 ---> using "56d9e8a75638418275aa931c51d2e5f669e153bc0fc2e4d653865d0e45b3fa51" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-03 10:00.25 ---> saved as "4c76cfa2b7f33fbd9443a7f00fdd1ef143257fb664a83fe51dc5f1106df27f3e"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2026-03-03 10:00.25 ---> saved as "b3ef5faab9f6656034b1bf9ef0b87bcfac1b44ee7ecbbd139002c56b1800fcc6"

/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:00.54 ---> saved as "ba30fbaa87cb24155ed3b5236fa9d6a05a9fc19f4ca1faa461b9330fc88898d0"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 10:01.09 ---> saved as "dd54e89f3ddaea19b932f0a262a8098418458eb2fa49bb405916d2c23ddb652a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-03 10:01.20 ---> saved as "bb9c02db2cf7b08b24199ed93a213379e8dbf3d6c398540d02cf8ccdcc889304"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1470 kB/s)
Reading package lists...
# OS package update successful
2026-03-03 10:01.22 ---> saved as "99304ef36af8bafde6a1ba36fe5a03b2ff6966a8f2b454211eca37bf86f1dc59"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext posix-base.4.0.2 && opam reinstall posix-base.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-base.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
posix-base.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune              3.21.1 [required by posix-base]
  - install integers          0.5.1  [required by posix-base]
  - install csexp             1.5.2  [required by dune-configurator]
  - install dune-configurator 3.21.1 [required by ctypes]
  - install ctypes            0.24.0 [required by posix-base]
  - install posix-base        4.0.2*
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[ctypes.0.24.0] found in cache
[dune.3.21.1] found in cache
[dune-configurator.3.21.1] found in cache
[integers.0.5.1] found in cache
[posix-base.4.0.2] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed integers.0.5.1
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed posix-base.4.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-03 10:02.06 ---> saved as "d3dc4ef117cd5c89785d1f66ac94acf83fc4a2522d496f04a98006cdd049e131"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test posix-base.4.0.2 && opam reinstall --with-test posix-base.4.0.2) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy pkg-config
Selecting previously unselected package libpkgconf3: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 ... 20623 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-4) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-4) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-4) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Processing triggers for libc-bin (2.41-12+deb13u1) ...
# OS packages installation successful
The following actions will be performed:
  - recompile posix-base 4.0.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   posix-base.4.0.2
-> installed posix-base.4.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-03 10:02.18 ---> saved as "d3cb883eaf56fbd1c5507f98cb11736a8c3720a13f9d78ab23078666414f103b"

/home/opam: (run (shell  "opam depext --with-test posix-base.4.0.2 && opam reinstall --with-test --verbose posix-base.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-base.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
pkg-config
# All required OS packages found.
The following actions will be performed:
  - recompile posix-base 4.0.2*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [posix-base: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-base" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/posix-base.4.0.2)
-> compiled  posix-base.4.0.2
-> removed   posix-base.4.0.2
-> installed posix-base.4.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-03 10:02.28 ---> saved as "f0530a3014232f4faedb331c06ba815e1d979ae3f2a182ee16fe27c9d39f648f"
Job succeeded
2026-03-03 10:03.17: Job succeeded