(for PR #28619)

2025-09-30 08:04.01: New job: build MlFront_Core.2.4.2.21, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28619/head (f053538f79a18e4c6a4064eb8f48277b038e350a)
                              on ubuntu-25.04-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/28619/head" && git reset --hard f053538f
git fetch origin master
git merge --no-edit dfe27d924d3f2d9d3045aa994e54a6172a669ecb
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19
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 MlFront_Core.2.4.2.21 2.4.2.21
RUN opam reinstall MlFront_Core.2.4.2.21; \
    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-25.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'MlFront_Core.2.4.2.21' && 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-09-30 08:04.01: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19-MlFront_Core.2.4.2.21-f053538f79a18e4c6a4064eb8f48277b038e350a"
2025-09-30 08:04.01: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19)
 (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 MlFront_Core.2.4.2.21 2.4.2.21"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall MlFront_Core.2.4.2.21;\
             \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-25.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\" != 'MlFront_Core.2.4.2.21' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-30 08:04.01: Waiting for resource in pool OCluster
2025-09-30 08:05.18: Waiting for worker…
2025-09-30 08:06.46: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  99% (18252/18395)
Updating files: 100% (18395/18395)
Updating files: 100% (18395/18395), done.
HEAD is now at dfe27d924d Merge pull request #28613 from kit-ty-kate/opam-2.4-stable-patch
Updating dfe27d924d..f053538f79
Fast-forward
 packages/MlFront_Cache/MlFront_Cache.2.4.2.21/opam | 46 ++++++++++++++++++++
 packages/MlFront_Cli/MlFront_Cli.2.4.2.21/opam     | 37 ++++++++++++++++
 .../MlFront_Codept/MlFront_Codept.2.4.2.21/opam    | 50 ++++++++++++++++++++++
 .../MlFront_Config/MlFront_Config.2.4.2.21/opam    | 41 ++++++++++++++++++
 packages/MlFront_Core/MlFront_Core.2.4.2.21/opam   | 42 ++++++++++++++++++
 .../MlFront_Errors/MlFront_Errors.2.4.2.21/opam    | 41 ++++++++++++++++++
 packages/MlFront_Exec/MlFront_Exec.2.4.2.21/opam   | 50 ++++++++++++++++++++++
 packages/MlFront_Logs/MlFront_Logs.2.4.2.21/opam   | 41 ++++++++++++++++++
 packages/MlFront_Manip/MlFront_Manip.2.4.2.21/opam | 39 +++++++++++++++++
 .../MlFront_Signify/MlFront_Signify.2.4.2.21/opam  | 40 +++++++++++++++++
 packages/MlFront_Thunk/MlFront_Thunk.2.4.2.21/opam | 44 +++++++++++++++++++
 packages/MlFront_Tools/MlFront_Tools.2.4.2.21/opam | 49 +++++++++++++++++++++
 .../MlFront_ZipFile/MlFront_ZipFile.2.4.2.21/opam  | 40 +++++++++++++++++
 13 files changed, 560 insertions(+)
 create mode 100644 packages/MlFront_Cache/MlFront_Cache.2.4.2.21/opam
 create mode 100644 packages/MlFront_Cli/MlFront_Cli.2.4.2.21/opam
 create mode 100644 packages/MlFront_Codept/MlFront_Codept.2.4.2.21/opam
 create mode 100644 packages/MlFront_Config/MlFront_Config.2.4.2.21/opam
 create mode 100644 packages/MlFront_Core/MlFront_Core.2.4.2.21/opam
 create mode 100644 packages/MlFront_Errors/MlFront_Errors.2.4.2.21/opam
 create mode 100644 packages/MlFront_Exec/MlFront_Exec.2.4.2.21/opam
 create mode 100644 packages/MlFront_Logs/MlFront_Logs.2.4.2.21/opam
 create mode 100644 packages/MlFront_Manip/MlFront_Manip.2.4.2.21/opam
 create mode 100644 packages/MlFront_Signify/MlFront_Signify.2.4.2.21/opam
 create mode 100644 packages/MlFront_Thunk/MlFront_Thunk.2.4.2.21/opam
 create mode 100644 packages/MlFront_Tools/MlFront_Tools.2.4.2.21/opam
 create mode 100644 packages/MlFront_ZipFile/MlFront_ZipFile.2.4.2.21/opam

(from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19)
2025-09-30 08:07.03 ---> using "b5d08b2c1d468bdf084d83f92b87da0a162be101d82446f9c77ac822687eb8f4" 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-09-30 08:07.03 ---> using "ab521dbb3d341e3dece09f996084524906d75b37edc67a1258f31c8f723e1f5c" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-30 08:07.11 ---> saved as "6091a616dd6c51304bfc969ceaba397b4624e5b29d4c826797a3f7e242865286"

/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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=25.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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-09-30 08:07.12 ---> saved as "80ba1e3d8c5113c0d408c721f36b6fc02b308eddb62649216ad5ff002a109545"

/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-09-30 08:07.25 ---> saved as "a3a6a0bc0c31ff61bf74a0c02adfd6ebdfba3a2c7e9d967c9940fda82047c1c1"

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-30 08:07.38 ---> saved as "b37ca20ac4477282b4314b4eefa6a27de35d0b21105578e5a4c8a0445bc6aaf8"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-30 08:07.59 ---> saved as "3e41f4a8753c95f82fd64149ef06161cf7827d0c191c943cee9381a7c68769ac"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [156 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [30.6 kB]
- Get:6 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [288 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [278 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [442 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [30.8 kB]
- Get:11 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [275 kB]
- Get:12 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [304 kB]
- Get:13 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Packages [3672 B]
- Fetched 2186 kB in 0s (9126 kB/s)
- Reading package lists...
- 
2025-09-30 08:08.00 ---> saved as "113f88d2341ff414f5b426e6f5f9bd4bbf051d95f11eb1f040298cc3667fbab6"

/home/opam: (run (shell "opam pin add -k version -yn MlFront_Core.2.4.2.21 2.4.2.21"))
MlFront_Core is now pinned to version 2.4.2.21
2025-09-30 08:08.01 ---> saved as "a3decfffe51acf2684225ca60d412461f6c45c240623b7bfb6963e69a67f699e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall MlFront_Core.2.4.2.21;\
                        \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-25.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\" != 'MlFront_Core.2.4.2.21' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
MlFront_Core.2.4.2.21 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
  - install digestif     1.3.0             [required by MlFront_Core]
  - install dune         3.20.2            [required by MlFront_Core]
  - install eqaf         0.10              [required by digestif]
  - install MlFront_Core 2.4.2.21 (pinned)
  - install stringext    1.6.0             [required by MlFront_Core]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved MlFront_Core.2.4.2.21  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed dune.3.20.2
-> installed stringext.1.6.0
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed MlFront_Core.2.4.2.21
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-30 08:08.45 ---> saved as "51d7de25edeba90ed18e3521b947426794eca54131bfa1787c211dd75d4fb70d"
Job succeeded
2025-09-30 08:09.20: Job succeeded