Build:
  1. 0
2026-03-02 21:58.47: New job: build posix-time2.4.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
                              on archlinux-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:archlinux-ocaml-4.14@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746
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-time2.4.0.2 4.0.2
RUN opam reinstall posix-time2.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-time2.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.47: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746-posix-time2.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.47: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746)
 (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-time2.4.0.2 4.0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall posix-time2.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 \"\\\"archlinux\\\"\"; 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-time2.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.47: Waiting for resource in pool OCluster
2026-03-03 09:50.39: Waiting for worker…
2026-03-03 09:54.06: 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:archlinux-ocaml-4.14@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746' locally
docker.io/ocaml/opam@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746: Pulling from ocaml/opam
5e9b2335a1ca: Already exists
abab89a039e6: Pulling fs layer
676f430572bd: Pulling fs layer
30f6f4bfb533: Pulling fs layer
abab89a039e6: Waiting
676f430572bd: Waiting
77d019a03202: Pulling fs layer
30f6f4bfb533: Waiting
676f430572bd: Verifying Checksum
676f430572bd: Download complete
30f6f4bfb533: Verifying Checksum
30f6f4bfb533: Download complete
77d019a03202: Download complete
abab89a039e6: Verifying Checksum
abab89a039e6: Download complete
abab89a039e6: Pull complete
676f430572bd: Pull complete
30f6f4bfb533: Pull complete
77d019a03202: Pull complete
Digest: sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746
Status: Downloaded newer image for ocaml/opam@sha256:c4e55cdc056628f6d4b532457e935902476d13fa61cb7716ba6f3dae67138746
2026-03-03 09:55.19 ---> saved as "d478d7dd85cb5b7a22e5536240ac5bf2182cad1e540b66e4669081635bf45266"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 09:55.20 ---> saved as "5d3ecbe677a7147934212ea3bdc7c45a912d93a0fd352783cea0615a7682b25f"

/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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-03 09:55.42 ---> saved as "46f44d3089f6e456ac6dfbe7deb3b2ed03d166d69681625ec000469399025ca6"

/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=arch os-version=20260215.0.490969
# 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
2026-03-03 09:55.43 ---> saved as "c526a4052efaa917091c4ab1d64b1149387f2a86fa67816ff3bad9ab8524e4d7"

/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 09:55.58 ---> saved as "abe0b8c72e5a9240a0eac4138e4ecf896d0319dbfbade6ef151c940f34298852"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 09:56.06 ---> saved as "e258259255bb06158fe97d9964f2256d09d2d35075fda62bcc3d3712d5512146"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 09:56.25 ---> saved as "e71ba44049ee4ea31b106a113cfbdf83014e22437d7cf3e053c763096aecfbeb"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-03-03 09:56.25 ---> saved as "d8c1c6ea1371160a9407b8ebd01b196be56cc50ea761101cf610d263d6b912e6"

/home/opam: (run (shell "opam pin add -k version -yn posix-time2.4.0.2 4.0.2"))
posix-time2 is now pinned to version 4.0.2
2026-03-03 09:56.26 ---> saved as "5fa04d12b5304ca486f35df0bf5c6fffaa4de6c519f469f3348f9b03cb9ec2d8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall posix-time2.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 \"\\\"archlinux\\\"\"; 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-time2.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-time2.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
  ∗ csexp             1.5.2          [required by dune-configurator]
  ∗ ctypes            0.24.0         [required by posix-time2]
  ∗ dune              3.21.1         [required by posix-time2]
  ∗ dune-configurator 3.21.1         [required by ctypes]
  ∗ integers          0.7.0          [required by ctypes, posix-base]
  ∗ posix-base        4.0.2          [required by posix-time2]
  ∗ posix-errno       4.0.2          [required by posix-time2]
  ∗ posix-time2       4.0.2 (pinned)
  ∗ posix-types       4.0.2          [required by posix-time2]
  ∗ 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-errno.4.0.2, posix-time2.4.0.2, posix-types.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-time2.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:57.12 ---> saved as "badb1276d916cf15573481e6972e6e8306f31edf22041cef3819c6df03f951bb"
Job succeeded
2026-03-03 09:57.42: Job succeeded