Build:
  1. 0
2025-12-11 08:29.33: New job: build bibfmt.0.9.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29069/head (145845241c4267622a1d55e15dc1811376455b8b)
                              on debian-testing-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/29069/head" && git reset --hard 14584524
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554
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 bibfmt.0.9.0 0.9.0
RUN opam reinstall bibfmt.0.9.0; \
    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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'bibfmt.0.9.0' && 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 08:29.33: Using cache hint "ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554-bibfmt.0.9.0-145845241c4267622a1d55e15dc1811376455b8b"
2025-12-11 08:29.33: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554)
 (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 bibfmt.0.9.0 0.9.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall bibfmt.0.9.0;\
             \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-testing\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'bibfmt.0.9.0' && 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 08:29.33: Waiting for resource in pool OCluster
2025-12-11 19:49.00: Waiting for worker…
2025-12-11 19:52.44: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  80% (15308/19002)
Updating files:  81% (15392/19002)
Updating files:  82% (15582/19002)
Updating files:  83% (15772/19002)
Updating files:  84% (15962/19002)
Updating files:  85% (16152/19002)
Updating files:  86% (16342/19002)
Updating files:  87% (16532/19002)
Updating files:  88% (16722/19002)
Updating files:  89% (16912/19002)
Updating files:  90% (17102/19002)
Updating files:  91% (17292/19002)
Updating files:  92% (17482/19002)
Updating files:  93% (17672/19002)
Updating files:  94% (17862/19002)
Updating files:  95% (18052/19002)
Updating files:  96% (18242/19002)
Updating files:  97% (18432/19002)
Updating files:  98% (18622/19002)
Updating files:  99% (18812/19002)
Updating files: 100% (19002/19002)
Updating files: 100% (19002/19002), done.
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Merge made by the 'ort' strategy.
 packages/bibfmt/bibfmt.0.9.0/opam   | 39 ++++++++++++++++++++++++++++++
 packages/doi2bib/doi2bib.0.9.0/opam | 47 +++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)
 create mode 100644 packages/bibfmt/bibfmt.0.9.0/opam
 create mode 100644 packages/doi2bib/doi2bib.0.9.0/opam

(from ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554)
2025-12-11 19:53.31 ---> using "5582659fce49bfb55ca4806d9de6ac071400df61ce961a51c7ff4b6586eb85ce" 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 19:53.31 ---> using "ed4fc9645b2d8045d61050c36aeae30cf1868be4ce17eaedaef1f12a999607bf" 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 19:53.31 ---> using "6c756bd4383ad582d3c66743fb6db443386457b5da2d1d830e55458f094e6474" 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=unknown
# 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 19:53.31 ---> using "f111a76f0a4904d859ea7ce67e5f61c9d9a26c2caacde159d8ad8c88954bcfbb" 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 19:53.31 ---> using "05bc70f5a3877d15f33b6f29cda2215d988037ca298669f5ffbb20b4e97017d8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 19:53.36 ---> saved as "e4bbdfffa8fe0bb372daea5cbf73e1b8c91c9dde2e0958dabf9d7c660f848a3b"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [137 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [40.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-11-1404.45-F-2025-12-05-2006.06.pdiff [437 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-11-1404.45-F-2025-12-05-2006.06.pdiff [437 kB]
- Fetched 722 kB in 3s (228 kB/s)
- Reading package lists...
- 
2025-12-11 19:54.06 ---> saved as "188d80ef078c8672cae769b9b04a587865c02142ede9e043f3b3e3e9470515bb"

/home/opam: (run (shell "opam pin add -k version -yn bibfmt.0.9.0 0.9.0"))
bibfmt is now pinned to version 0.9.0
2025-12-11 19:54.08 ---> saved as "19b55c1bddf3d5ed0be0821d89a3ff665fe9d4077f08d154349d836550798e6c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall bibfmt.0.9.0;\
                        \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-testing\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'bibfmt.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
bibfmt.0.9.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
  - install bibfmt   0.9.0 (pinned)
  - install cmdliner 2.1.0          [required by bibfmt]
  - install dune     3.20.2         [required by bibfmt]
  - install re       1.14.0         [required by bibfmt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bibfmt.0.9.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved re.1.14.0  (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.20.2
-> installed re.1.14.0
-> installed bibfmt.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 19:54.59 ---> saved as "26a1a80f749dd39297b661a50702abfcca29a5898b00200ed0a4809fdacfe9c8"
Job succeeded
2025-12-11 19:55.36: Job succeeded