Build:
- 0
2025-12-11 09:18.07: New job: build json-data-encoding-bson.1.1.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29067/head (a54ed909f0353c7e7fabd1034ec14be52fb10fe9)
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/29067/head" && git reset --hard a54ed909
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99
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 json-data-encoding-bson.1.1.1 1.1.1
RUN opam reinstall json-data-encoding-bson.1.1.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 "\"centos-10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'json-data-encoding-bson.1.1.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 .
2025-12-11 09:18.07: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99-json-data-encoding-bson.1.1.1-a54ed909f0353c7e7fabd1034ec14be52fb10fe9"
2025-12-11 09:18.07: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99)
(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 json-data-encoding-bson.1.1.1 1.1.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall json-data-encoding-bson.1.1.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 \"\\\"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\" != 'json-data-encoding-bson.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-11 09:18.07: Waiting for resource in pool OCluster
2025-12-11 19:58.54: Waiting for worker…
2025-12-11 20:01.54: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 78% (14953/19003)
Updating files: 79% (15013/19003)
Updating files: 80% (15203/19003)
Updating files: 81% (15393/19003)
Updating files: 82% (15583/19003)
Updating files: 83% (15773/19003)
Updating files: 84% (15963/19003)
Updating files: 85% (16153/19003)
Updating files: 86% (16343/19003)
Updating files: 87% (16533/19003)
Updating files: 88% (16723/19003)
Updating files: 89% (16913/19003)
Updating files: 90% (17103/19003)
Updating files: 91% (17293/19003)
Updating files: 92% (17483/19003)
Updating files: 93% (17673/19003)
Updating files: 94% (17863/19003)
Updating files: 95% (18053/19003)
Updating files: 96% (18243/19003)
Updating files: 97% (18433/19003)
Updating files: 98% (18623/19003)
Updating files: 99% (18813/19003)
Updating files: 100% (19003/19003)
Updating files: 100% (19003/19003), done.
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Merge made by the 'ort' strategy.
.../json-data-encoding-browser.1.1.1/opam | 37 ++++++++++++++++++
.../json-data-encoding-bson.1.1.1/opam | 39 +++++++++++++++++++
.../json-data-encoding.1.1.1/opam | 44 ++++++++++++++++++++++
3 files changed, 120 insertions(+)
create mode 100644 packages/json-data-encoding-browser/json-data-encoding-browser.1.1.1/opam
create mode 100644 packages/json-data-encoding-bson/json-data-encoding-bson.1.1.1/opam
create mode 100644 packages/json-data-encoding/json-data-encoding.1.1.1/opam
(from ocaml/opam:centos-10-ocaml-5.4@sha256:7243a4642175aeabd19bf5427e37df29cd2f81e7406966a632d4363191b32c99)
2025-12-11 20:05.01 ---> using "585d31324eba99552d5ca80f85a48e7e587f9391a47cecb2ad15336f5e2b2ea6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 20:05.01 ---> using "06f5e1785665d6a8b734eeb6687bc43b944254312939b57474eb61968aae8413" 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
2025-12-11 20:05.01 ---> using "2f55d7d41ecbcc95fa9baf4c23c15a9633f57a8975ea753556d57bff639600e0" 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=centos os-version=10
# 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
2025-12-11 20:05.01 ---> using "c0218fb713d1f66c3b2b82409b9b27b710863f7b2ad2b099aa86e7ebd1a21243" 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/"))
2025-12-11 20:05.01 ---> using "b10f3e05dedc83bf1263bbe8618765e626d7c07f169adbee092de8c8660663b3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 20:05.03 ---> using "6c09fcfbd59e8fb4a809e4d8c679bdac2989c0488e857886aeb8019502608b30" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 20:05.03 ---> using "0a6c625303b1025e1c9760d6990fa74cd1e7869c815b226b391ab866489ab83c" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 110 kB/s | 14 kB 00:00
- CentOS Stream 10 - BaseOS 5.4 MB/s | 6.8 MB 00:01
- CentOS Stream 10 - AppStream 39 kB/s | 14 kB 00:00
- CentOS Stream 10 - AppStream 7.8 MB/s | 3.5 MB 00:00
- CentOS Stream 10 - CRB 33 kB/s | 13 kB 00:00
- CentOS Stream 10 - CRB 1.2 MB/s | 774 kB 00:00
- CentOS Stream 10 - Extras packages 338 kB/s | 15 kB 00:00
- CentOS Stream 10 - Extras packages 26 kB/s | 8.1 kB 00:00
- Metadata cache created.
2025-12-11 20:05.03 ---> using "c1e77f890d4a83de5a6b97b6a1ec58a6a191be9b9427d004be4268117e5a85c7" from cache
/home/opam: (run (shell "opam pin add -k version -yn json-data-encoding-bson.1.1.1 1.1.1"))
json-data-encoding-bson is now pinned to version 1.1.1
2025-12-11 20:05.03 ---> using "5025dea21d7135625f8df32fe896bc39d16bf24491003dc6649905c5ccdb8fd1" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall json-data-encoding-bson.1.1.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 \"\\\"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\" != 'json-data-encoding-bson.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
json-data-encoding-bson.1.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
- install angstrom 0.16.1 [required by uri]
- install base-bytes base [required by ocplib-endian]
- install bigstringaf 0.10.0 [required by angstrom]
- install cppo 1.8.0 [required by ocplib-endian]
- install csexp 1.5.2 [required by dune-configurator]
- install cstruct 6.2.0 [required by hex]
- install dune 3.20.2 [required by json-data-encoding-bson]
- install dune-configurator 3.20.2 [required by bigstringaf]
- install fmt 0.11.0 [required by cstruct]
- install hex 1.5.0 [required by json-data-encoding]
- install json-data-encoding 1.1.1 [required by json-data-encoding-bson]
- install json-data-encoding-bson 1.1.1 (pinned)
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by base-bytes]
- install ocplib-endian 1.2 [required by json-data-encoding-bson]
- install stringext 1.6.0 [required by uri]
- install topkg 1.1.1 [required by fmt]
- install uri 4.4.0 [required by json-data-encoding]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved json-data-encoding.1.1.1, json-data-encoding-bson.1.1.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uri.4.4.0 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed hex.1.5.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed json-data-encoding.1.1.1
-> installed json-data-encoding-bson.1.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 20:05.03 ---> using "ffa2ce23cc4b76fdcc7c303b4ee5d5cfba1b29608f5928a30f2f2a03b774dea7" from cache
Job succeeded
2025-12-11 20:05.11: Job succeeded