(not at the head of any monitored branch or PR)
2025-06-12 13:22.02: New job: build base.v0.17.3, lower-bounds, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28012/head (fee7f3fbdd0250a19e35720bb55a202b18069834)
                              on debian-12-ocaml-5.4-alpha1/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/28012/head" && git reset --hard fee7f3fb
git fetch origin master
git merge --no-edit ff698805d429f72748daddab1c96c08ceb3051ac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:6a2f6b01dd607963a651861f0c7ae6fe00c3545f84170961498cab91f7fdaa69
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 base.v0.17.3 v0.17.3
RUN opam reinstall base.v0.17.3; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'base.v0.17.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
RUN opam reinstall base.v0.17.3; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'base.v0.17.3' && 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-06-12 13:22.02: Using cache hint "ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:6a2f6b01dd607963a651861f0c7ae6fe00c3545f84170961498cab91f7fdaa69-base.v0.17.3-fee7f3fbdd0250a19e35720bb55a202b18069834"
2025-06-12 13:22.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:6a2f6b01dd607963a651861f0c7ae6fe00c3545f84170961498cab91f7fdaa69)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 base.v0.17.3 v0.17.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall base.v0.17.3;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'base.v0.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA +removed,+count[version-lag,solution])
 (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
 (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall base.v0.17.3;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'base.v0.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-12 13:22.02: Waiting for resource in pool OCluster
2025-06-12 13:22.03: Waiting for worker…
2025-06-12 13:22.57: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ff698805d4 Merge pull request #27958 from dkalinichenko-js/opam-publish-ppx_bench.v0.17.1-ppx_globalize.v0.17.2-ppx_expect.v0.17.3
Merge made by the 'ort' strategy.
 packages/base/base.v0.17.3/opam | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/base/base.v0.17.3/opam

(from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:6a2f6b01dd607963a651861f0c7ae6fe00c3545f84170961498cab91f7fdaa69)
2025-06-12 13:24.07 ---> saved as "4ace634d0eee11c355ddbbfb30ca10e47efbef2bd56110b3909dd50f2a0ad77f"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-12 13:24.07 ---> saved as "eb5d012d21a118041e64a7821bbbb45b6d2016431911eb1afc8a58847a30794a"

/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 development 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] Initialised
2025-06-12 13:24.32 ---> saved as "02c5641c61125d085a71be1fba148f1dd5a770a9379eebd3974ad7b9a41eb7d7"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       5.4~alpha1
# invariant            ["ocaml-base-compiler" {>= "5.4.0~alpha1"}]
# compiler-packages    ocaml-base-compiler.5.4.0~alpha1, ocaml-compiler.5.4.0~alpha1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4~alpha1/lib/ocaml/stublibs:/home/opam/.opam/5.4~alpha1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0~alpha1
2025-06-12 13:24.33 ---> saved as "5baeb60cc770ca1d7a8378a249cffe628a65cee7c46c1e210584a24518136f44"

/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-06-12 13:24.43 ---> saved as "5775efbe83ae29c1ab5da561b1536c3edfeb0f929bd5edc279f0c347094c53f8"

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-12 13:24.55 ---> saved as "39a3ae383901772b95c325570d37bd4ff31adb09b970fe7fa711c70e827b4636"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-12 13:25.16 ---> saved as "d303d30d50d8113d4344c0b1f6782eeb22f775d9fdfbe2f005b59f6bb13112ee"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [266 kB]
- Fetched 369 kB in 0s (1323 kB/s)
- Reading package lists...
2025-06-12 13:25.16 ---> saved as "3f8af7f880c2cc15b8d77d12ca33f08ac2ee6606a158f0f06766a2416a52b498"

/home/opam: (run (shell "opam pin add -k version -yn base.v0.17.3 v0.17.3"))
base is now pinned to version v0.17.3
2025-06-12 13:25.17 ---> saved as "88f5636e1ef07567c086ec5b30f768cdfda9d77af7c3112721f548191df5a779"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall base.v0.17.3;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'base.v0.17.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
base.v0.17.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 6 packages
  - install base                    v0.17.3 (pinned)
  - install csexp                   1.5.2            [required by dune-configurator]
  - install dune                    3.19.0           [required by base]
  - install dune-configurator       3.19.0           [required by base]
  - install ocaml_intrinsics_kernel v0.17.1          [required by base]
  - install sexplib0                v0.17.0          [required by base]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> installed dune.3.19.0
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.19.0
-> installed base.v0.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 13:25.50 ---> saved as "75e1d95110e3a8d703bc6d3b75f28539fefd02a00f78b08239dc36a0eb54c084"

/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall base.v0.17.3;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'base.v0.17.3' && 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:
=== remove 1 package
  - remove    csexp                   1.5.2              [conflicts with dune]
=== downgrade 3 packages
  - downgrade dune                    3.19.0 to 3.11.0   [required by base]
  - downgrade dune-configurator       3.19.0 to 2.7.0    [required by base]
  - downgrade ocaml_intrinsics_kernel v0.17.1 to v0.17.0 [required by base]
=== recompile 2 packages
  - recompile base                    v0.17.3 (pinned)
  - recompile sexplib0                v0.17.0            [uses dune]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.11.0  (cached)
-> retrieved dune-configurator.2.7.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
[ERROR] The compilation of dune.3.11.0 failed at "ocaml boot/bootstrap.ml -j 255".

#=== ERROR while compiling dune.3.11.0 ========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.4.0~alpha1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4~alpha1/.opam-switch/build/dune.3.11.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 255
# exit-code            2
# env-file             ~/.opam/log/dune-7-6b10c8.env
# output-file          ~/.opam/log/dune-7-6b10c8.out
### output ###
# ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
# ./.duneboot.exe -j 255
# cd _boot && /home/opam/.opam/5.4~alpha1/bin/ocamlopt.opt -c -g -I +unix -I +threads dune_digest_stubs.c
# In file included from /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/io.h:28,
#                  from /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/md5.h:24,
#                  from src/dune_digest/dune_digest_stubs.c:10:
# /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_is_released':
# /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/platform.h:221:10: warning: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration]
#   221 |   return atomic_load_acquire(&latch->value) == Latch_released;
#       |          ^~~~~~~~~~~~~~~~~~~
# /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_set':
# /home/opam/.opam/5.4~alpha1/lib/ocaml/caml/platform.h:229:3: warning: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration]
#   229 |   atomic_store_release(&latch->value, Latch_unreleased);
#       |   ^~~~~~~~~~~~~~~~~~~~
#       |   atomic_store_explicit
# cd _boot && /home/opam/.opam/5.4~alpha1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads ocamlc_loc.mli
# File "otherlibs/ocamlc-loc/src/ocamlc_loc.mli", line 1, characters 4-9:
# Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
# cd _boot && /home/opam/.opam/5.4~alpha1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads notty.ml
# File "vendor/notty/src/notty.ml", lines 387-397, characters 43-7:
# Error: Some record fields are undefined: out_width
# 




<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune 3.11.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing:  dune.3.11.0
"/usr/bin/env" "bash" "-c" "opam reinstall base.v0.17.3;
        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-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'base.v0.17.3' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-06-12 13:26.04: Job failed: Failed: Build failed
2025-06-12 13:26.04: Log analysis:
2025-06-12 13:26.04: >>> 
[ERROR] The compilation of dune.3.11.0 failed at "ocaml boot/bootstrap.ml -j 255".
 (score = 20)
2025-06-12 13:26.04: >>> 
# Error: Some record fields are undefined: out_width
 (score = 48)
2025-06-12 13:26.04: >>> 
opam-repo-ci detected dependencies failing:  dune.3.11.0
 (score = 75)
2025-06-12 13:26.04:  dune.3.11.0 failed to build