(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-40-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-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e
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-40\""; 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-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e-coq-stdlib.9.0.0-049abdee9423b192d1da705f43d97ead6e3ad3ad"
2025-03-12 21:29.51: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e)
 (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-40\\\"\"; 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.44: Waiting for worker…
2025-03-12 21:54.55: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  92% (20948/22636)
Updating files:  93% (21052/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-40-ocaml-5.3@sha256:9a3e2a687015db2704b91431286f4f84f9c6e8d286761ed5417eadf8288bcc9e)
2025-03-12 21:54.57 ---> using "1476c452edd56a53215a301540bb2009c8d2a15dba423047d40300e18599671f" 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.57 ---> using "22342269eb35437c6a3f35f351a6dd4a81b5cd260ec8e9e24e41eb40dbd3ec4d" 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.

Continue? [Y/n] y
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.

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

<><> 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.57 ---> using "d3ac72eeb47638b8bfbb2828c66930bcc3d10007766096358205e3c4cbb7beeb" 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=40
# 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.57 ---> using "63ec4fd2b95cf5f85d387577a48640ee1a9be7ed079a47541dab6876e85e1255" 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.57 ---> using "7cf92d9741046a603845d6f3528f52c0a5126a350b3b6d0f8bb0c0999d285001" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-03-12 21:55.09 ---> saved as "1c7d2cb621c5292f49aacb303f8261a2b100599cfc4be267b2b036a7e1bed713"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              215 kB/s |  27 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64        9.5 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    194 kB/s |  25 kB     00:00    
- Fedora 40 - x86_64 - Updates                    4.3 MB/s | 4.4 MB     00:01    
- Metadata cache created.
2025-03-12 21:56.08 ---> saved as "2a7ce81d0c27e2a979fbff2578a337533cc67a38555a4f41c00fba845f8c7b99"

/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:56.09 ---> saved as "35f28cf81ca948a46d7c88930c2dd23cec14682d09510ca501cbcf6774c36a0f"

/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-40\\\"\"; 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"
- Last metadata expiration check: 0:00:16 ago on Wed Mar 12 21:56:02 2025.
- Dependencies resolved.
- ================================================================================
-  Package           Architecture   Version                  Repository      Size
- ================================================================================
- Installing:
-  gmp-devel         x86_64         1:6.2.1-8.fc40           fedora         173 k
- Installing dependencies:
-  gmp-c++           x86_64         1:6.2.1-8.fc40           fedora          18 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 191 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.1-8.fc40.x86_64.rpm          220 kB/s |  18 kB     00:00    
- (2/2): gmp-devel-6.2.1-8.fc40.x86_64.rpm        1.5 MB/s | 173 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           738 kB/s | 191 kB     00:00     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : gmp-c++-1:6.2.1-8.fc40.x86_64                          1/2 
-   Installing       : gmp-devel-1:6.2.1-8.fc40.x86_64                        2/2 
-   Running scriptlet: gmp-devel-1:6.2.1-8.fc40.x86_64                        2/2 
- 
- Installed:
-   gmp-c++-1:6.2.1-8.fc40.x86_64         gmp-devel-1:6.2.1-8.fc40.x86_64        
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.1-8.fc40.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-837681.env
# output-file          ~/.opam/log/dune-7-837681.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-20250312215610.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-40\""; 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.52: Job failed: Failed: Build failed
2025-03-12 21:56.52: Log analysis:
2025-03-12 21:56.52: >>> 
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 71".
 (score = 20)
2025-03-12 21:56.52: >>> 
# /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.52: >>> 
# /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.52: >>> 
opam-repo-ci detected dependencies failing:  dune.3.13.1
 (score = 75)
2025-03-12 21:56.52:  dune.3.13.1 failed to build