Build:
  1. 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 debian-12-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/29067/head" && git reset --hard a54ed909
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b
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 "\"debian-12\""; 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:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b-json-data-encoding-bson.1.1.1-a54ed909f0353c7e7fabd1034ec14be52fb10fe9"
2025-12-11 09:18.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b)
 (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 \"\\\"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\" != '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 20:00.09: Waiting for worker…
2025-12-11 20:02.35: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  87% (16651/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:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b)
2025-12-11 20:02.38 ---> using "cfe6e0faa49686956d51330359bba5cabd91d4974842dc74f6ae7b6bff435481" 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:02.38 ---> using "57a28c1d686680a4af8f73fe4d850f369934bb00f8af4f98ad45f72b09e71203" 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:02.38 ---> using "bd1c82a7f6844686b6a0ccd318914a7be8b9cbe94aff23a46e119ff51c15c3cf" 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=debian os-version=12
# 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       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
2025-12-11 20:02.38 ---> using "d02d032b6a5e23eddcd94daf75eef2590e63f6d628719f1d0147322c04f00734" 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:02.38 ---> using "6a6fc367d91dce8098e22986ebfd2965d84b25269d9681bfe0dc1bc76e8c8c80" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 20:02.51 ---> saved as "0ce6901f7bab9a460d699f848a18ad5f5ca802f3fb1f39adffc61f0c9b0c246a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 20:03.17 ---> saved as "ca395c8f81dbcd71414395eaa552f702324ffc07db74113b4a90e1404b70c877"

/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 [290 kB]
- Fetched 393 kB in 0s (927 kB/s)
- Reading package lists...
- 
2025-12-11 20:03.20 ---> saved as "1186faa1c9edc6ca24ebe5029ee181c7f5a4ab205fc19153bf909964d1cde27f"

/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:03.21 ---> saved as "60deb39b471353d06f07e2f8f1d12eb58441945b200f97ba7a5f1375287b801a"

/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 \"\\\"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\" != '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 csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed stringext.1.6.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:04.22 ---> saved as "190da6b28648bb6abd4e3a954245bfa976eb5bc007d1a9dc214e5655e6da74b3"
Job succeeded
2025-12-11 20:04.47: Job succeeded