(for PR #28619)

2025-09-30 08:04.02: New job: build MlFront_Codept.2.4.2.21, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28619/head (f053538f79a18e4c6a4064eb8f48277b038e350a)
                              on debian-13-ocaml-4.14-flambda/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:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
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_Codept.2.4.2.21 2.4.2.21
RUN opam reinstall MlFront_Codept.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'MlFront_Codept.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.02: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5-MlFront_Codept.2.4.2.21-f053538f79a18e4c6a4064eb8f48277b038e350a"
2025-09-30 08:04.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
 (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_Codept.2.4.2.21 2.4.2.21"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall MlFront_Codept.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 \"\\\"debian-13\\\"\"; 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_Codept.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.02: Waiting for resource in pool OCluster
2025-09-30 08:15.19: Waiting for worker…
2025-09-30 08:17.04: Got resource from pool OCluster
Building on eumache
All commits already cached
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:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5' locally
docker.io/ocaml/opam@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5: Pulling from ocaml/opam
ae412004300f: Already exists
Digest: sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
Status: Downloaded newer image for ocaml/opam@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
2025-09-30 08:17.06 ---> using "00020e2226cf7f1f24c17336a00c265a631d987b89b08facdf48fd5a8a5489e8" 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:17.06 ---> using "8c2abdd210fc907f600db1c61d14980bf578737e03a24937e4eea202e8402ec2" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-30 08:17.06 ---> using "70f733b49f8f691ea8a4c26820abde83d99d0c455001b517d909dd0b63fa8ec0" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# 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       4.14
# invariant            ["ocaml-options-only-flambda"]
# compiler-packages    ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options+flambda
2025-09-30 08:17.06 ---> using "65fedf7e32c680237c0496a2c0344d81dcd4ec879f78fc3aa956a2f31017137e" 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-09-30 08:17.14 ---> saved as "33e7c04af6ecaed3d3a61f0fdef13fcab9d5e2cd6bac1c6f91652b0bac2ebf33"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [47.7 kB]
- Fetched 138 kB in 0s (562 kB/s)
- Reading package lists...
- 
2025-09-30 08:17.46 ---> saved as "78cbc72d81b59cc82f142d88581e104a569b40de544c6304e73272cee752a9e1"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall MlFront_Codept.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 \"\\\"debian-13\\\"\"; 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_Codept.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_Codept.2.4.2.21 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 34 packages
  - install astring             0.8.5             [required by bos]
  - install bos                 0.2.1             [required by MlFront_Codept]
  - install codept-lib          0.12.1            [required by MlFront_Codept]
  - install cppo                1.8.0             [required by MlFront_Config, ppx_deriving]
  - install cstruct             6.2.0             [required by hex]
  - install digestif            1.3.0             [required by MlFront_Core]
  - install dune                3.20.2            [required by MlFront_Codept]
  - install eqaf                0.10              [required by digestif]
  - install ezjsonm             1.3.0             [required by MlFront_Codept]
  - install fmt                 0.11.0            [required by MlFront_Codept]
  - install fpath               0.7.3             [required by MlFront_Codept]
  - install hex                 1.5.0             [required by ezjsonm]
  - install jsonm               1.0.2             [required by ezjsonm]
  - install logs                0.9.0             [required by MlFront_Codept]
  - install MlFront_Codept      2.4.2.21 (pinned)
  - install MlFront_Config      2.4.2.21          [required by MlFront_Codept]
  - install MlFront_Core        2.4.2.21          [required by MlFront_Codept]
  - install MlFront_Errors      2.4.2.21          [required by MlFront_Codept]
  - install menhir              20250912          [required by codept-lib]
  - install menhirCST           20250912          [required by menhir]
  - install menhirLib           20250912          [required by menhir]
  - install menhirSdk           20250912          [required by menhir]
  - install ocaml-compiler-libs v0.12.4           [required by ppxlib]
  - install ocamlbuild          0.16.1            [required by bos]
  - install ocamlfind           1.9.8             [required by bos, ppx_deriving]
  - install ppx_derivers        1.2.1             [required by ppx_deriving]
  - install ppx_deriving        6.1.1             [required by MlFront_Codept]
  - install ppxlib              0.36.0            [required by ppx_deriving]
  - install rresult             0.7.0             [required by bos]
  - install sexplib0            v0.17.0           [required by ezjsonm]
  - install stdlib-shims        0.3.0             [required by ppxlib]
  - install stringext           1.6.0             [required by MlFront_Codept]
  - install topkg               1.1.0             [required by bos]
  - install uutf                1.0.4             [required by ezjsonm]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved codept-lib.0.12.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved MlFront_Codept.2.4.2.21, MlFront_Config.2.4.2.21, MlFront_Core.2.4.2.21, MlFront_Errors.2.4.2.21  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed logs.0.9.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed menhirCST.20250912
-> installed ppx_derivers.1.2.1
-> installed eqaf.0.10
-> installed stdlib-shims.0.3.0
-> installed cstruct.6.2.0
-> installed stringext.1.6.0
-> installed menhirSdk.20250912
-> installed hex.1.5.0
-> installed menhirLib.20250912
-> installed sexplib0.v0.17.0
-> installed MlFront_Errors.2.4.2.21
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ezjsonm.1.3.0
-> installed digestif.1.3.0
-> installed MlFront_Core.2.4.2.21
-> installed MlFront_Config.2.4.2.21
-> installed ppxlib.0.36.0
-> installed menhir.20250912
-> installed ppx_deriving.6.1.1
-> installed codept-lib.0.12.1
-> installed MlFront_Codept.2.4.2.21
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-30 08:19.24 ---> saved as "99ea2d0bb9594d01ab0f28b339bb82b6965ca041a1dd82b4615709f3eda917ff"
Job succeeded
2025-09-30 08:19.28: Job succeeded