Build:
  1. 0
2026-01-10 14:40.22: New job: test posix-errno.4.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29206/head (0a072b41fd9ebb57763642843d64cc403d3f2bf6)
                              on ubuntu-24.04-ocaml-5.4/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29206/head" && git reset --hard 0a072b41
git fetch origin master
git merge --no-edit a6b2f19780b2edfc4e5dba2566235c877dbf5acd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9
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-errno.4.0.1 4.0.1
RUN opam reinstall posix-errno.4.0.1; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-errno.4.0.1' && 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-errno.4.0.1) || true
RUN opam reinstall --with-test --verbose posix-errno.4.0.1; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-errno.4.0.1' && 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-01-10 14:40.22: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9-posix-errno.4.0.1-0a072b41fd9ebb57763642843d64cc403d3f2bf6"
2026-01-10 14:40.22: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9)
 (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-errno.4.0.1 4.0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall posix-errno.4.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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; 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-errno.4.0.1' && 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-errno.4.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose posix-errno.4.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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; 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-errno.4.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-10 14:40.22: Waiting for resource in pool OCluster
2026-01-10 14:40.23: Waiting for worker…
2026-01-11 01:45.44: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
Updating files:  14% (2726/19163)
Updating files:  15% (2875/19163)
Updating files:  16% (3067/19163)
Updating files:  17% (3258/19163)
Updating files:  18% (3450/19163)
Updating files:  19% (3641/19163)
Updating files:  20% (3833/19163)
Updating files:  21% (4025/19163)
Updating files:  22% (4216/19163)
Updating files:  23% (4408/19163)
Updating files:  24% (4600/19163)
Updating files:  25% (4791/19163)
Updating files:  26% (4983/19163)
Updating files:  27% (5175/19163)
Updating files:  27% (5303/19163)
Updating files:  28% (5366/19163)
Updating files:  29% (5558/19163)
Updating files:  30% (5749/19163)
Updating files:  31% (5941/19163)
Updating files:  32% (6133/19163)
Updating files:  33% (6324/19163)
Updating files:  34% (6516/19163)
Updating files:  35% (6708/19163)
Updating files:  36% (6899/19163)
Updating files:  37% (7091/19163)
Updating files:  38% (7282/19163)
Updating files:  39% (7474/19163)
Updating files:  40% (7666/19163)
Updating files:  41% (7857/19163)
Updating files:  41% (7859/19163)
Updating files:  42% (8049/19163)
Updating files:  43% (8241/19163)
Updating files:  44% (8432/19163)
Updating files:  45% (8624/19163)
Updating files:  46% (8815/19163)
Updating files:  47% (9007/19163)
Updating files:  48% (9199/19163)
Updating files:  49% (9390/19163)
Updating files:  50% (9582/19163)
Updating files:  51% (9774/19163)
Updating files:  52% (9965/19163)
Updating files:  53% (10157/19163)
Updating files:  53% (10196/19163)
Updating files:  54% (10349/19163)
Updating files:  55% (10540/19163)
Updating files:  56% (10732/19163)
Updating files:  57% (10923/19163)
Updating files:  58% (11115/19163)
Updating files:  59% (11307/19163)
Updating files:  60% (11498/19163)
Updating files:  61% (11690/19163)
Updating files:  62% (11882/19163)
Updating files:  63% (12073/19163)
Updating files:  64% (12265/19163)
Updating files:  65% (12456/19163)
Updating files:  65% (12545/19163)
Updating files:  66% (12648/19163)
Updating files:  67% (12840/19163)
Updating files:  68% (13031/19163)
Updating files:  69% (13223/19163)
Updating files:  70% (13415/19163)
Updating files:  71% (13606/19163)
Updating files:  72% (13798/19163)
Updating files:  73% (13989/19163)
Updating files:  74% (14181/19163)
Updating files:  75% (14373/19163)
Updating files:  76% (14564/19163)
Updating files:  77% (14756/19163)
Updating files:  78% (14948/19163)
Updating files:  78% (14957/19163)
Updating files:  79% (15139/19163)
Updating files:  80% (15331/19163)
Updating files:  81% (15523/19163)
Updating files:  82% (15714/19163)
Updating files:  83% (15906/19163)
Updating files:  84% (16097/19163)
Updating files:  85% (16289/19163)
Updating files:  86% (16481/19163)
Updating files:  87% (16672/19163)
Updating files:  88% (16864/19163)
Updating files:  89% (17056/19163)
Updating files:  90% (17247/19163)
Updating files:  90% (17304/19163)
Updating files:  91% (17439/19163)
Updating files:  92% (17630/19163)
Updating files:  93% (17822/19163)
Updating files:  94% (18014/19163)
Updating files:  95% (18205/19163)
Updating files:  96% (18397/19163)
Updating files:  97% (18589/19163)
Updating files:  98% (18780/19163)
Updating files:  99% (18972/19163)
Updating files: 100% (19163/19163)
Updating files: 100% (19163/19163), done.
HEAD is now at a6b2f19780 Merge pull request #29201 from lindig/fit
Updating a6b2f19780..0a072b41fd
Fast-forward
 packages/posix-base/posix-base.4.0.1/opam          | 40 ++++++++++++++++++
 packages/posix-bindings/posix-bindings.4.0.1/opam  | 47 ++++++++++++++++++++++
 packages/posix-errno/posix-errno.4.0.1/opam        | 40 ++++++++++++++++++
 packages/posix-getopt/posix-getopt.4.0.1/opam      | 46 +++++++++++++++++++++
 packages/posix-math2/posix-math2.4.0.1/opam        | 40 ++++++++++++++++++
 packages/posix-resource/posix-resource.4.0.1/opam  | 44 ++++++++++++++++++++
 packages/posix-signal/posix-signal.4.0.1/opam      | 42 +++++++++++++++++++
 .../posix-socket-unix/posix-socket-unix.4.0.1/opam | 43 ++++++++++++++++++++
 packages/posix-socket/posix-socket.4.0.1/opam      | 42 +++++++++++++++++++
 packages/posix-stat/posix-stat.4.0.1/opam          | 44 ++++++++++++++++++++
 packages/posix-time2/posix-time2.4.0.1/opam        | 43 ++++++++++++++++++++
 packages/posix-types/posix-types.4.0.1/opam        | 42 +++++++++++++++++++
 packages/posix-uname/posix-uname.4.0.1/opam        | 41 +++++++++++++++++++
 packages/posix-unistd/posix-unistd.4.0.1/opam      | 42 +++++++++++++++++++
 14 files changed, 596 insertions(+)
 create mode 100644 packages/posix-base/posix-base.4.0.1/opam
 create mode 100644 packages/posix-bindings/posix-bindings.4.0.1/opam
 create mode 100644 packages/posix-errno/posix-errno.4.0.1/opam
 create mode 100644 packages/posix-getopt/posix-getopt.4.0.1/opam
 create mode 100644 packages/posix-math2/posix-math2.4.0.1/opam
 create mode 100644 packages/posix-resource/posix-resource.4.0.1/opam
 create mode 100644 packages/posix-signal/posix-signal.4.0.1/opam
 create mode 100644 packages/posix-socket-unix/posix-socket-unix.4.0.1/opam
 create mode 100644 packages/posix-socket/posix-socket.4.0.1/opam
 create mode 100644 packages/posix-stat/posix-stat.4.0.1/opam
 create mode 100644 packages/posix-time2/posix-time2.4.0.1/opam
 create mode 100644 packages/posix-types/posix-types.4.0.1/opam
 create mode 100644 packages/posix-uname/posix-uname.4.0.1/opam
 create mode 100644 packages/posix-unistd/posix-unistd.4.0.1/opam

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9)
2026-01-11 01:45.55 ---> using "689ddea16ea907d91a71afb5843fb8b44a64bac032a0ba733eaa3efb6356e0e9" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-11 01:45.55 ---> using "c813c95b19ffe348086e9ccc0b7aeeaf4f84e446b2024854ed2278424d70ab2e" 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-01-11 01:45.55 ---> using "16ac455a0976715e257ed15ea28f29c99c775e93c95e6fa58fcd42c58ea86af6" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-01-11 01:45.55 ---> using "610ff6510bf4b82f4135632b13314104b111bca132a68c35eae3b521d15c7d4e" 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-01-11 01:45.55 ---> using "2b6a2b19b669bec7bee8b7e9ecc92ede7dc888197d5c163cee03b649b5d8f0f1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-11 01:46.01 ---> using "f775ca20bc590bb2c1f1e1659f35a0597222fed62ee2e9c4012b550f34bba563" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-11 01:46.01 ---> using "0aa3b6ae15331a770d6b851021d895579852bffe5b5adac94e06e6b578d4f0d5" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1469 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [902 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [580 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [926 kB]
- Fetched 4256 kB in 2s (2112 kB/s)
- Reading package lists...
- 
2026-01-11 01:46.01 ---> using "7c93ad1fce06d6fdf04676703dd33eb7479b40d68e69140bf586a61e2593d69a" from cache

/home/opam: (run (shell "opam pin add -k version -yn posix-errno.4.0.1 4.0.1"))
posix-errno is now pinned to version 4.0.1
2026-01-11 01:46.01 ---> using "0a601ebb11cc943baf26e9e9920311b5993ef5ea3bea48fdc279a1261f028e05" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall posix-errno.4.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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; 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-errno.4.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
posix-errno.4.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install ctypes            0.24.0         [required by posix-errno]
  - install dune              3.20.2         [required by posix-errno]
  - install dune-configurator 3.20.2         [required by ctypes]
  - install integers          0.7.0          [required by ctypes, posix-base]
  - install posix-base        4.0.1          [required by posix-errno]
  - install posix-errno       4.0.1 (pinned)
  - 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.20.2, dune-configurator.3.20.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved posix-base.4.0.1, posix-errno.4.0.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed posix-base.4.0.1
-> installed posix-errno.4.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-11 01:46.01 ---> using "4583c89e0722acca4a5ade07c658a9b8dfa89ed9f339efd45c92dbd8014ee868" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   posix-errno.4.0.1
-> installed posix-errno.4.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-11 01:46.33 ---> saved as "629735e1c8200dc726383b6cd6dda4e96281029910d961307deaf5a7518343a9"

/home/opam: (run (shell  "opam reinstall --with-test --verbose posix-errno.4.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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; 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-errno.4.0.1' && 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-errno 4.0.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [posix-errno: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-errno" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/posix-errno.4.0.1)
-> compiled  posix-errno.4.0.1
-> removed   posix-errno.4.0.1
-> installed posix-errno.4.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-11 01:47.05 ---> saved as "9a0db96932a39ea1c35a59214f6dc11509ffda933713265fe67ad07af62c4921"
Job succeeded
2026-01-11 01:47.39: Job succeeded