(for PR #27694)

2025-06-02 07:56.21: New job: build pds.6.55, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (09db603cd7cfcdbbf924185b5ec7cf8bec2fc299)
                              on fedora-42-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/27694/head" && git reset --hard 09db603c
git fetch origin master
git merge --no-edit 164308699cf74247b8ad3b002e88bd80a586c79e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a
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 pds.6.55 6.55
RUN opam reinstall pds.6.55; \
    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-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pds.6.55' && 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-02 07:56.21: Using cache hint "ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a-pds.6.55-09db603cd7cfcdbbf924185b5ec7cf8bec2fc299"
2025-06-02 07:56.21: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a)
 (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 pds.6.55 6.55"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall pds.6.55;\
             \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-42\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pds.6.55' && 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-02 07:56.21: Connecting to build cluster…
2025-06-02 07:56.21: Waiting for resource in pool OCluster
2025-06-02 07:56.21: Waiting for worker…
2025-06-02 07:56.21: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files:  71% (16530/23176)
Updating files:  72% (16687/23176)
Updating files:  73% (16919/23176)
Updating files:  74% (17151/23176)
Updating files:  75% (17382/23176)
Updating files:  76% (17614/23176)
Updating files:  77% (17846/23176)
Updating files:  78% (18078/23176)
Updating files:  79% (18310/23176)
Updating files:  80% (18541/23176)
Updating files:  81% (18773/23176)
Updating files:  82% (19005/23176)
Updating files:  83% (19237/23176)
Updating files:  84% (19468/23176)
Updating files:  85% (19700/23176)
Updating files:  86% (19932/23176)
Updating files:  87% (20164/23176)
Updating files:  88% (20395/23176)
Updating files:  89% (20627/23176)
Updating files:  90% (20859/23176)
Updating files:  91% (21091/23176)
Updating files:  92% (21322/23176)
Updating files:  93% (21554/23176)
Updating files:  94% (21786/23176)
Updating files:  95% (22018/23176)
Updating files:  96% (22249/23176)
Updating files:  97% (22481/23176)
Updating files:  98% (22713/23176)
Updating files:  99% (22945/23176)
Updating files: 100% (23176/23176)
Updating files: 100% (23176/23176), done.
HEAD is now at 164308699c Merge pull request #27973 from mtelvers/opam-publish-dockerfile-cmd.8.2.8
Merge made by the 'ort' strategy.
 packages/pds/pds.6.55/opam | 52 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 packages/pds/pds.6.55/opam

(from ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a' locally
docker.io/ocaml/opam@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a: Pulling from ocaml/opam
53834edb0f05: Pulling fs layer
53834edb0f05: Verifying Checksum
53834edb0f05: Download complete
53834edb0f05: Pull complete
Digest: sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a
Status: Downloaded newer image for ocaml/opam@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a
2025-06-02 07:58.28 ---> saved as "26f21d6ca0b3956aff70ab76e5d65596c959df5becb3e1b6298160438700ab7b"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-06-02 07:58.29 ---> saved as "f0b17f5e6c3dca6a61082c9714db97d97716ac25590a4043abffb823c91549ce"

/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
2025-06-02 07:58.59 ---> saved as "f4ecf200128a1407ae8e35d1a2dd16c3968963f33944ac215d6f7b92c5abed2a"

/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~alpha2
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=42
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         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-06-02 07:59.00 ---> saved as "80f754e9f562caf66eb8c2d4c17f1c64e10d54a0e49f9cc1920d79880966282e"

/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-02 07:59.08 ---> saved as "e57a829f46328a4519c6bb779fe618b67a7125562eabcf8a689d13067913b699"

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-02 07:59.15 ---> saved as "ce0e5e33e3960e15dfae4a30492f4342a595fa7dea7feb370615fb860473031f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-02 07:59.40 ---> saved as "7347f02212e9e47242bb5f8162fe26b30feed940f07787c1d8bcece0510cd643"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% | 116.5 KiB/s |  11.9 KiB |  00m00s
-  Fedora 42 - x86_64 - Updates           100% | 183.1 KiB/s |   2.3 MiB |  00m13s
- Repositories loaded.
- Metadata cache created.
2025-06-02 07:59.56 ---> saved as "ef148ab947c7ad7b99a35855c52558db7a9aab582cd3a03d2bd6acdd87e78d50"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-06-02 07:59.56 ---> saved as "fd02e5da8ca4661a00464433ff6de929c6febb0d625965bcff520b59bd14cb72"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pds.6.55;\
                        \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-42\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pds.6.55 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 35 packages
  - install base-bytes          base          [required by process]
  - install cmdliner            1.3.0         [required by pds]
  - install conf-pkg-config     4             [required by conf-sqlite3]
  - install conf-sqlite3        1             [required by sqlite3]
  - install containers          3.16          [required by pds]
  - install cppo                1.8.0         [required by ppx_deriving]
  - install crunch              4.0.0         [required by pds]
  - install csexp               1.5.2         [required by dune-configurator]
  - install dune                3.19.0        [required by sqlite3, ppx_deriving, containers, etc.]
  - install dune-configurator   3.19.0        [required by containers, sqlite3]
  - install either              1.0.0         [required by containers]
  - install fmt                 0.10.0        [required by pds]
  - install gen                 1.1           [required by sedlex]
  - install ISO8601             0.2.6         [required by toml]
  - install logs                0.8.0         [required by pds]
  - install menhir              20240715      [required by toml]
  - install menhirCST           20240715      [required by menhir]
  - install menhirLib           20240715      [required by menhir]
  - install menhirSdk           20240715      [required by menhir]
  - install ocaml-compiler-libs v0.17.0       [required by ppxlib]
  - install ocamlbuild          0.16.1        [required by logs, fmt, process]
  - install ocamlfind           1.9.8         [required by pds]
  - install pds                 6.55 (pinned)
  - install ppx_derivers        1.2.1         [required by ppx_deriving]
  - install ppx_deriving        6.1.0         [required by pds]
  - install ppxlib              0.36.0        [required by ppx_deriving, sedlex]
  - install process             0.2.1         [required by pds]
  - install ptime               1.2.0         [required by crunch]
  - install sedlex              3.4           [required by pds]
  - install seq                 base          [required by gen]
  - install sexplib0            v0.17.0       [required by ppxlib]
  - install sqlite3             5.3.1         [required by pds]
  - install stdlib-shims        0.3.0         [required by ppxlib]
  - install toml                7.1.0         [required by pds]
  - install topkg               1.0.8         [required by fmt, logs]

The following system packages will first need to be installed:
    sqlite-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/sbin/sudo "yum" "install" "-y" "sqlite-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package       Arch   Version       Repository      Size
- Installing:
-  sqlite-devel x86_64 3.47.2-2.fc42 fedora     673.4 KiB
- Installing dependencies:
-  sqlite       x86_64 3.47.2-2.fc42 fedora       1.8 MiB
- 
- Transaction Summary:
-  Installing:         2 packages
- 
- Total size of inbound packages is 1 MiB. Need to download 1 MiB.
- After this operation, 2 MiB extra will be used (install 2 MiB, remove 0 B).
- [1/2] sqlite-devel-0:3.47.2-2.fc42.x86_ 100% | 139.1 KiB/s | 146.3 KiB |  00m01s
- [2/2] sqlite-0:3.47.2-2.fc42.x86_64     100% | 787.1 KiB/s | 893.4 KiB |  00m01s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% | 844.6 KiB/s |   1.0 MiB |  00m01s
- Running transaction
- [1/4] Verify package files              100% | 222.0   B/s |   2.0   B |  00m00s
- [2/4] Prepare transaction               100% |  34.0   B/s |   2.0   B |  00m00s
- [3/4] Installing sqlite-0:3.47.2-2.fc42 100% |  52.1 MiB/s |   1.8 MiB |  00m00s
- [4/4] Installing sqlite-devel-0:3.47.2- 100% |  10.8 MiB/s | 674.1 KiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "sqlite-devel"
- sqlite-devel-3.47.2-2.fc42.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-pkg-config.4
-> retrieved containers.3.16  (cached)
-> installed conf-sqlite3.1
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved ISO8601.0.2.6  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved pds.6.55  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved process.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved sedlex.3.4  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sqlite3.5.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved toml.7.1.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed process.0.2.1
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed logs.0.8.0
-> installed dune.3.19.0
-> installed csexp.1.5.2
-> installed crunch.4.0.0
-> installed either.1.0.0
-> installed gen.1.1
-> installed ISO8601.0.2.6
-> installed cppo.1.8.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed dune-configurator.3.19.0
-> installed sqlite3.5.3.1
-> installed containers.3.16
-> installed menhir.20240715
-> installed toml.7.1.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.0
-> installed sedlex.3.4
-> installed pds.6.55
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-02 08:01.25 ---> saved as "65f8e4d34550dc41da613e02eb365499096b95c00a8748d92e78c8753e4882cc"
Job succeeded
2025-06-02 08:01.32: Job succeeded