(for PR #29099)

2026-01-17 02:42.49: New job: build fstar.2025.12.15, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29099/head (04d2f86ea398fda1f63fba7bbb75272dad5eec9d)
                              on ubuntu-25.04-ocaml-5.4/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/29099/head" && git reset --hard 04d2f86e
git fetch origin master
git merge --no-edit 6bda456f941d6c1e0773fcb1fd57c0eb54b8a2c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ac704a823990cbb54db5281ae92b0bb3680d06c809f1d91aa8d7b790e53c1d19
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 fstar.2025.12.15 2025.12.15
RUN opam reinstall fstar.2025.12.15; \
    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" != 'fstar.2025.12.15' && 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-17 02:42.49: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ac704a823990cbb54db5281ae92b0bb3680d06c809f1d91aa8d7b790e53c1d19-fstar.2025.12.15-04d2f86ea398fda1f63fba7bbb75272dad5eec9d"
2026-01-17 02:42.49: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ac704a823990cbb54db5281ae92b0bb3680d06c809f1d91aa8d7b790e53c1d19)
 (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 fstar.2025.12.15 2025.12.15"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall fstar.2025.12.15;\
             \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\" != 'fstar.2025.12.15' && 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-17 02:42.49: Waiting for resource in pool OCluster
2026-01-17 02:42.49: Waiting for worker…
2026-01-17 02:42.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 6bda456f94 Merge pull request #29229 from elias-utf8/opam-publish-qcaml.0.1.7
Merge made by the 'ort' strategy.
 packages/fstar/fstar.2025.12.15/opam | 52 ++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 packages/fstar/fstar.2025.12.15/opam

(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:ac704a823990cbb54db5281ae92b0bb3680d06c809f1d91aa8d7b790e53c1d19)
2026-01-17 02:43.05 ---> using "d86b7185c290bc6a4f60170a37b97c8bc81ebe149a49860ee5f44a858de68b40" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-17 02:43.05 ---> using "41a9eae0ea2beb784869e7d0c067fc9536fe9678844f20f9f16488d458d76ce0" 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
2026-01-17 02:43.05 ---> using "98a97b6392e52baeeccf547aed546b540b1be0ecdfae0b0ece32a466bb1ab993" 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.5.0
# 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-01-17 02:43.05 ---> using "4c269f399dd0d214ec79d555d38a0dd27097fdf2a9ae638cb63d336188c6f8ff" 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/"))
2026-01-17 02:43.05 ---> using "1e1d70fcaeb4b88b329780730162bcf98af3cc7cc1f7895872900328db1b6f01" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-17 02:43.14 ---> saved as "9542fc88eda112c1cb02a45b2c3ab6c60db25ac4bb19cfabf0f75655933d2fa5"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-17 02:43.33 ---> saved as "326ae4757538993c2a56300f4f8199842f04d67f582ee2a90f930ea6f872a8ce"

/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://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [233 kB]
- Get:6 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [290 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [452 kB]
- Get:8 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [330 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [325 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [363 kB]
- Fetched 2371 kB in 0s (10.2 MB/s)
- Reading package lists...
2026-01-17 02:43.35 ---> saved as "400fb73735541255a998c27e14d97b9d224988487c328c9e4edbf53c91699366"

/home/opam: (run (shell "opam pin add -k version -yn fstar.2025.12.15 2025.12.15"))
fstar is now pinned to version 2025.12.15
2026-01-17 02:43.36 ---> saved as "a35823e702982c2450792dad19f4be0c4ce756d379918316bb75fc479ceee643"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall fstar.2025.12.15;\
                        \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\" != 'fstar.2025.12.15' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
fstar.2025.12.15 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - fstar >= 2025.12.15 -> ocaml < 5.4 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - fstar >= 2025.12.15 -> ocaml < 5.4 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
  * Missing dependency:
    - fstar >= 2025.12.15 -> ocaml < 5.4 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - fstar >= 2025.12.15 -> ocaml < 5.4 -> ocaml-variants >= 4.06.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - fstar >= 2025.12.15 -> ocaml < 5.4 -> ocaml-variants >= 4.06.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall fstar.2025.12.15;
        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" != 'fstar.2025.12.15' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-01-17 02:43.59: Job failed: Failed: Build failed
2026-01-17 02:43.59: Log analysis:
2026-01-17 02:43.59: >>> 
No solution found, exiting
 (score = 100)
2026-01-17 02:43.59: [SKIP] Package not available