Build:
- 0
2026-03-11 01:53.21: New job: test dune-ai-context.0.1.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29536/head (46a9547a9afcbcc145de38d486a6219603094014)
on ubuntu-25.04-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/29536/head" && git reset --hard 46a9547a
git fetch origin master
git merge --no-edit 3c0d72031e829cf7ddad3a74f39a8b01fe2bf302
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
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 "\"ubuntu-25.04\""; 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
RUN (opam reinstall --with-test dune-ai-context.0.1.2) || true
RUN opam reinstall --with-test --verbose 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 "\"ubuntu-25.04\""; 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:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7-dune-ai-context.0.1.2-46a9547a9afcbcc145de38d486a6219603094014"
2026-03-11 01:53.21: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7)
(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 \"\\\"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\" != '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"))
(run (network host)
(shell "(opam reinstall --with-test dune-ai-context.0.1.2) || true"))
(run (shell "opam reinstall --with-test --verbose 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 \"\\\"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\" != '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.58: Waiting for worker…
2026-03-11 12:08.04: 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:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7' locally
docker.io/ocaml/opam@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7: Pulling from ocaml/opam
c62190a9ab61: Already exists
9a2e0901dff5: Already exists
b1f9cc70ae42: Already exists
ce0546b0dd1f: Already exists
79301f00e8ba: Already exists
9b295b25667c: Already exists
a31f71beef5e: Already exists
5f6f7ff1dd75: Already exists
3326c804f772: Already exists
dbc305c5cd35: Already exists
c2cccf40b87f: Already exists
45e66d8ca585: Already exists
fcefa7241269: Already exists
5bf160151561: Already exists
874b2264723c: Already exists
ada98df8f669: Already exists
ab8d0ea6e4f6: Already exists
ab8d0ea6e4f6: Already exists
18a72a4bedd6: Already exists
bfcd7ea0ace8: Already exists
76a18c947be5: Already exists
6fd9d51ce26c: Already exists
4f4fb700ef54: Already exists
77d410803a59: Already exists
44e2dad9dd55: Already exists
b51e285283d3: Already exists
dd8da5b96ca2: Already exists
b46c436fcec9: Already exists
a9e62b40a1cc: Already exists
f5ab56558ad4: Already exists
8f52d3d09866: Already exists
39ac1f9b485e: Already exists
503fbe92c3b9: Already exists
f3db52c04fc1: Already exists
3bb40995af78: Already exists
c83fbf1c12e8: Pulling fs layer
ad31772f43a8: Pulling fs layer
ce60cf8100fe: Pulling fs layer
0205937477da: Pulling fs layer
24ccf4b3cee6: Pulling fs layer
04a8b415dd1b: Pulling fs layer
6a54dac09e5f: Pulling fs layer
fa401853ce27: Pulling fs layer
24ccf4b3cee6: Waiting
c1e3a19219ec: Pulling fs layer
b248a674c708: Pulling fs layer
0205937477da: Waiting
04a8b415dd1b: Waiting
c1e3a19219ec: Waiting
6a54dac09e5f: Waiting
b248a674c708: Waiting
ad31772f43a8: Verifying Checksum
ad31772f43a8: Download complete
0205937477da: Download complete
24ccf4b3cee6: Verifying Checksum
24ccf4b3cee6: Download complete
04a8b415dd1b: Download complete
c83fbf1c12e8: Verifying Checksum
c83fbf1c12e8: Download complete
fa401853ce27: Download complete
c1e3a19219ec: Download complete
b248a674c708: Download complete
ce60cf8100fe: Verifying Checksum
ce60cf8100fe: Download complete
6a54dac09e5f: Verifying Checksum
6a54dac09e5f: Download complete
c83fbf1c12e8: Pull complete
ad31772f43a8: Pull complete
ce60cf8100fe: Pull complete
0205937477da: Pull complete
24ccf4b3cee6: Pull complete
04a8b415dd1b: Pull complete
6a54dac09e5f: Pull complete
fa401853ce27: Pull complete
c1e3a19219ec: Pull complete
b248a674c708: Pull complete
Digest: sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
Status: Downloaded newer image for ocaml/opam@sha256:1213c04cb0ab1f4db37eb6fd0612f3058b5d0ca6c03d566c98ff02693a7f8ff7
2026-03-11 12:10.33 ---> saved as "d390f74a68cfe5f39507dabdd3ce3cc6172b1435d66e12c485766973e3769056"
/: (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:10.33 ---> saved as "d2fb1edd9549c69e4b47b0c4e5e84b106ce9739ef6fc31237ad111383a1c94e7"
/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:11.02 ---> saved as "4041e8ff4c7a53f019635149a5781e60914890402e68bd7f3ab0298dd9bb9ef4"
/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 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-03-11 12:11.03 ---> saved as "ae2f722aec6c6b260b2e7af8cec27f5bd8de4d1efaadf0362db486e3415ca4f9"
/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:11.44 ---> saved as "7c5c2109748cfd7175bb5cb79f9d6635ad091756f6a5791af227b9a1593b5d91"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-11 12:12.10 ---> saved as "6366ad0c670379358a516a69c851f436a851c1d7943f04aad2d0de24a40f95bb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-11 12:12.34 ---> saved as "bcc8ac79aed704e7b3633b69efa344ef9d814c6c292f8fe63bbb13245b747c49"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Reading package lists...
2026-03-11 12:12.35 ---> saved as "809d1be8279332e0a50585a2ade755a5868167e0c43b0c96d87e2119108d164f"
/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:12.37 ---> saved as "5ef088897c13e7c61d4b40a723b90cc4bc2b6f3ade4beb21ba29949a387bf04c"
/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 \"\\\"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\" != '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.16.0 [required by sexplib]
- install sexplib v0.16.0 [required by dune-ai-context]
- install sexplib0 v0.16.0 [required by sexplib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1 (cached)
-> retrieved dune-ai-context.0.1.2 (cached)
-> retrieved num.1.6 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> installed num.1.6
-> installed dune.3.21.1
-> installed sexplib0.v0.16.0
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed dune-ai-context.0.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 12:13.06 ---> saved as "5aadf840d67a1e5b10f79a8a59b91c43b085b6dde43774d364c490979bec9128"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test dune-ai-context.0.1.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile dune-ai-context 0.1.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune-ai-context.0.1.2 (https://github.com/zenfey/dune-ai-context/archive/refs/tags/v0.1.2.tar.gz)
-> removed dune-ai-context.0.1.2
-> installed dune-ai-context.0.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 12:13.11 ---> saved as "ce24262e137115898e3127a2398a7ac9bec6eddbbf3d866f11ef33777d4a4205"
/home/opam: (run (shell "opam reinstall --with-test --verbose 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 \"\\\"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\" != '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"))
The following actions will be performed:
=== recompile 1 package
- recompile dune-ai-context 0.1.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [dune-ai-context.0.1.2: extract]
-> retrieved dune-ai-context.0.1.2 (cached)
Processing 2/4: [dune-ai-context: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-ai-context" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-ai-context.0.1.2)
-> compiled dune-ai-context.0.1.2
-> removed dune-ai-context.0.1.2
-> installed dune-ai-context.0.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 12:13.16 ---> saved as "ba329bcd9eaa9e914b4e161a9f53e208a0650bf1b76bac5f499d4700237096c2"
Job succeeded
2026-03-11 12:13.35: Job succeeded