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-10-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-10-ocaml-5.4@sha256:e1031ac6b12c4d5b426060c67eb29e6b0e97434cbe38497bfa8e6c8689779a15
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-10\""; 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-10-ocaml-5.4@sha256:e1031ac6b12c4d5b426060c67eb29e6b0e97434cbe38497bfa8e6c8689779a15-dune-ai-context.0.1.2-46a9547a9afcbcc145de38d486a6219603094014"
2026-03-11 01:53.21: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:e1031ac6b12c4d5b426060c67eb29e6b0e97434cbe38497bfa8e6c8689779a15)
(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-10\\\"\"; 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.50: Waiting for worker…
2026-03-11 12:07.56: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 3c0d72031e Merge pull request #29534 from filipeom/opam-publish-smtml.0.23.0
Updating 3c0d72031e..46a9547a9a
Fast-forward
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
.../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-10-ocaml-5.4@sha256:e1031ac6b12c4d5b426060c67eb29e6b0e97434cbe38497bfa8e6c8689779a15)
2026-03-11 12:09.20 ---> saved as "8aebcfaffd1079712be0fe9966c0fcd96a251f01de55cdf5351aa9ca6f458d98"
/: (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:09.20 ---> saved as "e621e0d4752d6433f272aebef498c1c4e0c73d254835677cd2d085c429f11d05"
/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.44 ---> saved as "4dd06184ef06e74b5d2357ad3e657ef09c0377c6a91257e6a19b97dcf7edcdff"
/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=10
# 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-03-11 12:09.45 ---> saved as "a1380390ede144c19d4c3de446d94876dd088c6c7ebe86e2e239b77c066e3742"
/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:10.02 ---> saved as "d8f5bd57316e8873c11f9fb7a1dec49c01052529c90394a4aaacfcfdd49bc568"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-11 12:10.13 ---> saved as "f18bf3e153d58830e2ad89748e76bb4ded44f78dd02de2ba5a30597d7df9809c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-11 12:10.43 ---> saved as "0f96aca011010146cdabcf514241692609bd9977564e7a6ffe410e895aeb31a5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 122 kB/s | 15 kB 00:00
- CentOS Stream 10 - BaseOS 11 MB/s | 6.9 MB 00:00
- CentOS Stream 10 - AppStream 118 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 7.5 MB/s | 3.6 MB 00:00
- CentOS Stream 10 - CRB 122 kB/s | 15 kB 00:00
- CentOS Stream 10 - CRB 3.3 MB/s | 831 kB 00:00
- CentOS Stream 10 - Extras packages 129 kB/s | 17 kB 00:00
- CentOS Stream 10 - Extras packages 65 kB/s | 9.9 kB 00:00
- Metadata cache created.
2026-03-11 12:10.48 ---> saved as "407fb6f6ff57033c32cf717c3e342c1b05f74efaab555883eb905def516e4908"
/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.48 ---> saved as "3d4f2aed38e2bf7efba1b3ce353834b67c49d577df76bf8c6c274c025ca24e96"
/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-10\\\"\"; 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.19 ---> saved as "56d7a8cef4d34d64b52fe252abe427f3e9298aac76a6e139de9bd2b37662da2b"
Job succeeded
2026-03-11 12:11.28: Job succeeded