(not at the head of any monitored branch or PR)
2025-03-12 21:29.51: New job: build coq-stdlib.9.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27614/head (049abdee9423b192d1da705f43d97ead6e3ad3ad)
                              on fedora-41-ocaml-5.3/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/27614/head" && git reset --hard 049abdee
git fetch origin master
git merge --no-edit a3d20148ad8eaad9a2009721687a788b47e04869
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925
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 coq-stdlib.9.0.0 9.0.0
RUN opam reinstall coq-stdlib.9.0.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 "\"fedora-41\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'coq-stdlib.9.0.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-03-12 21:29.51: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925-coq-stdlib.9.0.0-049abdee9423b192d1da705f43d97ead6e3ad3ad"
2025-03-12 21:29.51: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925)
 (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 coq-stdlib.9.0.0 9.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall coq-stdlib.9.0.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 \"\\\"fedora-41\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'coq-stdlib.9.0.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-03-12 21:29.51: Waiting for resource in pool OCluster
2025-03-12 21:50.26: Waiting for worker…
2025-03-12 21:54.18: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  93% (21102/22636)
Updating files:  94% (21278/22636)
Updating files:  95% (21505/22636)
Updating files:  96% (21731/22636)
Updating files:  97% (21957/22636)
Updating files:  98% (22184/22636)
Updating files:  99% (22410/22636)
Updating files: 100% (22636/22636)
Updating files: 100% (22636/22636), done.
HEAD is now at a3d20148ad Merge pull request #27597 from esope/release-salto-analyzer-0.1
Merge made by the 'ort' strategy.
 packages/coq-core/coq-core.9.0.0/opam           | 51 ++++++++++++++++++
 packages/coq-stdlib/coq-stdlib.9.0.0/opam       | 38 +++++++++++++
 packages/coq/coq.9.0.0/opam                     | 51 ++++++++++++++++++
 packages/coqide-server/coqide-server.9.0.0/opam | 47 ++++++++++++++++
 packages/rocq-core/rocq-core.9.0.0/opam         | 56 +++++++++++++++++++
 packages/rocq-prover/rocq-prover.9.0.0/opam     | 54 +++++++++++++++++++
 packages/rocq-runtime/rocq-runtime.9.0.0/opam   | 72 +++++++++++++++++++++++++
 packages/rocq-stdlib/rocq-stdlib.9.0.0/opam     | 53 ++++++++++++++++++
 packages/rocqide/rocqide.9.0.0/opam             | 50 +++++++++++++++++
 9 files changed, 472 insertions(+)
 create mode 100644 packages/coq-core/coq-core.9.0.0/opam
 create mode 100644 packages/coq-stdlib/coq-stdlib.9.0.0/opam
 create mode 100644 packages/coq/coq.9.0.0/opam
 create mode 100644 packages/coqide-server/coqide-server.9.0.0/opam
 create mode 100644 packages/rocq-core/rocq-core.9.0.0/opam
 create mode 100644 packages/rocq-prover/rocq-prover.9.0.0/opam
 create mode 100644 packages/rocq-runtime/rocq-runtime.9.0.0/opam
 create mode 100644 packages/rocq-stdlib/rocq-stdlib.9.0.0/opam
 create mode 100644 packages/rocqide/rocqide.9.0.0/opam

(from ocaml/opam:fedora-41-ocaml-5.3@sha256:fdc2429ee5b38ad9a34e9df8dcce7161f1b807433a983120453cb37a7b29e925)
2025-03-12 21:54.20 ---> using "189447b5abf4f84b3141564fa16299d77370e888a929cebc6495802de6bce562" 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-03-12 21:54.20 ---> using "81a13b0e16f3ec080c5777a9d4628d517998a3517e3050c7ae1a19cd32ffbec4" 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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-12 21:54.20 ---> using "fcff41f05acabbd7dac87f7be74d2e6bd09d60df885b7697862d4136196d1cc3" 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.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=41
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-03-12 21:54.20 ---> using "faf5130fe11cb85b3a9412ddc43295391cf86e548e38a9731af818c3eb27a3c2" 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-03-12 21:54.20 ---> using "ed73f8b17cbdbad3b352e214c5c4527f85fc13070b61b7ca75204bc8b529f9ba" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-03-12 21:54.32 ---> saved as "64159fef952c0d768e922dc0fa1c892e5b57e1cc9d2c69de53ac9c1157d5df29"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-12 21:55.22 ---> saved as "857a4c7cd8f60a72acebc77ecd213536b70c51fda31fad6a1e94c3cf68149b04"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% | 196.9 KiB/s |  25.6 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% |   3.5 MiB/s |   2.9 MiB |  00m01s
- Repositories loaded.
- Metadata cache created.
2025-03-12 21:55.27 ---> saved as "738c91cad8daabb52e833fab9cfc5f75e3e185ee1bbcd2186634114a0627df02"

/home/opam: (run (shell "opam pin add -k version -yn coq-stdlib.9.0.0 9.0.0"))
coq-stdlib is now pinned to version 9.0.0
2025-03-12 21:55.28 ---> saved as "d737382423187fb802bcf5d2a1a8112e2d56af768e7b74aef02d4d78ef359bd6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall coq-stdlib.9.0.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 \"\\\"fedora-41\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'coq-stdlib.9.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
coq-stdlib.9.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install conf-gmp            4              [required by zarith]
  - install conf-linux-libc-dev 0              [required by rocq-runtime]
  - install conf-pkg-config     4              [required by zarith]
  - install coq-core            9.0.0          [required by coq-stdlib]
  - install coq-stdlib          9.0.0 (pinned)
  - install dune                3.13.1         [required by coq-stdlib]
  - install ocamlfind           1.9.8          [required by rocq-runtime]
  - install rocq-core           9.0.0          [required by rocq-stdlib]
  - install rocq-runtime        9.0.0          [required by coq-core, rocq-stdlib]
  - install rocq-stdlib         9.0.0          [required by coq-stdlib]
  - install zarith              1.14           [required by rocq-runtime]

The following system packages will first need to be installed:
    gmp-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "yum" "install" "-y" "gmp-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package    Arch   Version        Repository      Size
- Installing:
-  gmp-devel x86_64 1:6.3.0-2.fc41 fedora     352.3 KiB
- Installing dependencies:
-  gmp-c++   x86_64 1:6.3.0-2.fc41 fedora      31.8 KiB
- 
- Transaction Summary:
-  Installing:         2 packages
- 
- Total size of inbound packages is 193 KiB. Need to download 193 KiB.
- After this operation, 384 KiB extra will be used (install 384 KiB, remove 0 B).
- [1/2] gmp-c++-1:6.3.0-2.fc41.x86_64     100% | 477.7 KiB/s |  18.6 KiB |  00m00s
- [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64   100% |   2.6 MiB/s | 174.4 KiB |  00m00s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% | 975.0 KiB/s | 193.0 KiB |  00m00s
- Running transaction
- [1/4] Verify package files              100% |   1.0 KiB/s |   2.0   B |  00m00s
- [2/4] Prepare transaction               100% |  33.0   B/s |   2.0   B |  00m00s
- [3/4] Installing gmp-c++-1:6.3.0-2.fc41 100% |  15.9 MiB/s |  32.6 KiB |  00m00s
- [4/4] Installing gmp-devel-1:6.3.0-2.fc 100% |   5.6 MiB/s | 354.1 KiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.3.0-2.fc41.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> retrieved coq-core.9.0.0, rocq-core.9.0.0, rocq-runtime.9.0.0  (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> installed conf-linux-libc-dev.0
-> retrieved coq-stdlib.9.0.0, rocq-stdlib.9.0.0  (cached)
-> retrieved dune.3.13.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved zarith.1.14  (cached)
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 71".
-> installed ocamlfind.1.9.8
-> installed zarith.1.14

#=== ERROR while compiling dune.3.13.1 ========================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.3/.opam-switch/build/dune.3.13.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 71
# exit-code            2
# env-file             ~/.opam/log/dune-7-feb564.env
# output-file          ~/.opam/log/dune-7-feb564.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 71
# cd _boot && /home/opam/.opam/5.3/bin/ocamlopt.opt -c -g -I +unix -I +threads dune_digest_stubs.c
# In file included from /home/opam/.opam/5.3/lib/ocaml/caml/io.h:28,
#                  from /home/opam/.opam/5.3/lib/ocaml/caml/md5.h:24,
#                  from src/dune_digest/dune_digest_stubs.c:10:
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_is_released':
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:222:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration]
#   222 |   return atomic_load_acquire(&latch->value) == Latch_released;
#       |          ^~~~~~~~~~~~~~~~~~~
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_set':
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:230:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration]
#   230 |   atomic_store_release(&latch->value, Latch_unreleased);
#       |   ^~~~~~~~~~~~~~~~~~~~
#       |   atomic_store_explicit
# 




<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune 3.13.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-gmp            4
| - install conf-linux-libc-dev 0
| - install conf-pkg-config     4
| - install ocamlfind           1.9.8
| - install zarith              1.14
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250312215529.export"
[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.13.1
"/usr/bin/env" "bash" "-c" "opam reinstall coq-stdlib.9.0.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 "\"fedora-41\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'coq-stdlib.9.0.0' && 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-03-12 21:56.04: Job failed: Failed: Build failed
2025-03-12 21:56.04: Log analysis:
2025-03-12 21:56.04: >>> 
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 71".
 (score = 20)
2025-03-12 21:56.04: >>> 
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:222:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration]
 (score = 30)
2025-03-12 21:56.04: >>> 
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:230:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration]
 (score = 30)
2025-03-12 21:56.04: >>> 
opam-repo-ci detected dependencies failing:  dune.3.13.1
 (score = 75)
2025-03-12 21:56.04:  dune.3.13.1 failed to build