(for PR #29556)

2026-03-18 04:27.37: New job: build alcobar.0.3, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29556/head (446e4a3df0d605e197d04cd013cc3f97a00250c8)
                              on debian-13-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/29556/head" && git reset --hard 446e4a3d
git fetch origin master
git merge --no-edit 53dfac41ae8a3b6df7fe79433078607633cc3f4b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn alcobar.0.3 0.3
RUN opam depext alcobar.0.3 && opam reinstall alcobar.0.3; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'alcobar.0.3' && 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-18 04:27.37: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-alcobar.0.3-446e4a3df0d605e197d04cd013cc3f97a00250c8"
2026-03-18 04:27.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn alcobar.0.3 0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext alcobar.0.3 && opam reinstall alcobar.0.3;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'alcobar.0.3' && 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-18 04:27.37: Waiting for resource in pool OCluster
2026-03-18 04:27.38: Waiting for worker…
2026-03-18 04:27.40: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 53dfac41ae Merge pull request #29490 from tmattio/release-raven-1.0.0_alpha3
Updating 53dfac41ae..446e4a3df0
Fast-forward
 packages/alcobar/alcobar.0.3/opam | 52 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 packages/alcobar/alcobar.0.3/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-18 04:29.37 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-03-18 04:29.37 ---> saved as "41b749af2f977b0d27050ddb13db47406d94530853b7be39988044ee4e817c82"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-18 04:30.48 ---> saved as "a1ca45db8f90fe6efd21fd8d46b8f2a4cb5d1ef5bbb5d9aafbd920a9435d03ae"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.4
2026-03-18 04:30.49 ---> saved as "6c47ad3815293a4c6139e38cf4688714f95f13425af2434d0537277ff2a53c43"

/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-18 04:30.56 ---> saved as "3a172977adb40597910315b682600ca9e6438d170b899639afdd63ae01bff079"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-18 04:31.05 ---> saved as "0e1e1fac429e392a8a66fe55c48426b6dcf90f6c84d5e271fc923786d940c921"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-03-18 04:31.17 ---> saved as "b5cf0097b548aad0ad4a9ea59c7c4d8f3b0c4f344d1b98c9c7265fb076659092"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [115 kB]
Fetched 10.0 MB in 1s (7120 kB/s)
Reading package lists...
# OS package update successful
2026-03-18 04:31.20 ---> saved as "35b4a40d42ff70bd6d0671c0c6822e7d607e726d6c1702e57bee011c0f785137"

/home/opam: (run (shell "opam pin add -k version -yn alcobar.0.3 0.3"))
alcobar is now pinned to version 0.3
2026-03-18 04:31.21 ---> saved as "f3a92805c2928c6336d9cd0c741cfcb38b0336476c840af55bd0af814a491a43"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext alcobar.0.3 && opam reinstall alcobar.0.3;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'alcobar.0.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
alcobar.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install cmdliner       1.3.0  [required by alcobar]
  - install ocamlbuild     0.16.1 [required by fmt, astring, uuidm]
  - install ocamlfind      1.9.8  [required by fmt, astring, uuidm]
  - install dune           3.21.1 [required by alcobar]
  - install topkg          1.1.1  [required by fmt, astring, uuidm]
  - install stdlib-shims   0.3.0  [required by alcotest]
  - install re             1.14.0 [required by alcotest]
  - install afl-persistent 1.4    [required by alcobar]
  - install uuidm          0.9.10 [required by alcotest]
  - install fmt            0.11.0 [required by alcotest]
  - install astring        0.8.5  [required by alcotest]
  - install alcotest       1.0.1  [required by alcobar]
  - install alcobar        0.3*
===== 13 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[afl-persistent.1.4] found in cache
[alcobar.0.3] found in cache
[alcotest.1.0.1] found in cache
[astring.0.8.5] found in cache
[cmdliner.1.3.0] found in cache
[dune.3.21.1] found in cache
[fmt.0.11.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[re.1.14.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.1.1] found in cache
[uuidm.0.9.10] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uuidm.0.9.10
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.21.1
-> installed afl-persistent.1.4
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed alcotest.1.0.1
-> installed alcobar.0.3
Done.

<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, create an OCaml switch like:

     opam switch create 5.4.0+afl ocaml-variants.5.4.0+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2026-03-18 04:31.59 ---> saved as "341ae6494aaa41f50493f69ac3d6923703207d91e6c9370d760c9c5e5067298c"
Job succeeded
2026-03-18 04:32.08: Job succeeded