(for PR #29929)
2026-05-20 11:19.40: New job: build embedded_ocaml_templates.0.8.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29929/head (9002fdb7d59fe104e77fb515ef69be1381d12a14)
on debian-12-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/29929/head" && git reset --hard 9002fdb7
git fetch origin master
git merge --no-edit 64a847a29e96527a72f3e45822610f25e7ad0a40
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
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 embedded_ocaml_templates.0.8.1 0.8.1
RUN opam reinstall embedded_ocaml_templates.0.8.1; \
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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'embedded_ocaml_templates.0.8.1' && 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-05-20 11:19.40: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78-embedded_ocaml_templates.0.8.1-9002fdb7d59fe104e77fb515ef69be1381d12a14"
2026-05-20 11:19.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78)
(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 embedded_ocaml_templates.0.8.1 0.8.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall embedded_ocaml_templates.0.8.1;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'embedded_ocaml_templates.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-05-20 11:19.40: Waiting for resource in pool OCluster
2026-05-20 11:19.42: Waiting for worker…
2026-05-20 11:19.42: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 64a847a29e Merge pull request #29924 from jmid/add-dune-3.23.0-ocaml-bound
Updating 64a847a29e..9002fdb7d5
Fast-forward
.../embedded_ocaml_templates.0.8.1/opam | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 packages/embedded_ocaml_templates/embedded_ocaml_templates.0.8.1/opam
(from ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78' locally
docker.io/ocaml/opam@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78: Pulling from ocaml/opam
9104793a826a: Pulling fs layer
e1777bf957dd: Pulling fs layer
74a1b02e928a: Pulling fs layer
9104793a826a: Waiting
cc137763a853: Pulling fs layer
f8d625a330ca: Pulling fs layer
e1777bf957dd: Waiting
72d511800c6b: Pulling fs layer
74a1b02e928a: Waiting
cc137763a853: Waiting
f8d625a330ca: Waiting
e4eac10e99da: Pulling fs layer
72d511800c6b: Waiting
aa69c97e5b99: Pulling fs layer
e4eac10e99da: Waiting
2e8d9df2a2b2: Pulling fs layer
aa69c97e5b99: Waiting
d9f9646fab50: Pulling fs layer
2e8d9df2a2b2: Waiting
005688430198: Pulling fs layer
d9f9646fab50: Waiting
4c221ffb3fcb: Pulling fs layer
005688430198: Waiting
15e0257faf1f: Pulling fs layer
4c221ffb3fcb: Waiting
d58047685e4c: Pulling fs layer
15e0257faf1f: Waiting
75204f9e68b5: Pulling fs layer
b8a11fb88ec8: Pulling fs layer
323576ae456c: Pulling fs layer
d58047685e4c: Waiting
b8a11fb88ec8: Waiting
75204f9e68b5: Waiting
1150f9d2bcd8: Pulling fs layer
f7eba4983876: Pulling fs layer
323576ae456c: Waiting
1150f9d2bcd8: Waiting
f7beaba6bec4: Pulling fs layer
f7eba4983876: Waiting
74fc6d4c4e77: Pulling fs layer
f7beaba6bec4: Waiting
4f4fb700ef54: Pulling fs layer
168a84f8733d: Pulling fs layer
74fc6d4c4e77: Waiting
4f4fb700ef54: Waiting
e5c3c0841d44: Pulling fs layer
168a84f8733d: Waiting
9769cfaf6ef3: Pulling fs layer
5cb8b7b1e437: Pulling fs layer
a7929350254a: Pulling fs layer
e5c3c0841d44: Waiting
4ca96f71f8fd: Pulling fs layer
9769cfaf6ef3: Waiting
f5ceb1cd005c: Pulling fs layer
a7929350254a: Waiting
5cb8b7b1e437: Waiting
4ca96f71f8fd: Waiting
5953efccb914: Pulling fs layer
f5ceb1cd005c: Waiting
1a5c22ddfb23: Pulling fs layer
e3ff78cfe441: Pulling fs layer
5953efccb914: Waiting
59770379be2c: Pulling fs layer
1a5c22ddfb23: Waiting
e3ff78cfe441: Waiting
474f42c60d9a: Pulling fs layer
59770379be2c: Waiting
a9f1dd1b1d0c: Pulling fs layer
474f42c60d9a: Waiting
5c65526e4bc6: Pulling fs layer
a9f1dd1b1d0c: Waiting
3942403b4dbf: Pulling fs layer
5c65526e4bc6: Waiting
503eedf8c608: Pulling fs layer
d6e61dfbde82: Pulling fs layer
3942403b4dbf: Waiting
503eedf8c608: Waiting
109bfa10b263: Pulling fs layer
d6e61dfbde82: Waiting
c24c8b207751: Pulling fs layer
109bfa10b263: Waiting
22f004ec4bac: Pulling fs layer
3fa513e3aaff: Pulling fs layer
22f004ec4bac: Waiting
c24c8b207751: Waiting
c60ae28fb919: Pulling fs layer
e495856fe358: Pulling fs layer
3fa513e3aaff: Waiting
2eb286d6b9f1: Pulling fs layer
e495856fe358: Waiting
7ce96b9d38aa: Pulling fs layer
2eb286d6b9f1: Waiting
c60ae28fb919: Waiting
7ce96b9d38aa: Waiting
9104793a826a: Verifying Checksum
9104793a826a: Download complete
e1777bf957dd: Verifying Checksum
e1777bf957dd: Download complete
74a1b02e928a: Verifying Checksum
74a1b02e928a: Download complete
cc137763a853: Verifying Checksum
cc137763a853: Download complete
f8d625a330ca: Verifying Checksum
f8d625a330ca: Download complete
e4eac10e99da: Verifying Checksum
e4eac10e99da: Download complete
9104793a826a: Pull complete
e1777bf957dd: Pull complete
74a1b02e928a: Pull complete
aa69c97e5b99: Verifying Checksum
aa69c97e5b99: Download complete
cc137763a853: Pull complete
f8d625a330ca: Pull complete
2e8d9df2a2b2: Verifying Checksum
2e8d9df2a2b2: Download complete
d9f9646fab50: Verifying Checksum
d9f9646fab50: Download complete
72d511800c6b: Verifying Checksum
005688430198: Verifying Checksum
005688430198: Download complete
4c221ffb3fcb: Verifying Checksum
4c221ffb3fcb: Download complete
15e0257faf1f: Verifying Checksum
15e0257faf1f: Download complete
d58047685e4c: Verifying Checksum
d58047685e4c: Download complete
75204f9e68b5: Verifying Checksum
75204f9e68b5: Download complete
b8a11fb88ec8: Download complete
323576ae456c: Download complete
1150f9d2bcd8: Verifying Checksum
1150f9d2bcd8: Download complete
f7eba4983876: Download complete
f7beaba6bec4: Download complete
74fc6d4c4e77: Verifying Checksum
74fc6d4c4e77: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
168a84f8733d: Verifying Checksum
168a84f8733d: Download complete
e5c3c0841d44: Verifying Checksum
e5c3c0841d44: Download complete
9769cfaf6ef3: Verifying Checksum
9769cfaf6ef3: Download complete
5cb8b7b1e437: Verifying Checksum
5cb8b7b1e437: Download complete
a7929350254a: Download complete
4ca96f71f8fd: Download complete
f5ceb1cd005c: Verifying Checksum
f5ceb1cd005c: Download complete
5953efccb914: Verifying Checksum
5953efccb914: Download complete
1a5c22ddfb23: Download complete
e3ff78cfe441: Download complete
59770379be2c: Download complete
474f42c60d9a: Download complete
5c65526e4bc6: Verifying Checksum
5c65526e4bc6: Download complete
3942403b4dbf: Verifying Checksum
3942403b4dbf: Download complete
72d511800c6b: Pull complete
503eedf8c608: Verifying Checksum
503eedf8c608: Download complete
e4eac10e99da: Pull complete
d6e61dfbde82: Download complete
aa69c97e5b99: Pull complete
a9f1dd1b1d0c: Verifying Checksum
a9f1dd1b1d0c: Download complete
109bfa10b263: Download complete
2e8d9df2a2b2: Pull complete
c24c8b207751: Verifying Checksum
c24c8b207751: Download complete
d9f9646fab50: Pull complete
005688430198: Pull complete
3fa513e3aaff: Verifying Checksum
3fa513e3aaff: Download complete
22f004ec4bac: Verifying Checksum
22f004ec4bac: Download complete
4c221ffb3fcb: Pull complete
e495856fe358: Verifying Checksum
e495856fe358: Download complete
15e0257faf1f: Pull complete
d58047685e4c: Pull complete
75204f9e68b5: Pull complete
b8a11fb88ec8: Pull complete
323576ae456c: Pull complete
1150f9d2bcd8: Pull complete
f7eba4983876: Pull complete
f7beaba6bec4: Pull complete
74fc6d4c4e77: Pull complete
4f4fb700ef54: Pull complete
168a84f8733d: Pull complete
e5c3c0841d44: Pull complete
9769cfaf6ef3: Pull complete
5cb8b7b1e437: Pull complete
a7929350254a: Pull complete
4ca96f71f8fd: Pull complete
f5ceb1cd005c: Pull complete
5953efccb914: Pull complete
1a5c22ddfb23: Pull complete
e3ff78cfe441: Pull complete
59770379be2c: Pull complete
474f42c60d9a: Pull complete
2eb286d6b9f1: Verifying Checksum
2eb286d6b9f1: Download complete
7ce96b9d38aa: Verifying Checksum
7ce96b9d38aa: Download complete
c60ae28fb919: Verifying Checksum
c60ae28fb919: Download complete
a9f1dd1b1d0c: Pull complete
5c65526e4bc6: Pull complete
3942403b4dbf: Pull complete
503eedf8c608: Pull complete
d6e61dfbde82: Pull complete
109bfa10b263: Pull complete
c24c8b207751: Pull complete
22f004ec4bac: Pull complete
3fa513e3aaff: Pull complete
c60ae28fb919: Pull complete
e495856fe358: Pull complete
2eb286d6b9f1: Pull complete
7ce96b9d38aa: Pull complete
Digest: sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
Status: Downloaded newer image for ocaml/opam@sha256:3a009ba9c3c57bbb95e7129514ac5ed4005ccadc40478056dbfdcfb156ab7b78
2026-05-20 11:22.08 ---> saved as "1dfca86aec973988899f8eb21e9d79f09e980897d8820cee38c790bdb4d15937"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-20 11:22.08 ---> saved as "998d4aee1c1d41d3f67b98f88f1a5c59f6b6d518f4f72ba42c5c70dd4cf3a616"
/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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-20 11:22.19 ---> saved as "d95bfc07859cedf5e86716c20c0a1490268134030d793f2880614205c6e1f182"
/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.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# 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.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-05-20 11:22.20 ---> saved as "c0e49d7e28f117deef65d91a9eb6aeb7a12658fa194807e8a3ba6cccaa28eaef"
/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-05-20 11:22.30 ---> saved as "995605c3c03d99e80a115ca9475979f3ef4baa6c1ce539e27a092672d12767ca"
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-20 11:22.45 ---> saved as "1282757a4203d7fc4ac54f436586b4ebb3543caec5f744c1daf59e6800b40acb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-20 11:22.55 ---> saved as "89df5b6275a8d6fae93c8c093c32df4646f7699a1a3cf42dbd39a7a373373c35"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [306 kB]
- Fetched 409 kB in 1s (798 kB/s)
- Reading package lists...
-
2026-05-20 11:22.57 ---> saved as "a0778ff38113027011197b48375b97aa87418ead09c16ca447f7354dfc5fe6db"
/home/opam: (run (shell "opam pin add -k version -yn embedded_ocaml_templates.0.8.1 0.8.1"))
embedded_ocaml_templates is now pinned to version 0.8.1
2026-05-20 11:22.58 ---> saved as "85c185a461b3b33ce92fe25d29e8e2fe34f62edbb0178af7f3eec2e66ceb9c9a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall embedded_ocaml_templates.0.8.1;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'embedded_ocaml_templates.0.8.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
embedded_ocaml_templates.0.8.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
- install containers 3.18 [required by embedded_ocaml_templates]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.23.1 [required by embedded_ocaml_templates]
- install dune-configurator 3.23.1 [required by containers]
- install either 1.0.0 [required by containers]
- install embedded_ocaml_templates 0.8.1 (pinned)
- install gen 1.1 [required by sedlex]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by uutf]
- install ocamlfind 1.9.8 [required by uutf]
- install pprint 20230830 [required by embedded_ocaml_templates]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.38.0 [required by embedded_ocaml_templates]
- install sedlex 3.7 [required by embedded_ocaml_templates]
- install seq base [required by gen]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by uutf]
- install uutf 1.0.4 [required by embedded_ocaml_templates]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved containers.3.18 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved embedded_ocaml_templates.0.8.1 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved pprint.20230830 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved sedlex.3.7 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed dune.3.23.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed gen.1.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed pprint.20230830
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.23.1
-> installed containers.3.18
-> installed ppxlib.0.38.0
-> installed sedlex.3.7
-> installed embedded_ocaml_templates.0.8.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 11:23.51 ---> saved as "42e3da6d2d3eb57a0330b31fce76cefd6bc9a8dc5d5cd501bf1bf8716da3d65b"
Job succeeded
2026-05-20 11:23.58: Job succeeded