(for PR #29246)

2026-01-19 14:21.22: New job: build aslref.1.0~draft.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29246/head (1c684ad4cddfbfcf28bf284294f9ecc495d7e461)
                              on centos-9-ocaml-4.14/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/29246/head" && git reset --hard 1c684ad4
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-4.14@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c
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 aslref.1.0~draft.2 1.0~draft.2
RUN opam reinstall aslref.1.0~draft.2; \
    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 "\"centos-9\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'aslref.1.0~draft.2' && 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 .

2026-01-19 14:21.22: Using cache hint "ocaml/opam:centos-9-ocaml-4.14@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c-aslref.1.0~draft.2-1c684ad4cddfbfcf28bf284294f9ecc495d7e461"
2026-01-19 14:21.22: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-4.14@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c)
 (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 aslref.1.0~draft.2 1.0~draft.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall aslref.1.0~draft.2;\
             \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 \"\\\"centos-9\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'aslref.1.0~draft.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-19 14:21.22: Waiting for resource in pool OCluster
2026-01-19 14:21.22: Waiting for worker…
2026-01-19 14:21.24: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  92% (17733/19229)
Updating files:  93% (17883/19229)
Updating files:  94% (18076/19229)
Updating files:  95% (18268/19229)
Updating files:  96% (18460/19229)
Updating files:  97% (18653/19229)
Updating files:  98% (18845/19229)
Updating files:  99% (19037/19229)
Updating files: 100% (19229/19229)
Updating files: 100% (19229/19229), done.
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Updating 39960ffbaf..1c684ad4cd
Fast-forward
 packages/aslref/aslref.1.0~draft.2/opam | 60 +++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 packages/aslref/aslref.1.0~draft.2/opam

(from ocaml/opam:centos-9-ocaml-4.14@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c)
Unable to find image 'ocaml/opam:centos-9-ocaml-4.14@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c' locally
docker.io/ocaml/opam@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c: Pulling from ocaml/opam
5bbde13720c2: Pulling fs layer
5b69924e595d: Pulling fs layer
57ebd851c592: Pulling fs layer
0ea6df6308d9: Pulling fs layer
09c53a6f9158: Pulling fs layer
0ea6df6308d9: Waiting
22eac0b1f8c3: Pulling fs layer
09c53a6f9158: Waiting
33d930137a64: Pulling fs layer
22eac0b1f8c3: Waiting
02a3676c01be: Pulling fs layer
33d930137a64: Waiting
e009f4d67bde: Pulling fs layer
02a3676c01be: Waiting
e009f4d67bde: Waiting
8a0b03979286: Pulling fs layer
8a0b03979286: Waiting
647b1ab9f8c5: Pulling fs layer
68f3bf55f1cc: Pulling fs layer
647b1ab9f8c5: Waiting
c159dbeda8f1: Pulling fs layer
9407d17c98e2: Pulling fs layer
68f3bf55f1cc: Waiting
c159dbeda8f1: Waiting
030dd420cbd4: Pulling fs layer
9407d17c98e2: Waiting
bd344588655d: Pulling fs layer
030dd420cbd4: Waiting
d56faf06c063: Pulling fs layer
bd344588655d: Waiting
36bdef27792e: Pulling fs layer
d56faf06c063: Waiting
36bdef27792e: Waiting
b9058243f2d0: Pulling fs layer
c7966ffb0be5: Pulling fs layer
287fc89df4dc: Pulling fs layer
b9058243f2d0: Waiting
bea535d8eb0f: Pulling fs layer
c7966ffb0be5: Waiting
4f4fb700ef54: Pulling fs layer
287fc89df4dc: Waiting
bea535d8eb0f: Waiting
bd80c8ca50d8: Pulling fs layer
216554cb36cb: Pulling fs layer
bd80c8ca50d8: Waiting
5d71a66449ee: Pulling fs layer
216554cb36cb: Waiting
87b8358591dd: Pulling fs layer
5d71a66449ee: Waiting
760c10808eb7: Pulling fs layer
87b8358591dd: Waiting
f363426a7c60: Pulling fs layer
8e0785912b4d: Pulling fs layer
46d179de4802: Pulling fs layer
8e0785912b4d: Waiting
b6296e7b3ea6: Pulling fs layer
46d179de4802: Waiting
bbebd02f1bc6: Pulling fs layer
b6296e7b3ea6: Waiting
57bd9e8d431f: Pulling fs layer
bbebd02f1bc6: Waiting
5b69ff09b12e: Pulling fs layer
57bd9e8d431f: Waiting
77af318c9c92: Pulling fs layer
5b69ff09b12e: Waiting
9c0d20d153d6: Pulling fs layer
77af318c9c92: Waiting
05d2ddfbc302: Pulling fs layer
9c0d20d153d6: Waiting
6deec77ca9bb: Pulling fs layer
05d2ddfbc302: Waiting
f8e9eb56778e: Pulling fs layer
6deec77ca9bb: Waiting
59fe4f03d6d5: Pulling fs layer
f8e9eb56778e: Waiting
6822952847b2: Pulling fs layer
59fe4f03d6d5: Waiting
749f1bb0162a: Pulling fs layer
6822952847b2: Waiting
6d3f7f758602: Pulling fs layer
749f1bb0162a: Waiting
63b7256d30f3: Pulling fs layer
6d3f7f758602: Waiting
63b7256d30f3: Waiting
5bbde13720c2: Verifying Checksum
5bbde13720c2: Download complete
09c53a6f9158: Verifying Checksum
09c53a6f9158: Download complete
22eac0b1f8c3: Verifying Checksum
22eac0b1f8c3: Download complete
33d930137a64: Verifying Checksum
33d930137a64: Download complete
02a3676c01be: Verifying Checksum
02a3676c01be: Download complete
e009f4d67bde: Verifying Checksum
e009f4d67bde: Download complete
8a0b03979286: Verifying Checksum
8a0b03979286: Download complete
647b1ab9f8c5: Verifying Checksum
647b1ab9f8c5: Download complete
68f3bf55f1cc: Verifying Checksum
68f3bf55f1cc: Download complete
c159dbeda8f1: Verifying Checksum
c159dbeda8f1: Download complete
5bbde13720c2: Pull complete
5b69924e595d: Pull complete
9407d17c98e2: Verifying Checksum
9407d17c98e2: Download complete
030dd420cbd4: Verifying Checksum
030dd420cbd4: Download complete
bd344588655d: Download complete
d56faf06c063: Verifying Checksum
d56faf06c063: Download complete
36bdef27792e: Download complete
b9058243f2d0: Download complete
c7966ffb0be5: Download complete
287fc89df4dc: Verifying Checksum
287fc89df4dc: Download complete
bea535d8eb0f: Verifying Checksum
bea535d8eb0f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
bd80c8ca50d8: Download complete
216554cb36cb: Verifying Checksum
216554cb36cb: Download complete
5d71a66449ee: Download complete
87b8358591dd: Verifying Checksum
87b8358591dd: Download complete
760c10808eb7: Download complete
f363426a7c60: Verifying Checksum
f363426a7c60: Download complete
8e0785912b4d: Download complete
57ebd851c592: Verifying Checksum
57ebd851c592: Download complete
46d179de4802: Download complete
bbebd02f1bc6: Verifying Checksum
bbebd02f1bc6: Download complete
b6296e7b3ea6: Verifying Checksum
b6296e7b3ea6: Download complete
57bd9e8d431f: Download complete
57ebd851c592: Pull complete
5b69ff09b12e: Download complete
9c0d20d153d6: Download complete
05d2ddfbc302: Download complete
77af318c9c92: Verifying Checksum
77af318c9c92: Download complete
6deec77ca9bb: Verifying Checksum
6deec77ca9bb: Download complete
f8e9eb56778e: Download complete
59fe4f03d6d5: Download complete
749f1bb0162a: Verifying Checksum
749f1bb0162a: Download complete
6d3f7f758602: Download complete
63b7256d30f3: Download complete
6822952847b2: Verifying Checksum
6822952847b2: Download complete
0ea6df6308d9: Download complete
0ea6df6308d9: Pull complete
09c53a6f9158: Pull complete
22eac0b1f8c3: Pull complete
33d930137a64: Pull complete
02a3676c01be: Pull complete
e009f4d67bde: Pull complete
8a0b03979286: Pull complete
647b1ab9f8c5: Pull complete
68f3bf55f1cc: Pull complete
c159dbeda8f1: Pull complete
9407d17c98e2: Pull complete
030dd420cbd4: Pull complete
bd344588655d: Pull complete
d56faf06c063: Pull complete
36bdef27792e: Pull complete
b9058243f2d0: Pull complete
c7966ffb0be5: Pull complete
287fc89df4dc: Pull complete
bea535d8eb0f: Pull complete
4f4fb700ef54: Pull complete
bd80c8ca50d8: Pull complete
216554cb36cb: Pull complete
5d71a66449ee: Pull complete
87b8358591dd: Pull complete
760c10808eb7: Pull complete
f363426a7c60: Pull complete
8e0785912b4d: Pull complete
46d179de4802: Pull complete
b6296e7b3ea6: Pull complete
bbebd02f1bc6: Pull complete
57bd9e8d431f: Pull complete
5b69ff09b12e: Pull complete
77af318c9c92: Pull complete
9c0d20d153d6: Pull complete
05d2ddfbc302: Pull complete
6deec77ca9bb: Pull complete
f8e9eb56778e: Pull complete
59fe4f03d6d5: Pull complete
6822952847b2: Pull complete
749f1bb0162a: Pull complete
6d3f7f758602: Pull complete
63b7256d30f3: Pull complete
Digest: sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c
Status: Downloaded newer image for ocaml/opam@sha256:8a454cb3df548f2ed6b30c31b1778d853618b5764d231544d70ead8c35a7a35c
2026-01-19 14:26.08 ---> saved as "dd43d131db5facc4f1360548584b55edbff50fc51ea9e0658e0361c99a94b6c3"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 14:26.09 ---> saved as "0110acba8d2e3cd751a2cbbc2c4147ae4e0c0bee989c2c49b7e634c5bd8f1933"

/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
2026-01-19 14:26.37 ---> saved as "68eacc5e3bd4951cdcc16a940ec4591280d77fe85e7322ec76c53e570d9ea66f"

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=9
# 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-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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
2026-01-19 14:26.38 ---> saved as "9f82128f182199b5a6895de3d40a81a6cd968bb9f45b9cb26e7004bea63b9e04"

/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/"))
2026-01-19 14:26.47 ---> saved as "17ff8f9e5c0e20eaf07b7d287e84e6238aebd7e5149fc66bddc4c083e2de4304"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 14:26.54 ---> saved as "2e5ed5a4429e15792c8a6e0b9e9ab3389296d616ed4d24e8a06a41f1c780ccc4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 14:27.14 ---> saved as "995c3b083fecabe9ea011ac75a41323cce02fd037f72281cf33626e3c99e5fda"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         52 kB/s |  14 kB     00:00    
- CentOS Stream 9 - AppStream                     109 kB/s |  15 kB     00:00    
- CentOS Stream 9 - CRB                            99 kB/s |  14 kB     00:00    
- CentOS Stream 9 - Extras packages               119 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-01-19 14:27.16 ---> saved as "9037add3612feca69aaf82a72d1cf577bd4e934af1082bea7081a0221a97ee3f"

/home/opam: (run (shell "opam pin add -k version -yn aslref.1.0~draft.2 1.0~draft.2"))
aslref is now pinned to version 1.0~draft.2
2026-01-19 14:27.17 ---> saved as "b52003968ddce3553cbd5d7b02a00307248f379d3017968f7b89cbe1a0767dc5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall aslref.1.0~draft.2;\
                        \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 \"\\\"centos-9\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'aslref.1.0~draft.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
aslref.1.0~draft.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
  - install aslref          1.0~draft.2 (pinned)
  - install conf-gmp        5                    [required by zarith]
  - install conf-pkg-config 4                    [required by zarith]
  - install dune            3.21.0               [required by aslref]
  - install menhir          20250912             [required by aslref]
  - install menhirCST       20250912             [required by menhir]
  - install menhirLib       20250912             [required by menhir]
  - install menhirSdk       20250912             [required by menhir]
  - install ocamlfind       1.9.8                [required by zarith]
  - install zarith          1.14                 [required by aslref]

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:05 ago on Mon Jan 19 14:27:16 2026.
- Dependencies resolved.
- ================================================================================
-  Package          Architecture  Version                  Repository        Size
- ================================================================================
- Installing:
-  gmp-devel        x86_64        1:6.2.0-13.el9           appstream        174 k
- Installing dependencies:
-  gmp-c++          x86_64        1:6.2.0-13.el9           appstream         19 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 193 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.0-13.el9.x86_64.rpm          798 kB/s |  19 kB     00:00    
- (2/2): gmp-devel-6.2.0-13.el9.x86_64.rpm        694 kB/s | 174 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           404 kB/s | 193 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.0-13.el9.x86_64                          1/2 
-   Installing       : gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
-   Running scriptlet: gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
-   Verifying        : gmp-c++-1:6.2.0-13.el9.x86_64                          1/2 
-   Verifying        : gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
- 
- Installed:
-   gmp-c++-1:6.2.0-13.el9.x86_64         gmp-devel-1:6.2.0-13.el9.x86_64        
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.0-13.el9.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved aslref.1.0~draft.2  (cached)
-> retrieved conf-gmp.5  (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> retrieved dune.3.21.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.21.0
-> installed menhirCST.20250912
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed menhir.20250912
-> installed aslref.1.0~draft.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 14:28.16 ---> saved as "a12a01a15713e3c1c00ead45544b29ac55e0d51218752af15e091b3411bb49a8"
Job succeeded
2026-01-19 14:28.23: Job succeeded