Build:
- 0
2026-03-11 01:53.21: New job: build dune-ai-context.0.1.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29536/head (46a9547a9afcbcc145de38d486a6219603094014)
on centos-9-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/29536/head" && git reset --hard 46a9547a
git fetch origin master
git merge --no-edit 3c0d72031e829cf7ddad3a74f39a8b01fe2bf302
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:d33cd8f3809725736692b00c3a83e85feb195d6a56e0dd75247e09e431a4a856
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 dune-ai-context.0.1.2 0.1.2
RUN opam reinstall dune-ai-context.0.1.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" != 'dune-ai-context.0.1.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-03-11 01:53.21: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:d33cd8f3809725736692b00c3a83e85feb195d6a56e0dd75247e09e431a4a856-dune-ai-context.0.1.2-46a9547a9afcbcc145de38d486a6219603094014"
2026-03-11 01:53.21: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:d33cd8f3809725736692b00c3a83e85feb195d6a56e0dd75247e09e431a4a856)
(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 dune-ai-context.0.1.2 0.1.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-ai-context.0.1.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\" != 'dune-ai-context.0.1.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-03-11 01:53.21: Waiting for resource in pool OCluster
2026-03-11 12:05.52: Waiting for worker…
2026-03-11 12:07.56: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files: 71% (13195/18418)
Updating files: 72% (13261/18418)
Updating files: 73% (13446/18418)
Updating files: 74% (13630/18418)
Updating files: 75% (13814/18418)
Updating files: 76% (13998/18418)
Updating files: 77% (14182/18418)
Updating files: 78% (14367/18418)
Updating files: 79% (14551/18418)
Updating files: 80% (14735/18418)
Updating files: 81% (14919/18418)
Updating files: 82% (15103/18418)
Updating files: 83% (15287/18418)
Updating files: 84% (15472/18418)
Updating files: 85% (15656/18418)
Updating files: 86% (15840/18418)
Updating files: 87% (16024/18418)
Updating files: 88% (16208/18418)
Updating files: 89% (16393/18418)
Updating files: 90% (16577/18418)
Updating files: 91% (16761/18418)
Updating files: 92% (16945/18418)
Updating files: 93% (17129/18418)
Updating files: 94% (17313/18418)
Updating files: 95% (17498/18418)
Updating files: 96% (17682/18418)
Updating files: 97% (17866/18418)
Updating files: 98% (18050/18418)
Updating files: 99% (18234/18418)
Updating files: 100% (18418/18418)
Updating files: 100% (18418/18418), done.
HEAD is now at 3c0d72031e Merge pull request #29534 from filipeom/opam-publish-smtml.0.23.0
Updating 3c0d72031e..46a9547a9a
Fast-forward
.../dune-ai-context/dune-ai-context.0.1.2/opam | 43 ++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 packages/dune-ai-context/dune-ai-context.0.1.2/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:d33cd8f3809725736692b00c3a83e85feb195d6a56e0dd75247e09e431a4a856)
2026-03-11 12:08.38 ---> saved as "4762cf358287d530eb90170aa25b01b6f28f72eee32421a7ce7e5f0f9c30f619"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-11 12:08.39 ---> saved as "aa5050d7b817bcc3bd129dac3c24e616babb35fc2d5ed49896862795fda4639c"
/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-03-11 12:09.19 ---> saved as "5d07f6d2cd3eca72910758ad77a939b508a535065bf976976031d8b04664a824"
/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 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-03-11 12:09.21 ---> saved as "a21939b4dac471cbccbc2c1eac301cefbfc2f73cb8ac9d26ca3b1d968e9f7609"
/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-03-11 12:09.33 ---> saved as "02cf26fa4df0c938a5060afb2f4b0425431ca46b919698a71dc53fcd09dfeb9f"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-11 12:09.43 ---> saved as "0410d1b6bf956ece76f804a1277ee0b410cae1d59af5a092343948f21db8c43c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-11 12:10.09 ---> saved as "28f59829f4c0e3723ed542ec564dcc63e5d44f0d3076fe4b476af387098830be"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 43 kB/s | 15 kB 00:00
- CentOS Stream 9 - BaseOS 5.2 MB/s | 8.9 MB 00:01
- CentOS Stream 9 - AppStream 100 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 8.5 MB/s | 27 MB 00:03
- CentOS Stream 9 - CRB 102 kB/s | 14 kB 00:00
- CentOS Stream 9 - CRB 7.4 MB/s | 8.0 MB 00:01
- CentOS Stream 9 - Extras packages 112 kB/s | 16 kB 00:00
- CentOS Stream 9 - Extras packages 98 kB/s | 20 kB 00:00
- Metadata cache created.
2026-03-11 12:10.39 ---> saved as "2d0946d0a13c7467a19b118bdc22d6741990eca41c49fdc7d405b351b049c742"
/home/opam: (run (shell "opam pin add -k version -yn dune-ai-context.0.1.2 0.1.2"))
dune-ai-context is now pinned to version 0.1.2
2026-03-11 12:10.40 ---> saved as "12daa2a2fc190711568f074e98ec06d4b5905c2a0a51ffd64d9684a6f0a0a4b7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-ai-context.0.1.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\" != 'dune-ai-context.0.1.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune-ai-context.0.1.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.21.1 [required by dune-ai-context]
- install dune-ai-context 0.1.2 (pinned)
- install num 1.6 [required by sexplib]
- install parsexp v0.17.0 [required by sexplib]
- install sexplib v0.17.0 [required by dune-ai-context]
- install sexplib0 v0.17.0 [required by sexplib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1 (cached)
-> retrieved dune-ai-context.0.1.2 (https://github.com/zenfey/dune-ai-context/archive/refs/tags/v0.1.2.tar.gz)
-> retrieved num.1.6 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> installed num.1.6
-> installed dune.3.21.1
-> installed sexplib0.v0.17.0
-> installed parsexp.v0.17.0
-> installed sexplib.v0.17.0
-> installed dune-ai-context.0.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 12:11.37 ---> saved as "bda2548a686884e0aa1f5914c51dbd8dd0132176f786487777a7b97c937fe26c"
Job succeeded
2026-03-11 12:12.12: Job succeeded